blob: aabf956651ebc85760adeec40c28a2a1195b60e6 [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>
Ian Maxonc95de7a2020-08-07 11:58:39 -070024 <version>0.3.6-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>
Michael Blowef85fb02019-03-22 13:40:35 -040058 <import-sort.goal>sort</import-sort.goal>
59 <import-sort.skip>false</import-sort.skip>
Ian Maxon3bb92132019-02-12 22:20:25 -080060 <maven.test.skip>false</maven.test.skip>
Michael Blowe30c9d32018-01-20 09:42:19 -050061 <skipTests>false</skipTests>
Michael Blowdd920be2017-06-07 15:04:33 -040062 <skip.surefire.tests>${skipTests}</skip.surefire.tests>
Michael Blow7626d162017-12-10 14:26:56 -050063 <skip.testResources>${maven.test.skip}</skip.testResources>
Michael Blow2530e392018-02-06 01:19:42 -050064 <testLog4jConfigFile>${root.dir}/src/test/resources/log4j2-hyracks-test.xml</testLog4jConfigFile>
Michael Blowb4c1fb02016-05-09 15:41:00 -070065 <!-- Definition of tests in various categories which may be excluded -->
Michael Blowb4c1fb02016-05-09 15:41:00 -070066 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
67 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
Michael Blow64d49fb2018-02-11 15:43:47 -050068 <global.test.excludes>**/Abstract*.java,${hivesterix.perf.tests}</global.test.excludes>
Michael Blowe30c9d32018-01-20 09:42:19 -050069 <test.includes>${global.test.includes}</test.includes>
70 <test.excludes>${global.test.excludes}</test.excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -070071 <!-- Versions under dependencymanagement or used in many projects via properties -->
Michael Blow3477a2b2018-10-04 17:17:35 -040072 <hadoop.version>2.8.5</hadoop.version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070073 <jacoco.version>0.7.6.201602180812</jacoco.version>
Michael Blow2d5bd952020-06-13 12:51:06 -040074 <log4j.version>2.13.3</log4j.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>
85 <artifactId>netty-all</artifactId>
Michael Blow4bf70482020-04-08 12:58:40 -040086 <version>4.1.48.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -080087 </dependency>
88 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070089 <groupId>junit</groupId>
90 <artifactId>junit</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -050091 <version>4.13</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070092 </dependency>
93 <dependency>
94 <groupId>org.apache.hadoop</groupId>
95 <artifactId>hadoop-yarn-client</artifactId>
96 <version>${hadoop.version}</version>
97 </dependency>
98 <dependency>
99 <groupId>org.apache.hadoop</groupId>
100 <artifactId>hadoop-client</artifactId>
101 <version>${hadoop.version}</version>
102 </dependency>
103 <dependency>
104 <groupId>org.apache.hadoop</groupId>
105 <artifactId>hadoop-common</artifactId>
106 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400107 <exclusions>
108 <exclusion>
109 <groupId>javax.servlet.jsp</groupId>
110 <artifactId>jsp-api</artifactId>
111 </exclusion>
112 <exclusion>
113 <groupId>javax.servlet</groupId>
114 <artifactId>servlet-api</artifactId>
115 </exclusion>
116 <exclusion>
117 <groupId>jdk.tools</groupId>
118 <artifactId>jdk.tools</artifactId>
119 </exclusion>
Ian Maxon4a20fb22020-06-08 17:23:07 -0700120 <exclusion>
121 <groupId>log4j</groupId>
122 <artifactId>log4j</artifactId>
123 </exclusion>
Michael Blowaebe2c52018-06-10 14:18:53 -0400124 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700125 </dependency>
126 <dependency>
127 <groupId>org.apache.hadoop</groupId>
128 <artifactId>hadoop-hdfs</artifactId>
129 <version>${hadoop.version}</version>
Ian Maxon4a20fb22020-06-08 17:23:07 -0700130 <exclusions>
131 <exclusion>
132 <groupId>log4j</groupId>
133 <artifactId>log4j</artifactId>
134 </exclusion>
135 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700136 </dependency>
137 <dependency>
138 <groupId>org.apache.hadoop</groupId>
139 <artifactId>hadoop-minicluster</artifactId>
140 <version>${hadoop.version}</version>
Ian Maxon4a20fb22020-06-08 17:23:07 -0700141 <exclusions>
142 <exclusion>
143 <groupId>log4j</groupId>
144 <artifactId>log4j</artifactId>
145 </exclusion>
146 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700147 </dependency>
148 <dependency>
149 <groupId>org.apache.hadoop</groupId>
150 <artifactId>hadoop-mapreduce-client-core</artifactId>
151 <version>${hadoop.version}</version>
152 </dependency>
153 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400154 <groupId>org.apache.hadoop</groupId>
155 <artifactId>hadoop-hdfs</artifactId>
156 <version>${hadoop.version}</version>
157 <classifier>tests</classifier>
158 <scope>test</scope>
Ian Maxon4a20fb22020-06-08 17:23:07 -0700159 <exclusions>
160 <exclusion>
161 <groupId>log4j</groupId>
162 <artifactId>log4j</artifactId>
163 </exclusion>
164 </exclusions>
Michael Blowba358122016-10-13 19:56:03 -0400165 </dependency>
166 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700167 <groupId>commons-io</groupId>
168 <artifactId>commons-io</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500169 <version>2.6</version>
170 </dependency>
171 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400172 <groupId>org.apache.commons</groupId>
173 <artifactId>commons-text</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500174 <version>1.8</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400175 </dependency>
176 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800177 <groupId>com.fasterxml.jackson.core</groupId>
178 <artifactId>jackson-databind</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500179 <version>2.10.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800180 </dependency>
181 <dependency>
182 <groupId>com.fasterxml.jackson.core</groupId>
183 <artifactId>jackson-core</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500184 <version>2.10.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800185 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500186 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500187 <groupId>com.fasterxml.jackson.core</groupId>
188 <artifactId>jackson-annotations</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500189 <version>2.10.3</version>
Michael Blow204b2952017-12-07 20:17:47 -0500190 </dependency>
191 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500192 <groupId>com.google.guava</groupId>
193 <artifactId>guava</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500194 <version>28.2-jre</version>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400195 <exclusions>
196 <exclusion>
197 <groupId>com.google.code.findbugs</groupId>
198 <artifactId>jsr305</artifactId>
199 </exclusion>
200 <exclusion>
201 <groupId>com.google.guava</groupId>
202 <artifactId>listenablefuture</artifactId>
203 </exclusion>
204 <exclusion>
205 <groupId>org.checkerframework</groupId>
206 <artifactId>checker-qual</artifactId>
207 </exclusion>
208 <exclusion>
209 <groupId>com.google.j2objc</groupId>
210 <artifactId>j2objc-annotations</artifactId>
211 </exclusion>
212 <exclusion>
213 <groupId>org.codehaus.mojo</groupId>
214 <artifactId>animal-sniffer-annotations</artifactId>
215 </exclusion>
216 </exclusions>
Michael Blow599ef8f2017-01-12 11:02:53 -0500217 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500218 <dependency>
219 <groupId>org.apache.commons</groupId>
220 <artifactId>commons-lang3</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500221 <version>3.9</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500222 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500223 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500224 <groupId>org.apache.commons</groupId>
225 <artifactId>commons-collections4</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500226 <version>4.4</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500227 </dependency>
228 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800229 <groupId>org.apache.httpcomponents</groupId>
230 <artifactId>httpcore</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500231 <version>4.4.13</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800232 </dependency>
233 <dependency>
234 <groupId>org.apache.httpcomponents</groupId>
235 <artifactId>httpclient</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500236 <version>4.5.11</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800237 </dependency>
238 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500239 <groupId>org.apache.rat</groupId>
240 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500241 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500242 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500243 <dependency>
Till Westmann192478b2019-03-01 10:45:25 -0800244 <groupId>org.ini4j</groupId>
245 <artifactId>ini4j</artifactId>
246 <version>0.5.4</version>
247 </dependency>
248 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500249 <groupId>args4j</groupId>
250 <artifactId>args4j</artifactId>
251 <version>2.33</version>
252 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300253 <dependency>
254 <groupId>org.apache.logging.log4j</groupId>
255 <artifactId>log4j-api</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400256 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300257 </dependency>
258 <dependency>
259 <groupId>org.apache.logging.log4j</groupId>
260 <artifactId>log4j-core</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400261 <version>${log4j.version}</version>
262 </dependency>
263 <dependency>
264 <groupId>org.apache.logging.log4j</groupId>
265 <artifactId>log4j-jul</artifactId>
266 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300267 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800268 <dependency>
269 <groupId>org.mockito</groupId>
270 <artifactId>mockito-all</artifactId>
271 <version>2.0.2-beta</version>
272 </dependency>
Michael Blow3477a2b2018-10-04 17:17:35 -0400273 <dependency>
274 <groupId>javax.xml.bind</groupId>
275 <artifactId>jaxb-api</artifactId>
276 <version>2.3.0</version>
277 </dependency>
Michael Blowb8df1c52019-11-08 14:15:42 -0500278 <dependency>
279 <groupId>org.apache.maven</groupId>
280 <artifactId>maven-project</artifactId>
281 <version>2.2.1</version>
282 </dependency>
Michael Blowb5727c62020-03-05 21:16:35 -0500283 <dependency>
284 <groupId>org.apache.maven</groupId>
285 <artifactId>maven-model</artifactId>
286 <version>3.6.3</version>
287 </dependency>
288 <dependency>
289 <groupId>org.apache.maven</groupId>
290 <artifactId>maven-artifact</artifactId>
291 <version>3.6.3</version>
292 </dependency>
293 <dependency>
294 <groupId>org.apache.maven</groupId>
295 <artifactId>maven-compat</artifactId>
296 <version>3.6.3</version>
297 </dependency>
298 <dependency>
299 <groupId>org.apache.maven</groupId>
300 <artifactId>maven-core</artifactId>
301 <version>3.6.3</version>
Michael Blowe2307cf2020-04-24 16:14:03 -0400302 </dependency>
Michael Blowb5727c62020-03-05 21:16:35 -0500303 <dependency>
304 <groupId>org.apache.maven</groupId>
305 <artifactId>maven-plugin-api</artifactId>
306 <version>3.6.3</version>
307 </dependency>
Ian Maxon4a20fb22020-06-08 17:23:07 -0700308 <dependency>
309 <groupId>org.apache.logging.log4j</groupId>
310 <artifactId>log4j-1.2-api</artifactId>
311 <version>2.13.1</version>
312 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700313 </dependencies>
314 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000315 <build>
316 <plugins>
317 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400318 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500319 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500320 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500321 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500322 <exclude>**/DEPENDENCIES</exclude>
323 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500324 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500325 <addMavenDescriptor>false</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500326 <manifest>
327 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
328 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
329 </manifest>
330 <manifestEntries>
331 <Implementation-Title>${implementation.title}</Implementation-Title>
332 <Implementation-URL>${implementation.url}</Implementation-URL>
333 <Implementation-Version>${implementation.version}</Implementation-Version>
334 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
335 </manifestEntries>
336 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500337 </configuration>
338 </plugin>
339 <plugin>
340 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400341 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400342 <configuration>
343 <failOnWarning>true</failOnWarning>
344 <outputXML>true</outputXML>
345 </configuration>
346 <executions>
347 <execution>
348 <phase>process-test-classes</phase>
349 <goals>
350 <goal>analyze-only</goal>
351 </goals>
352 </execution>
353 </executions>
354 </plugin>
355 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700356 <groupId>org.apache.rat</groupId>
357 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700358 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700359 <execution>
360 <phase>validate</phase>
361 <goals>
362 <goal>check</goal>
363 </goals>
364 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700365 </executions>
366 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500367 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
368 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700369 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800370 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700371 </licenses>
372 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800373 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700374 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500375 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400376 <excludes combine.children="append">
377 <exclude>**/*.iml</exclude>
378 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700379 </configuration>
380 </plugin>
381 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700384 <configuration>
385 <failIfNoTests>false</failIfNoTests>
386 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800387 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800388 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300389 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700390 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300391 <systemPropertyVariables>
392 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
393 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700394 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500395 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700396 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500397 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500398 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800399 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400400 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700401 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700402 </plugin>
403 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700404 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300405 <artifactId>maven-failsafe-plugin</artifactId>
406 <configuration>
407 <systemPropertyVariables>
408 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
409 </systemPropertyVariables>
410 </configuration>
411 </plugin>
412 <plugin>
413 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700414 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700415 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400416 <source>${source.jdk.version}</source>
417 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500418 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700419 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000420 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700421 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700422 <groupId>org.apache.maven.plugins</groupId>
423 <artifactId>maven-remote-resources-plugin</artifactId>
424 <executions>
425 <execution>
426 <goals>
427 <goal>process</goal>
428 </goals>
429 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500430 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700431 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700432 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500433 <properties>
434 <projectName>Apache Hyracks - ${project.name}</projectName>
435 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700436 </configuration>
437 </execution>
438 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800439 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400440 <plugin>
441 <groupId>org.apache.maven.plugins</groupId>
442 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow6a2a4362019-03-27 14:31:16 -0400443 <version>3.0.0</version>
Michael Blowd1e2a992016-06-14 12:27:46 -0400444 <executions>
445 <execution>
446 <id>verify-style</id>
Michael Blow6a2a4362019-03-27 14:31:16 -0400447 <phase>process-sources</phase>
Michael Blowd1e2a992016-06-14 12:27:46 -0400448 <goals>
449 <goal>check</goal>
450 </goals>
451 </execution>
452 </executions>
453 <configuration>
454 <logViolationsToConsole>true</logViolationsToConsole>
455 <checkstyleRules>
456 <module name="Checker">
457 <!-- Checks for whitespace -->
458 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400459 <module name="FileTabCharacter" />
Michael Blow6a2a4362019-03-27 14:31:16 -0400460 <module name="TreeWalker">
461 <module name="AvoidStarImport">
462 <property name="allowStaticMemberImports" value="true"/>
463 </module>
464 </module>
Michael Blowd1e2a992016-06-14 12:27:46 -0400465 </module>
466 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400467 <includes>**/*.java,**/*.jj</includes>
468 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400469 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
470 </configuration>
471 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400472 <plugin>
473 <groupId>org.apache.maven.plugins</groupId>
Michael Blowe2307cf2020-04-24 16:14:03 -0400474 <artifactId>maven-antrun-plugin</artifactId>
Michael Blowf53c1c62016-06-17 16:51:59 -0400475 <executions>
476 <execution>
Michael Blowe2307cf2020-04-24 16:14:03 -0400477 <id>check-pom-packaging</id>
478 <phase>validate</phase>
479 <goals>
480 <goal>run</goal>
481 </goals>
482 <configuration>
483 <exportAntProperties>true</exportAntProperties>
484 <target xmlns:unless="ant:unless">
485 <condition property="skipPomEnforcement">
486 <not><equals arg1="${project.packaging}" arg2="pom"/></not>
487 </condition>
488 <echo message="will enforce non-existence of test source dir due to ${project.packaging} packaging" unless:set="skipPomEnforcement"/>
489 </target>
490 </configuration>
491 </execution>
492 </executions>
493 </plugin>
494 <plugin>
495 <groupId>org.apache.maven.plugins</groupId>
496 <artifactId>maven-enforcer-plugin</artifactId>
497 <executions>
498 <execution>
499 <id>ensure-no-tests-for-pom-packaging</id>
500 <phase>validate</phase>
501 <goals>
502 <goal>enforce</goal>
503 </goals>
504 <configuration>
505 <rules>
506 <requireFilesDontExist>
507 <files>
508 <file>${project.build.testSourceDirectory}</file>
509 </files>
510 <message>#### Tests cannot exist in projects with '${project.packaging}' packaging!</message>
511 </requireFilesDontExist>
512 </rules>
513 <skip>${skipPomEnforcement}</skip>
514 </configuration>
515 </execution>
516 <execution>
Michael Blowf53c1c62016-06-17 16:51:59 -0400517 <id>enforce-versions</id>
518 <goals>
519 <goal>enforce</goal>
520 </goals>
521 <configuration>
522 <rules>
523 <requireMavenVersion>
524 <version>[3.3.9,)</version>
525 </requireMavenVersion>
526 </rules>
527 </configuration>
528 </execution>
529 </executions>
530 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500531 <plugin>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-resources-plugin</artifactId>
534 <executions>
535 <execution>
536 <id>default-testResources</id>
537 <goals>
538 <goal>testResources</goal>
539 </goals>
540 <configuration>
541 <skip>${skip.testResources}</skip>
542 </configuration>
543 </execution>
544 </executions>
545 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500546 <plugin>
547 <groupId>net.revelc.code.formatter</groupId>
548 <artifactId>formatter-maven-plugin</artifactId>
549 <executions>
550 <execution>
551 <goals>
552 <goal>${source-format.goal}</goal>
553 </goals>
554 </execution>
555 </executions>
556 <configuration>
557 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
558 <skipFormatting>${source-format.skip}</skipFormatting>
559 </configuration>
560 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400561 <plugin>
562 <groupId>net.revelc.code</groupId>
563 <artifactId>impsort-maven-plugin</artifactId>
564 <executions>
565 <execution>
566 <goals>
567 <goal>${import-sort.goal}</goal>
568 </goals>
569 </execution>
570 </executions>
571 <configuration>
572 <groups>java,javax,org,com,*</groups>
573 <removeUnused>true</removeUnused>
574 <skip>${import-sort.skip}</skip>
575 </configuration>
576 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000577 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700578 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700579 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500580 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400583 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800584 </plugin>
585 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500586 <groupId>org.apache.rat</groupId>
587 <artifactId>apache-rat-plugin</artifactId>
588 <version>0.12</version>
589 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700590 <plugin>
591 <groupId>net.revelc.code.formatter</groupId>
592 <artifactId>formatter-maven-plugin</artifactId>
593 <version>2.0.1</version>
594 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400595 <plugin>
596 <groupId>net.revelc.code</groupId>
597 <artifactId>impsort-maven-plugin</artifactId>
598 <version>1.2.0</version>
599 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700600 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
601 <plugin>
602 <groupId>org.eclipse.m2e</groupId>
603 <artifactId>lifecycle-mapping</artifactId>
604 <version>1.0.0</version>
605 <configuration>
606 <lifecycleMappingMetadata>
607 <pluginExecutions>
608 <pluginExecution>
609 <pluginExecutionFilter>
610 <groupId>org.apache.rat</groupId>
611 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400612 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700613 <goals>
614 <goal>check</goal>
615 </goals>
616 </pluginExecutionFilter>
617 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400618 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700619 </action>
620 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400621 <pluginExecution>
622 <pluginExecutionFilter>
623 <groupId>org.apache.maven.plugins</groupId>
624 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400625 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400626 <goals>
627 <goal>check</goal>
628 </goals>
629 </pluginExecutionFilter>
630 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400631 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400632 </action>
633 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700634 <pluginExecution>
635 <pluginExecutionFilter>
636 <groupId>org.apache.maven.plugins</groupId>
637 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400638 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700639 <goals>
640 <goal>analyze-only</goal>
641 </goals>
642 </pluginExecutionFilter>
643 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800644 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700645 </action>
646 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800647 <pluginExecution>
648 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800649 <groupId>net.revelc.code.formatter</groupId>
650 <artifactId>formatter-maven-plugin</artifactId>
651 <versionRange>[2.0.1,)</versionRange>
652 <goals>
653 <goal>format</goal>
654 </goals>
655 </pluginExecutionFilter>
656 <action>
657 <ignore></ignore>
658 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800659 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700660 </pluginExecutions>
661 </lifecycleMappingMetadata>
662 </configuration>
663 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800664 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500665 <groupId>org.codehaus.mojo</groupId>
666 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400667 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800668 </plugin>
669 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500670 <groupId>org.apache.maven.plugins</groupId>
671 <artifactId>maven-scm-plugin</artifactId>
672 <version>1.9.5</version>
673 </plugin>
674 <plugin>
675 <groupId>org.codehaus.mojo</groupId>
676 <artifactId>appassembler-maven-plugin</artifactId>
677 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800678 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400679 <plugin>
680 <groupId>org.apache.maven.plugins</groupId>
681 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400682 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400683 </plugin>
684 <plugin>
685 <groupId>org.apache.maven.plugins</groupId>
686 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400687 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400688 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400689 <plugin>
690 <groupId>org.apache.hyracks</groupId>
691 <artifactId>license-automation-plugin</artifactId>
692 <version>${project.version}</version>
693 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400694 <plugin>
695 <groupId>org.apache.maven.plugins</groupId>
696 <artifactId>maven-assembly-plugin</artifactId>
697 <version>3.1.0</version>
698 </plugin>
699 <plugin>
700 <groupId>org.apache.maven.plugins</groupId>
701 <artifactId>maven-antrun-plugin</artifactId>
702 <version>1.8</version>
703 </plugin>
704 <plugin>
705 <groupId>org.apache.maven.plugins</groupId>
706 <artifactId>maven-clean-plugin</artifactId>
707 <version>3.0.0</version>
708 </plugin>
709 <plugin>
710 <groupId>org.apache.maven.plugins</groupId>
711 <artifactId>maven-jar-plugin</artifactId>
712 <version>3.0.2</version>
713 </plugin>
714 <plugin>
715 <groupId>org.codehaus.mojo</groupId>
716 <artifactId>build-helper-maven-plugin</artifactId>
717 <version>3.0.0</version>
718 </plugin>
719 <plugin>
720 <groupId>org.apache.maven.plugins</groupId>
721 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400722 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400723 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400724 <plugin>
725 <groupId>org.apache.maven.doxia</groupId>
726 <artifactId>doxia-maven-plugin</artifactId>
727 <version>1.1.4</version>
728 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700729 </plugins>
730 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000731 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800732 <profiles>
733 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400734 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700735 <activation>
736 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400737 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700738 </file>
739 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400740 <properties>
741 <skip.assembly>true</skip.assembly>
742 </properties>
743 </profile>
744 <profile>
745 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700746 <build>
747 <plugins>
748 <plugin>
749 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500750 <artifactId>maven-jar-plugin</artifactId>
751 <configuration>
752 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500753 <addMavenDescriptor>true</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500754 <manifest>
755 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
756 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
757 </manifest>
758 </archive>
759 </configuration>
760 </plugin>
761 <plugin>
762 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700763 <artifactId>maven-assembly-plugin</artifactId>
764 <!-- We override the configuration plugin to override the descriptor to use for building
765 the source release zip. Specifically, we would like to control the inclusions/exclusions.
766 For example, we exclude the KEYS file from the zip -->
767 <executions>
768 <execution>
769 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
770 the apache parent POM under the apache-release profile -->
771 <id>source-release-assembly</id>
772 <phase>package</phase>
773 <goals>
774 <goal>single</goal>
775 </goals>
776 <!-- combine.self should be override to replace the configuration in the parent POM -->
777 <configuration combine.self="override">
778 <descriptors>
779 <descriptor>src/main/assembly/source.xml</descriptor>
780 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400781 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700782 </configuration>
783 </execution>
784 </executions>
785 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700786 <plugin>
787 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800788 <artifactId>maven-gpg-plugin</artifactId>
789 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700790 <executions>
791 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800792 <id>sign-artifacts</id>
793 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700794 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800795 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700796 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700797 </execution>
798 </executions>
799 </plugin>
800 </plugins>
801 </build>
802 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700803 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400804 <id>coverage</id>
805 <activation>
806 <property>
807 <name>coverage</name>
808 </property>
809 </activation>
810 <build>
811 <plugins>
812 <plugin>
813 <groupId>org.jacoco</groupId>
814 <artifactId>jacoco-maven-plugin</artifactId>
815 <version>${jacoco.version}</version>
816 <executions>
817 <execution>
818 <id>default-prepare-agent</id>
819 <goals>
820 <goal>prepare-agent</goal>
821 </goals>
822 <configuration>
823 <propertyName>coverageArgLine</propertyName>
824 </configuration>
825 </execution>
826 <execution>
827 <id>default-prepare-agent-integration</id>
828 <goals>
829 <goal>prepare-agent-integration</goal>
830 </goals>
831 <configuration>
832 <propertyName>coverageArgLine</propertyName>
833 </configuration>
834 </execution>
835 </executions>
836 </plugin>
837 </plugins>
838 </build>
839 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400840 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400841 </properties>
842 </profile>
843 <profile>
844 <id>no-coverage</id>
845 <activation>
846 <property>
847 <name>!coverage</name>
848 </property>
849 </activation>
850 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400851 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400852 </properties>
853 </profile>
854 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500855 <id>integration-tests-only</id>
856 <properties>
857 <test.includes/>
858 <failIfNoTests>false</failIfNoTests>
859 </properties>
860 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400861 <profile>
862 <id>java8</id>
863 <activation>
Michael Blow0de90812019-08-23 16:27:29 -0400864 <jdk>[1.8,)</jdk>
Michael Blowcedd9612018-07-25 13:25:02 -0400865 </activation>
866 <properties>
867 <target.jdk.version>8</target.jdk.version>
868 </properties>
869 </profile>
870 <profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400871 <id>java8-bootclasspath</id>
872 <activation>
873 <property>
874 <name>java8-bootclasspath</name>
875 </property>
876 </activation>
877 <properties>
878 <target.jdk.version>8</target.jdk.version>
879 </properties>
880 <build>
881 <plugins>
882 <plugin>
883 <groupId>org.apache.maven.plugins</groupId>
884 <artifactId>maven-compiler-plugin</artifactId>
885 <configuration>
886 <compilerArgs combine.children="append">
887 <arg>-bootclasspath</arg>
888 <arg>${java8-bootclasspath}</arg>
889 </compilerArgs>
890 </configuration>
891 </plugin>
892 </plugins>
893 </build>
894 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800895 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000896 <modules>
897 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000898 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500899 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000900 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400901</project>