blob: e5d5408fdfe9ce3fc8f706f6ed156ad10422252d [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -07001<!--
Ian Maxond8857792015-09-11 14:19:53 -07002 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
Till Westmann276bbc22013-06-05 18:56:27 -070018 !-->
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -080019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
vinayakbe5add8a2012-10-06 19:00:14 +000021 <modelVersion>4.0.0</modelVersion>
Ian Maxone915e8c2015-07-01 17:03:31 -070022 <groupId>org.apache.hyracks</groupId>
Michael Blowc3dfd4b2017-01-17 17:19:49 -050023 <artifactId>apache-hyracks</artifactId>
Michael Blow23d990c2019-03-27 22:11:26 -040024 <version>0.3.4.2-SNAPSHOT</version>
vinayakbe5add8a2012-10-06 19:00:14 +000025 <packaging>pom</packaging>
buyingyi7f356c12012-10-07 00:23:17 +000026 <name>hyracks-ecosystem-full-stack</name>
Michael Blow38ca9622018-02-28 11:44:43 -050027 <url>${implementation.url}</url>
Michael Blowb4c1fb02016-05-09 15:41:00 -070028 <parent>
29 <groupId>org.apache</groupId>
30 <artifactId>apache</artifactId>
Michael Blowb99349d2016-11-08 19:38:02 -050031 <version>18</version>
Michael Blow380b0a22016-08-02 13:05:52 -040032 <relativePath />
Michael Blowb4c1fb02016-05-09 15:41:00 -070033 </parent>
Michael Blowb4c1fb02016-05-09 15:41:00 -070034 <licenses>
35 <license>
36 <name>Apache License, Version 2.0</name>
37 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
38 <distribution>repo</distribution>
39 <comments>A business-friendly OSS license</comments>
40 </license>
41 </licenses>
Ian Maxon4b228432017-01-16 13:35:16 -080042 <scm>
43 <connection>scm:git:https://github.com/apache/asterixdb</connection>
44 <developerConnection>scm:git:ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb</developerConnection>
45 <url>https://github.com/apache/asterixdb</url>
Ian Maxona3435a32017-01-18 18:31:30 -080046 <tag>HEAD</tag>
Ian Maxon4b228432017-01-16 13:35:16 -080047 </scm>
Michael Blowb4c1fb02016-05-09 15:41:00 -070048 <properties>
Ian Maxon3bb92132019-02-12 22:20:25 -080049 <root.dir>${basedir}</root.dir>
Michael Blowb4c1fb02016-05-09 15:41:00 -070050 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Blowdd920be2017-06-07 15:04:33 -040051 <file.encoding>UTF-8</file.encoding>
Michael Blowcedd9612018-07-25 13:25:02 -040052 <source.jdk.version>1.8</source.jdk.version>
Michael Blow2b057012017-12-07 22:20:39 -050053 <javac.xlint.value>all</javac.xlint.value>
Michael Blow380b0a22016-08-02 13:05:52 -040054 <jvm.extraargs />
Michael Blowb4c1fb02016-05-09 15:41:00 -070055 <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
Michael Blow4cd925c2018-01-20 17:15:38 -050056 <source-format.goal>format</source-format.goal>
Dmitry Lychagin249be532017-05-31 14:57:14 -070057 <source-format.skip>false</source-format.skip>
Ian Maxon3bb92132019-02-12 22:20:25 -080058 <maven.test.skip>false</maven.test.skip>
Michael Blowe30c9d32018-01-20 09:42:19 -050059 <skipTests>false</skipTests>
Michael Blowdd920be2017-06-07 15:04:33 -040060 <skip.surefire.tests>${skipTests}</skip.surefire.tests>
Michael Blow7626d162017-12-10 14:26:56 -050061 <skip.testResources>${maven.test.skip}</skip.testResources>
Michael Blow2530e392018-02-06 01:19:42 -050062 <testLog4jConfigFile>${root.dir}/src/test/resources/log4j2-hyracks-test.xml</testLog4jConfigFile>
Michael Blowb4c1fb02016-05-09 15:41:00 -070063 <!-- Definition of tests in various categories which may be excluded -->
Michael Blowb4c1fb02016-05-09 15:41:00 -070064 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
65 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
Michael Blow64d49fb2018-02-11 15:43:47 -050066 <global.test.excludes>**/Abstract*.java,${hivesterix.perf.tests}</global.test.excludes>
Michael Blowe30c9d32018-01-20 09:42:19 -050067 <test.includes>${global.test.includes}</test.includes>
68 <test.excludes>${global.test.excludes}</test.excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -070069 <!-- Versions under dependencymanagement or used in many projects via properties -->
Michael Blow7311b032018-10-04 17:17:35 -040070 <hadoop.version>2.8.5</hadoop.version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070071 <jacoco.version>0.7.6.201602180812</jacoco.version>
Michael Blowffc55562022-01-04 12:07:17 -050072 <log4j.version>2.17.1</log4j.version>
Michael Blow43c9fa02021-10-28 20:11:23 -040073 <snappy.version>1.1.8.4</snappy.version>
Michael Blowdf9422c2022-01-18 21:11:26 -050074 <jackson.version>2.13.1</jackson.version>
Michael Blow38ca9622018-02-28 11:44:43 -050075
Michael Blowcbfe8f92018-02-28 14:02:38 -050076 <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
Michael Blow38ca9622018-02-28 11:44:43 -050077 <implementation.url>https://asterixdb.apache.org/</implementation.url>
78 <implementation.version>${project.version}</implementation.version>
79 <implementation.vendor>${project.organization.name}</implementation.vendor>
Michael Blowb4c1fb02016-05-09 15:41:00 -070080 </properties>
81 <dependencyManagement>
82 <dependencies>
83 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080084 <groupId>io.netty</groupId>
Michael Blow43c9fa02021-10-28 20:11:23 -040085 <artifactId>netty-buffer</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -050086 <version>4.1.73.Final</version>
Michael Blow43c9fa02021-10-28 20:11:23 -040087 </dependency>
88 <dependency>
89 <groupId>io.netty</groupId>
90 <artifactId>netty-common</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -050091 <version>4.1.73.Final</version>
Michael Blow43c9fa02021-10-28 20:11:23 -040092 </dependency>
93 <dependency>
94 <groupId>io.netty</groupId>
95 <artifactId>netty-codec-http</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -050096 <version>4.1.73.Final</version>
Michael Blow43c9fa02021-10-28 20:11:23 -040097 </dependency>
98 <dependency>
99 <groupId>io.netty</groupId>
100 <artifactId>netty-transport</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500101 <version>4.1.73.Final</version>
Michael Blow43c9fa02021-10-28 20:11:23 -0400102 </dependency>
103 <dependency>
104 <groupId>io.netty</groupId>
105 <artifactId>netty-codec</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500106 <version>4.1.73.Final</version>
Michael Blow43c9fa02021-10-28 20:11:23 -0400107 </dependency>
108 <dependency>
109 <groupId>io.netty</groupId>
110 <artifactId>netty-handler</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500111 <version>4.1.73.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -0800112 </dependency>
113 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700114 <groupId>junit</groupId>
115 <artifactId>junit</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500116 <version>4.13.2</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700117 </dependency>
118 <dependency>
119 <groupId>org.apache.hadoop</groupId>
120 <artifactId>hadoop-yarn-client</artifactId>
121 <version>${hadoop.version}</version>
122 </dependency>
123 <dependency>
124 <groupId>org.apache.hadoop</groupId>
125 <artifactId>hadoop-client</artifactId>
126 <version>${hadoop.version}</version>
127 </dependency>
128 <dependency>
129 <groupId>org.apache.hadoop</groupId>
130 <artifactId>hadoop-common</artifactId>
131 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400132 <exclusions>
133 <exclusion>
134 <groupId>javax.servlet.jsp</groupId>
135 <artifactId>jsp-api</artifactId>
136 </exclusion>
137 <exclusion>
138 <groupId>javax.servlet</groupId>
139 <artifactId>servlet-api</artifactId>
140 </exclusion>
141 <exclusion>
142 <groupId>jdk.tools</groupId>
143 <artifactId>jdk.tools</artifactId>
144 </exclusion>
145 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700146 </dependency>
147 <dependency>
148 <groupId>org.apache.hadoop</groupId>
149 <artifactId>hadoop-hdfs</artifactId>
150 <version>${hadoop.version}</version>
151 </dependency>
152 <dependency>
153 <groupId>org.apache.hadoop</groupId>
154 <artifactId>hadoop-minicluster</artifactId>
155 <version>${hadoop.version}</version>
156 </dependency>
157 <dependency>
158 <groupId>org.apache.hadoop</groupId>
159 <artifactId>hadoop-mapreduce-client-core</artifactId>
160 <version>${hadoop.version}</version>
161 </dependency>
162 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400163 <groupId>org.apache.hadoop</groupId>
164 <artifactId>hadoop-hdfs</artifactId>
165 <version>${hadoop.version}</version>
166 <classifier>tests</classifier>
167 <scope>test</scope>
168 </dependency>
169 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700170 <groupId>commons-io</groupId>
171 <artifactId>commons-io</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500172 <version>2.11.0</version>
Michael Blow204b2952017-12-07 20:17:47 -0500173 </dependency>
174 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400175 <groupId>org.apache.commons</groupId>
176 <artifactId>commons-text</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400177 <version>1.9</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400178 </dependency>
179 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800180 <groupId>com.fasterxml.jackson.core</groupId>
181 <artifactId>jackson-databind</artifactId>
Michael Blow43c9fa02021-10-28 20:11:23 -0400182 <version>${jackson.version}</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800183 </dependency>
184 <dependency>
185 <groupId>com.fasterxml.jackson.core</groupId>
186 <artifactId>jackson-core</artifactId>
Michael Blow43c9fa02021-10-28 20:11:23 -0400187 <version>${jackson.version}</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800188 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500189 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500190 <groupId>com.fasterxml.jackson.core</groupId>
191 <artifactId>jackson-annotations</artifactId>
Michael Blow43c9fa02021-10-28 20:11:23 -0400192 <version>${jackson.version}</version>
Michael Blow204b2952017-12-07 20:17:47 -0500193 </dependency>
194 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500195 <groupId>com.google.guava</groupId>
196 <artifactId>guava</artifactId>
Michael Blow43c9fa02021-10-28 20:11:23 -0400197 <version>31.0.1-jre</version>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400198 <exclusions>
199 <exclusion>
200 <groupId>com.google.code.findbugs</groupId>
201 <artifactId>jsr305</artifactId>
202 </exclusion>
203 <exclusion>
204 <groupId>com.google.guava</groupId>
205 <artifactId>listenablefuture</artifactId>
206 </exclusion>
207 <exclusion>
208 <groupId>org.checkerframework</groupId>
209 <artifactId>checker-qual</artifactId>
210 </exclusion>
211 <exclusion>
212 <groupId>com.google.j2objc</groupId>
213 <artifactId>j2objc-annotations</artifactId>
214 </exclusion>
215 <exclusion>
216 <groupId>org.codehaus.mojo</groupId>
217 <artifactId>animal-sniffer-annotations</artifactId>
218 </exclusion>
219 </exclusions>
Michael Blow599ef8f2017-01-12 11:02:53 -0500220 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500221 <dependency>
222 <groupId>org.apache.commons</groupId>
223 <artifactId>commons-lang3</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400224 <version>3.12.0</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500225 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500226 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500227 <groupId>org.apache.commons</groupId>
228 <artifactId>commons-collections4</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500229 <version>4.4</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500230 </dependency>
231 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800232 <groupId>org.apache.httpcomponents</groupId>
233 <artifactId>httpcore</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500234 <version>4.4.15</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800235 </dependency>
236 <dependency>
237 <groupId>org.apache.httpcomponents</groupId>
238 <artifactId>httpclient</artifactId>
Michael Blow3a188522021-01-26 17:13:45 -0500239 <version>4.5.13</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800240 </dependency>
241 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500242 <groupId>org.apache.rat</groupId>
243 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500244 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500245 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500246 <dependency>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700247 <groupId>net.revelc.code.formatter</groupId>
248 <artifactId>formatter-maven-plugin</artifactId>
249 <version>2.0.1</version>
250 </dependency>
251 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500252 <groupId>args4j</groupId>
253 <artifactId>args4j</artifactId>
254 <version>2.33</version>
255 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300256 <dependency>
257 <groupId>org.apache.logging.log4j</groupId>
258 <artifactId>log4j-api</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400259 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300260 </dependency>
261 <dependency>
262 <groupId>org.apache.logging.log4j</groupId>
263 <artifactId>log4j-core</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400264 <version>${log4j.version}</version>
265 </dependency>
266 <dependency>
267 <groupId>org.apache.logging.log4j</groupId>
268 <artifactId>log4j-jul</artifactId>
269 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300270 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800271 <dependency>
272 <groupId>org.mockito</groupId>
273 <artifactId>mockito-all</artifactId>
274 <version>2.0.2-beta</version>
275 </dependency>
Michael Blow7311b032018-10-04 17:17:35 -0400276 <dependency>
277 <groupId>javax.xml.bind</groupId>
278 <artifactId>jaxb-api</artifactId>
279 <version>2.3.0</version>
280 </dependency>
Michael Blowb8df1c52019-11-08 14:15:42 -0500281 <dependency>
282 <groupId>org.apache.maven</groupId>
283 <artifactId>maven-project</artifactId>
284 <version>2.2.1</version>
285 </dependency>
Michael Blow9868a032020-03-05 21:16:35 -0500286 <dependency>
287 <groupId>org.apache.maven</groupId>
288 <artifactId>maven-model</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500289 <version>3.8.4</version>
Michael Blow9868a032020-03-05 21:16:35 -0500290 </dependency>
291 <dependency>
292 <groupId>org.apache.maven</groupId>
293 <artifactId>maven-artifact</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500294 <version>3.8.4</version>
Michael Blow9868a032020-03-05 21:16:35 -0500295 </dependency>
296 <dependency>
297 <groupId>org.apache.maven</groupId>
298 <artifactId>maven-compat</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500299 <version>3.8.4</version>
Michael Blow9868a032020-03-05 21:16:35 -0500300 </dependency>
301 <dependency>
302 <groupId>org.apache.maven</groupId>
303 <artifactId>maven-core</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500304 <version>3.8.4</version>
Michael Blow43c9fa02021-10-28 20:11:23 -0400305 </dependency>
Michael Blow9868a032020-03-05 21:16:35 -0500306 <dependency>
307 <groupId>org.apache.maven</groupId>
308 <artifactId>maven-plugin-api</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500309 <version>3.8.4</version>
Michael Blow43c9fa02021-10-28 20:11:23 -0400310 </dependency>
311 <dependency>
312 <groupId>it.unimi.dsi</groupId>
313 <artifactId>fastutil-core</artifactId>
314 <version>8.5.6</version>
315 </dependency>
316 <dependency>
317 <groupId>org.slf4j</groupId>
318 <artifactId>slf4j-simple</artifactId>
Michael Blowdf9422c2022-01-18 21:11:26 -0500319 <version>1.7.33</version>
Michael Blow43c9fa02021-10-28 20:11:23 -0400320 </dependency>
321 <dependency>
322 <groupId>org.apache.logging.log4j</groupId>
323 <artifactId>log4j-1.2-api</artifactId>
324 <version>${log4j.version}</version>
325 </dependency>
326 <dependency>
327 <groupId>org.mockito</groupId>
328 <artifactId>mockito-core</artifactId>
329 <version>3.10.0</version>
330 </dependency>
331 <dependency>
332 <groupId>org.powermock</groupId>
333 <artifactId>powermock-api-mockito2</artifactId>
334 <version>2.0.9</version>
335 </dependency>
336 <dependency>
337 <groupId>org.powermock</groupId>
338 <artifactId>powermock-module-junit4</artifactId>
339 <version>2.0.9</version>
340 </dependency>
341 <dependency>
342 <groupId>org.powermock</groupId>
343 <artifactId>powermock-core</artifactId>
344 <version>2.0.9</version>
345 </dependency>
346 <dependency>
347 <groupId>org.xerial.snappy</groupId>
348 <artifactId>snappy-java</artifactId>
349 <version>${snappy.version}</version>
Michael Blow9868a032020-03-05 21:16:35 -0500350 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700351 </dependencies>
352 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000353 <build>
354 <plugins>
355 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400356 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500357 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500358 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500359 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500360 <exclude>**/DEPENDENCIES</exclude>
361 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500362 <archive>
363 <manifest>
364 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
365 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
366 </manifest>
367 <manifestEntries>
368 <Implementation-Title>${implementation.title}</Implementation-Title>
369 <Implementation-URL>${implementation.url}</Implementation-URL>
370 <Implementation-Version>${implementation.version}</Implementation-Version>
371 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
372 </manifestEntries>
373 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500374 </configuration>
375 </plugin>
376 <plugin>
377 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400378 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400379 <configuration>
380 <failOnWarning>true</failOnWarning>
381 <outputXML>true</outputXML>
382 </configuration>
383 <executions>
384 <execution>
385 <phase>process-test-classes</phase>
386 <goals>
387 <goal>analyze-only</goal>
388 </goals>
389 </execution>
390 </executions>
391 </plugin>
392 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700393 <groupId>org.apache.rat</groupId>
394 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700395 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700396 <execution>
397 <phase>validate</phase>
398 <goals>
399 <goal>check</goal>
400 </goals>
401 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700402 </executions>
403 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500404 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
405 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700406 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800407 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700408 </licenses>
409 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800410 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700411 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500412 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400413 <excludes combine.children="append">
414 <exclude>**/*.iml</exclude>
415 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700416 </configuration>
417 </plugin>
418 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700419 <groupId>org.apache.maven.plugins</groupId>
420 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700421 <configuration>
422 <failIfNoTests>false</failIfNoTests>
423 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800424 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800425 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300426 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700427 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300428 <systemPropertyVariables>
429 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
430 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700431 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500432 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700433 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500434 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500435 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800436 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400437 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700438 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700439 </plugin>
440 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700441 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300442 <artifactId>maven-failsafe-plugin</artifactId>
443 <configuration>
444 <systemPropertyVariables>
445 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
446 </systemPropertyVariables>
447 </configuration>
448 </plugin>
449 <plugin>
450 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700451 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700452 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400453 <source>${source.jdk.version}</source>
454 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500455 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700456 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000457 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700458 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700459 <groupId>org.apache.maven.plugins</groupId>
460 <artifactId>maven-remote-resources-plugin</artifactId>
461 <executions>
462 <execution>
463 <goals>
464 <goal>process</goal>
465 </goals>
466 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500467 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700468 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700469 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500470 <properties>
471 <projectName>Apache Hyracks - ${project.name}</projectName>
472 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700473 </configuration>
474 </execution>
475 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800476 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400477 <plugin>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-checkstyle-plugin</artifactId>
480 <version>2.17</version>
481 <executions>
482 <execution>
483 <id>verify-style</id>
484 <phase>process-classes</phase>
485 <goals>
486 <goal>check</goal>
487 </goals>
488 </execution>
489 </executions>
490 <configuration>
491 <logViolationsToConsole>true</logViolationsToConsole>
492 <checkstyleRules>
493 <module name="Checker">
494 <!-- Checks for whitespace -->
495 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400496 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400497 </module>
498 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400499 <includes>**/*.java,**/*.jj</includes>
500 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400501 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
502 </configuration>
503 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400504 <plugin>
505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400507 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400508 <executions>
509 <execution>
510 <id>enforce-versions</id>
511 <goals>
512 <goal>enforce</goal>
513 </goals>
514 <configuration>
515 <rules>
516 <requireMavenVersion>
517 <version>[3.3.9,)</version>
518 </requireMavenVersion>
519 </rules>
520 </configuration>
521 </execution>
522 </executions>
523 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500524 <plugin>
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-resources-plugin</artifactId>
527 <executions>
528 <execution>
529 <id>default-testResources</id>
530 <goals>
531 <goal>testResources</goal>
532 </goals>
533 <configuration>
534 <skip>${skip.testResources}</skip>
535 </configuration>
536 </execution>
537 </executions>
538 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500539 <plugin>
540 <groupId>net.revelc.code.formatter</groupId>
541 <artifactId>formatter-maven-plugin</artifactId>
542 <executions>
543 <execution>
544 <goals>
545 <goal>${source-format.goal}</goal>
546 </goals>
547 </execution>
548 </executions>
549 <configuration>
550 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
551 <skipFormatting>${source-format.skip}</skipFormatting>
552 </configuration>
553 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000554 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700555 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700556 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500557 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800558 <groupId>org.apache.maven.plugins</groupId>
559 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow7311b032018-10-04 17:17:35 -0400560 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800561 </plugin>
562 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500563 <groupId>org.apache.rat</groupId>
564 <artifactId>apache-rat-plugin</artifactId>
565 <version>0.12</version>
566 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700567 <plugin>
568 <groupId>net.revelc.code.formatter</groupId>
569 <artifactId>formatter-maven-plugin</artifactId>
570 <version>2.0.1</version>
571 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700572 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
573 <plugin>
574 <groupId>org.eclipse.m2e</groupId>
575 <artifactId>lifecycle-mapping</artifactId>
576 <version>1.0.0</version>
577 <configuration>
578 <lifecycleMappingMetadata>
579 <pluginExecutions>
580 <pluginExecution>
581 <pluginExecutionFilter>
582 <groupId>org.apache.rat</groupId>
583 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400584 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700585 <goals>
586 <goal>check</goal>
587 </goals>
588 </pluginExecutionFilter>
589 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400590 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700591 </action>
592 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400593 <pluginExecution>
594 <pluginExecutionFilter>
595 <groupId>org.apache.maven.plugins</groupId>
596 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400597 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400598 <goals>
599 <goal>check</goal>
600 </goals>
601 </pluginExecutionFilter>
602 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400603 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400604 </action>
605 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700606 <pluginExecution>
607 <pluginExecutionFilter>
608 <groupId>org.apache.maven.plugins</groupId>
609 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400610 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700611 <goals>
612 <goal>analyze-only</goal>
613 </goals>
614 </pluginExecutionFilter>
615 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800616 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700617 </action>
618 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800619 <pluginExecution>
620 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800621 <groupId>net.revelc.code.formatter</groupId>
622 <artifactId>formatter-maven-plugin</artifactId>
623 <versionRange>[2.0.1,)</versionRange>
624 <goals>
625 <goal>format</goal>
626 </goals>
627 </pluginExecutionFilter>
628 <action>
629 <ignore></ignore>
630 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800631 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700632 </pluginExecutions>
633 </lifecycleMappingMetadata>
634 </configuration>
635 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800636 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500637 <groupId>org.codehaus.mojo</groupId>
638 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400639 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800640 </plugin>
641 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-scm-plugin</artifactId>
644 <version>1.9.5</version>
645 </plugin>
646 <plugin>
647 <groupId>org.codehaus.mojo</groupId>
648 <artifactId>appassembler-maven-plugin</artifactId>
649 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800650 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400651 <plugin>
652 <groupId>org.apache.maven.plugins</groupId>
653 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400654 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400655 </plugin>
656 <plugin>
657 <groupId>org.apache.maven.plugins</groupId>
658 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400659 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400660 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400661 <plugin>
662 <groupId>org.apache.hyracks</groupId>
663 <artifactId>license-automation-plugin</artifactId>
664 <version>${project.version}</version>
665 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400666 <plugin>
667 <groupId>org.apache.maven.plugins</groupId>
668 <artifactId>maven-assembly-plugin</artifactId>
669 <version>3.1.0</version>
670 </plugin>
671 <plugin>
672 <groupId>org.apache.maven.plugins</groupId>
673 <artifactId>maven-antrun-plugin</artifactId>
674 <version>1.8</version>
675 </plugin>
676 <plugin>
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-clean-plugin</artifactId>
679 <version>3.0.0</version>
680 </plugin>
681 <plugin>
682 <groupId>org.apache.maven.plugins</groupId>
683 <artifactId>maven-jar-plugin</artifactId>
684 <version>3.0.2</version>
685 </plugin>
686 <plugin>
687 <groupId>org.codehaus.mojo</groupId>
688 <artifactId>build-helper-maven-plugin</artifactId>
689 <version>3.0.0</version>
690 </plugin>
691 <plugin>
692 <groupId>org.apache.maven.plugins</groupId>
693 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400694 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400695 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400696 <plugin>
697 <groupId>org.apache.maven.doxia</groupId>
698 <artifactId>doxia-maven-plugin</artifactId>
699 <version>1.1.4</version>
700 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700701 </plugins>
702 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000703 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800704 <profiles>
705 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400706 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700707 <activation>
708 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400709 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700710 </file>
711 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400712 <properties>
713 <skip.assembly>true</skip.assembly>
714 </properties>
715 </profile>
716 <profile>
717 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700718 <build>
719 <plugins>
720 <plugin>
721 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500722 <artifactId>maven-jar-plugin</artifactId>
723 <configuration>
724 <archive>
725 <manifest>
726 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
727 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
728 </manifest>
729 </archive>
730 </configuration>
731 </plugin>
732 <plugin>
733 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700734 <artifactId>maven-assembly-plugin</artifactId>
735 <!-- We override the configuration plugin to override the descriptor to use for building
736 the source release zip. Specifically, we would like to control the inclusions/exclusions.
737 For example, we exclude the KEYS file from the zip -->
738 <executions>
739 <execution>
740 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
741 the apache parent POM under the apache-release profile -->
742 <id>source-release-assembly</id>
743 <phase>package</phase>
744 <goals>
745 <goal>single</goal>
746 </goals>
747 <!-- combine.self should be override to replace the configuration in the parent POM -->
748 <configuration combine.self="override">
749 <descriptors>
750 <descriptor>src/main/assembly/source.xml</descriptor>
751 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400752 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700753 </configuration>
754 </execution>
755 </executions>
756 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700757 <plugin>
758 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800759 <artifactId>maven-gpg-plugin</artifactId>
760 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700761 <executions>
762 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800763 <id>sign-artifacts</id>
764 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700765 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800766 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700767 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700768 </execution>
769 </executions>
770 </plugin>
771 </plugins>
772 </build>
773 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700774 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400775 <id>coverage</id>
776 <activation>
777 <property>
778 <name>coverage</name>
779 </property>
780 </activation>
781 <build>
782 <plugins>
783 <plugin>
784 <groupId>org.jacoco</groupId>
785 <artifactId>jacoco-maven-plugin</artifactId>
786 <version>${jacoco.version}</version>
787 <executions>
788 <execution>
789 <id>default-prepare-agent</id>
790 <goals>
791 <goal>prepare-agent</goal>
792 </goals>
793 <configuration>
794 <propertyName>coverageArgLine</propertyName>
795 </configuration>
796 </execution>
797 <execution>
798 <id>default-prepare-agent-integration</id>
799 <goals>
800 <goal>prepare-agent-integration</goal>
801 </goals>
802 <configuration>
803 <propertyName>coverageArgLine</propertyName>
804 </configuration>
805 </execution>
806 </executions>
807 </plugin>
808 </plugins>
809 </build>
810 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400811 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400812 </properties>
813 </profile>
814 <profile>
815 <id>no-coverage</id>
816 <activation>
817 <property>
818 <name>!coverage</name>
819 </property>
820 </activation>
821 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400822 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400823 </properties>
824 </profile>
825 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500826 <id>integration-tests-only</id>
827 <properties>
828 <test.includes/>
829 <failIfNoTests>false</failIfNoTests>
830 </properties>
831 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400832 <profile>
833 <id>java8</id>
834 <activation>
835 <jdk>1.8</jdk>
836 </activation>
837 <properties>
838 <target.jdk.version>8</target.jdk.version>
839 </properties>
840 </profile>
841 <profile>
842 <id>java9</id>
843 <activation>
844 <jdk>9</jdk>
845 </activation>
846 <properties>
847 <target.jdk.version>9</target.jdk.version>
848 </properties>
849 </profile>
850 <profile>
851 <id>java10</id>
852 <activation>
853 <jdk>10</jdk>
854 </activation>
855 <properties>
856 <target.jdk.version>10</target.jdk.version>
857 </properties>
858 </profile>
859 <profile>
860 <id>java11</id>
861 <activation>
862 <jdk>11</jdk>
863 </activation>
864 <properties>
Michael Blow7311b032018-10-04 17:17:35 -0400865 <!-- several plugins do not yet support Java 11 classes (maven-plugin-plugin, maven-dependency-plugin) -->
866 <target.jdk.version>10</target.jdk.version>
Michael Blowcedd9612018-07-25 13:25:02 -0400867 </properties>
868 </profile>
869 <profile>
870 <id>java8-bootclasspath</id>
871 <activation>
872 <property>
873 <name>java8-bootclasspath</name>
874 </property>
875 </activation>
876 <properties>
877 <target.jdk.version>8</target.jdk.version>
878 </properties>
879 <build>
880 <plugins>
881 <plugin>
882 <groupId>org.apache.maven.plugins</groupId>
883 <artifactId>maven-compiler-plugin</artifactId>
884 <configuration>
885 <compilerArgs combine.children="append">
886 <arg>-bootclasspath</arg>
887 <arg>${java8-bootclasspath}</arg>
888 </compilerArgs>
889 </configuration>
890 </plugin>
891 </plugins>
892 </build>
893 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800894 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000895 <modules>
896 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000897 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500898 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000899 </modules>
Michael Blowbd7ba452018-10-31 15:08:26 -0400900</project>