This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 327
/
pom.xml
319 lines (273 loc) · 15.9 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hawq</groupId>
<artifactId>hawq</artifactId>
<version>3.1</version>
<packaging>pom</packaging>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.12</version>
<configuration>
<consoleOutput>true</consoleOutput>
<excludes>
<!-- stream benchmark under BSD-like license with a few
exceptions around benchmarking results -->
<exclude>tools/bin/src/stream/*</exclude>
<!-- PyGreSQL an open-source Python module that
interfaces to a PostgreSQL database under the
Python Software Foundation License -->
<exclude>tools/bin/pythonSrc/PyGreSQL-4.0/**</exclude>
<!-- Open-source Python modules with MIT license -->
<exclude>tools/bin/pythonSrc/lockfile-0.9.1/**</exclude>
<exclude>tools/bin/pythonSrc/PSI-0.3b2_gp/**</exclude>
<exclude>tools/bin/ext/simplejson/**</exclude>
<exclude>tools/bin/ext/yaml/**</exclude>
<!-- CMake BSD 3-clause license -->
<exclude>depends/libhdfs3/CMake/**</exclude>
<exclude>depends/libyarn/CMake/**</exclude>
<!-- Open-source Python modules with BSD license -->
<exclude>tools/bin/pythonSrc/pychecker-0.8.18/**</exclude>
<exclude>tools/bin/pythonSrc/unittest2-0.5.1/**</exclude>
<exclude>tools/bin/ext/figleaf/**</exclude>
<exclude>tools/bin/ext/pg8000/**</exclude>
<!-- BZIP2 license (4 clause BSD) -->
<exclude>src/include/port/win32_msvc/bzlib.h</exclude>
<!-- Google license (3 clause BSD) -->
<exclude>depends/thirdparty/googletest/**</exclude>
<!-- Oraface Project BSD license
https://github.com/orafce -->
<exclude>contrib/orafce/*</exclude>
<!-- Pexpect a Python module for spawning child
applications and controlling them automatically,
BSD license -->
<exclude>tools/bin/lib/pexpect.py</exclude>
<!-- Open-source Python modules with ISC license -->
<exclude>tools/bin/pythonSrc/pexpect-4.2/**</exclude>
<exclude>tools/bin/pythonSrc/ptyprocess-0.5.1/**</exclude>
<!-- These files came from PostgreSQL but they don't
have markers to identify that -->
<exclude>src/bin/gpfdist/src/gpfdist/glob.c</exclude>
<exclude>src/bin/gpfdist/src/gpfdist/include/glob.h</exclude>
<exclude>src/include/port/win32_msvc/glob.h</exclude>
<exclude>aclocal.m4</exclude>
<exclude>GNUmakefile.in</exclude>
<exclude>configure.in</exclude>
<exclude>configure</exclude>
<exclude>Makefile</exclude>
<exclude>config/*</exclude> <!-- This one is tricky since it is actually GPL -->
<exclude>src/makefiles/*</exclude>
<exclude>src/DEVELOPERS</exclude>
<exclude>src/backend/catalog/Makefile</exclude>
<exclude>src/backend/port/beos/*.c</exclude>
<exclude>src/backend/port/tas/*.s</exclude>
<exclude>src/backend/regex/re_syntax.n</exclude>
<exclude>src/backend/utils/mb/conversion_procs/regress_epilogue</exclude>
<exclude>src/backend/utils/mb/conversion_procs/regress_prolog</exclude>
<exclude>src/backend/utils/mb/Unicode/ISO10646-GB18030.TXT</exclude>
<exclude>src/backend/utils/misc/check_guc</exclude>
<exclude>src/backend/port/hpux/tas.c.template</exclude>
<exclude>src/backend/utils/mb/conversion_procs/proc.mk</exclude>
<exclude>src/include/pg_config.h.win32</exclude>
<exclude>src/bin/scripts/common.h</exclude>
<exclude>src/include/pg_config.h.in</exclude>
<exclude>src/bin/initdb/*</exclude>
<exclude>src/bin/initlocation/*</exclude>
<exclude>src/bin/ipcclean/*</exclude>
<exclude>src/bin/pg_*/**/*</exclude>
<exclude>src/bin/psql/**/*</exclude>
<exclude>src/bin/scripts/*.c</exclude>
<exclude>src/interfaces/**/*</exclude>
<exclude>src/tools/**/*</exclude>
<exclude>src/tutorial/*</exclude>
<exclude>src/pl/**/*</exclude>
<exclude>src/port/*</exclude>
<exclude>src/template/*</exclude>
<!-- src/test/bench -->
<exclude>src/test/bench/query*</exclude>
<!-- PostgreSQL src/test/regress -->
<exclude>src/test/regress/**/*.in</exclude>
<exclude>src/test/regress/**/*.mdp</exclude>
<exclude>src/test/regress/**/*.xml</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_3chars_line_delimiter.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_big.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_no_line_delimiter.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_out.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_blankfields.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_blankfields_and_nulls.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_correct.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_fieldtoolong.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_fieldtype.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_rejectlimitcrossed.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_rejectlimitnotcrossed.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_toofewfields.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_toomanyfields.tbl</exclude>
<exclude>src/test/regress/data/fixedwidth/fixedwidth_small_nulldefined.tbl</exclude>
<exclude>src/test/regress/data/nation.tbl</exclude>
<exclude>src/test/regress/data/nation_error50.tbl</exclude>
<exclude>src/test/regress/data/region.tbl</exclude>
<exclude>src/test/regress/expected_statuses</exclude>
<!-- src/test/feature -->
<exclude>src/test/feature/ExternalSource/data/nation.tbl</exclude>
<exclude>src/test/feature/ExternalSource/data/nation_error50.tbl</exclude>
<exclude>src/test/feature/ExternalSource/data/region.tbl</exclude>
<exclude>src/test/feature/ManagementTool/test_hawq_register_hawq.paq</exclude>
<exclude>src/test/feature/ManagementTool/test_hawq_register_hive.paq</exclude>
<exclude>src/test/feature/ManagementTool/data/parquet200/dat.paq</exclude>
<exclude>src/test/feature/ManagementTool/data/parquet200sum/a.paq</exclude>
<exclude>src/test/feature/ManagementTool/data/parquet200sum/b.paq</exclude>
<exclude>src/test/feature/ManagementTool/test_hawq_register_data_types.paq</exclude>
<exclude>src/test/feature/ManagementTool/test_hawq_register_not_paq</exclude>
<exclude>src/test/feature/ManagementTool/test_hawq_register_null.paq</exclude>
<exclude>src/test/feature/ManagementTool/usage2case2/10</exclude>
<exclude>src/test/feature/ManagementTool/usage2case2/11</exclude>
<exclude>src/test/feature/ManagementTool/usage2case2/12</exclude>
<exclude>src/test/feature/ManagementTool/usage2case2/13</exclude>
<exclude>src/test/feature/ManagementTool/usage2case2/8</exclude>
<exclude>src/test/feature/ManagementTool/usage2case2/9</exclude>
<exclude>src/test/feature/UDF/ans/function_basics.ans.orca</exclude>
<exclude>src/test/feature/UDF/ans/function_basics.ans.planner</exclude>
<exclude>src/test/feature/UDF/ans/function_basics.ranger.ans.orca</exclude>
<exclude>src/test/feature/UDF/ans/function_basics.ranger.ans.planner</exclude>
<exclude>src/test/locale/**/Makefile</exclude>
<exclude>src/test/locale/**/runall</exclude>
<exclude>src/test/locale/de_DE.ISO8859-1/test-de-select.sql.in</exclude>
<exclude>src/test/locale/de_DE.ISO8859-1/test-de-sort.in</exclude>
<exclude>src/test/locale/de_DE.ISO8859-1/test-de-upper.sql.in</exclude>
<exclude>src/test/locale/de_DE.ISO8859-1/test-de.sql.in</exclude>
<exclude>src/test/locale/gr_GR.ISO8859-7/test-gr-select.sql.in</exclude>
<exclude>src/test/locale/gr_GR.ISO8859-7/test-gr-sort.in</exclude>
<exclude>src/test/locale/gr_GR.ISO8859-7/test-gr.sql.in</exclude>
<exclude>src/test/locale/koi8-r/test-koi8-select.sql.in</exclude>
<exclude>src/test/locale/koi8-r/test-koi8-sort.in</exclude>
<exclude>src/test/locale/koi8-r/test-koi8.sql.in</exclude>
<exclude>src/test/locale/koi8-to-win1251/test-koi8-select.sql.in</exclude>
<exclude>src/test/locale/koi8-to-win1251/test-koi8-sort.in</exclude>
<exclude>src/test/locale/koi8-to-win1251/test-koi8.sql.in</exclude>
<!-- src/test/performance test files -->
<exclude>src/test/performance/results/PgSQL.970926</exclude>
<exclude>src/test/performance/sqls/connection</exclude>
<exclude>src/test/performance/sqls/crtsimple</exclude>
<exclude>src/test/performance/sqls/crtsimpleidx</exclude>
<exclude>src/test/performance/sqls/drpsimple</exclude>
<exclude>src/test/performance/sqls/orbsimple</exclude>
<exclude>src/test/performance/sqls/slcsimple</exclude>
<exclude>src/test/performance/sqls/vacuum</exclude>
<exclude>src/test/regress/resultmap</exclude>
<exclude>src/timezone/**/*</exclude>
<exclude>doc/src/sgml/fixrtf</exclude>
<exclude>doc/**/*.sgml</exclude>
<exclude>contrib/pgcrypto/*</exclude>
<!-- Files which are not easy to have license headers. -->
<exclude>depends/libhdfs3/test/data/*</exclude>
<exclude>depends/libhdfs3/debian/**</exclude>
<!-- Following files are licensed to ASF via the initial HAWQ SGA,
however it is tricky to maintain headers in them -->
<exclude>depends/libyarn/test/data/*</exclude>
<exclude>contrib/hawq-hadoop/hawq-mapreduce-common/src/test/resources/**/*.yaml</exclude>
<exclude>contrib/hawq-hadoop/hawq-mapreduce-tool/test-data/**/*.yaml</exclude>
<exclude>contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/resources/dataset</exclude>
<exclude>contrib/hawq-ambari-plugin/build.properties</exclude>
<exclude>contrib/hawq-ambari-plugin/README.md</exclude>
<exclude>src/backend/access/index/caql.files</exclude>
<exclude>src/backend/gpopt/library.ver</exclude>
<exclude>src/backend/utils/misc/etc/slaves</exclude>
<exclude>tools/bin/.rcfile</exclude>
<exclude>tools/bin/postgresql_conf_gp_additions</exclude>
<exclude>tools/doc/**/*</exclude>
<exclude>tools/demo/gpfdist_transform/*.yaml</exclude>
<exclude>tools/bin/gppylib/operations/madlib_depcheck/changelist.yaml</exclude>
<!-- Finally we exclude a few file types (based on
extension) for which comments are tough to
maintain. Note that this is a combination of files
licensed to ASF and files that came from PostgreSQL
and other projects (under compatible licenses).
You may need to engage in software archaeology to
find out the origins of these.
-->
<exclude>.git/**</exclude>
<exclude>**/*.md</exclude>
<exclude>**/*.md5</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.ans</exclude>
<exclude>**/*.sql</exclude>
<exclude>**/*.out</exclude>
<exclude>**/*.po</exclude>
<exclude>**/*.map</exclude>
<exclude>**/*.stderr</exclude>
<exclude>**/*.stdout</exclude>
<exclude>**/*.source</exclude>
<exclude>**/*.txt</exclude>
<exclude>**/*.data</exclude>
<exclude>**/*.csv</exclude>
<exclude>**/*.pm</exclude>
<exclude>**/*.1</exclude>
<exclude>**/*.sample</exclude>
<exclude>**/*.pgc</exclude>
<exclude>**/*.cnf</exclude>
<exclude>**/*.stx</exclude>
<exclude>**/*.gdb</exclude>
<exclude>**/*.patch</exclude>
<exclude>**/*.commit</exclude>
<exclude>**/__init__.py</exclude>
<exclude>**/*README*</exclude>
</excludes>
<licenses>
<license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
<licenseFamilyName>PostgreSQL License</licenseFamilyName>
<licenseFamilyCategory>PGSQL</licenseFamilyCategory>
<patterns>
<pattern>$PostgreSQL:</pattern>
<pattern>PostgreSQL Global Development Group</pattern>
</patterns>
</license>
</licenses>
<licenseFamilies>
<licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
<familyName>PostgreSQL License</familyName>
</licenseFamily>
<licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
<familyName>Apache License Version 2.0</familyName>
</licenseFamily>
</licenseFamilies>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.12</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>