blob: d7b68293620aa1a371cc830ddb4ac619d5d78eaf [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>
AsterixDB Jenkins478eccb2018-08-31 14:57:31 -070024 <version>0.3.5-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>
120 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700121 </dependency>
122 <dependency>
123 <groupId>org.apache.hadoop</groupId>
124 <artifactId>hadoop-hdfs</artifactId>
125 <version>${hadoop.version}</version>
126 </dependency>
127 <dependency>
128 <groupId>org.apache.hadoop</groupId>
129 <artifactId>hadoop-minicluster</artifactId>
130 <version>${hadoop.version}</version>
131 </dependency>
132 <dependency>
133 <groupId>org.apache.hadoop</groupId>
134 <artifactId>hadoop-mapreduce-client-core</artifactId>
135 <version>${hadoop.version}</version>
136 </dependency>
137 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400138 <groupId>org.apache.hadoop</groupId>
139 <artifactId>hadoop-hdfs</artifactId>
140 <version>${hadoop.version}</version>
141 <classifier>tests</classifier>
142 <scope>test</scope>
143 </dependency>
144 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700145 <groupId>commons-io</groupId>
146 <artifactId>commons-io</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500147 <version>2.6</version>
148 </dependency>
149 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400150 <groupId>org.apache.commons</groupId>
151 <artifactId>commons-text</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500152 <version>1.8</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400153 </dependency>
154 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800155 <groupId>com.fasterxml.jackson.core</groupId>
156 <artifactId>jackson-databind</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500157 <version>2.10.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800158 </dependency>
159 <dependency>
160 <groupId>com.fasterxml.jackson.core</groupId>
161 <artifactId>jackson-core</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500162 <version>2.10.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800163 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500164 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500165 <groupId>com.fasterxml.jackson.core</groupId>
166 <artifactId>jackson-annotations</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500167 <version>2.10.3</version>
Michael Blow204b2952017-12-07 20:17:47 -0500168 </dependency>
169 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500170 <groupId>com.google.guava</groupId>
171 <artifactId>guava</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500172 <version>28.2-jre</version>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400173 <exclusions>
174 <exclusion>
175 <groupId>com.google.code.findbugs</groupId>
176 <artifactId>jsr305</artifactId>
177 </exclusion>
178 <exclusion>
179 <groupId>com.google.guava</groupId>
180 <artifactId>listenablefuture</artifactId>
181 </exclusion>
182 <exclusion>
183 <groupId>org.checkerframework</groupId>
184 <artifactId>checker-qual</artifactId>
185 </exclusion>
186 <exclusion>
187 <groupId>com.google.j2objc</groupId>
188 <artifactId>j2objc-annotations</artifactId>
189 </exclusion>
190 <exclusion>
191 <groupId>org.codehaus.mojo</groupId>
192 <artifactId>animal-sniffer-annotations</artifactId>
193 </exclusion>
194 </exclusions>
Michael Blow599ef8f2017-01-12 11:02:53 -0500195 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500196 <dependency>
197 <groupId>org.apache.commons</groupId>
198 <artifactId>commons-lang3</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500199 <version>3.9</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500200 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500201 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500202 <groupId>org.apache.commons</groupId>
203 <artifactId>commons-collections4</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500204 <version>4.4</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500205 </dependency>
206 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800207 <groupId>org.apache.httpcomponents</groupId>
208 <artifactId>httpcore</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500209 <version>4.4.13</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800210 </dependency>
211 <dependency>
212 <groupId>org.apache.httpcomponents</groupId>
213 <artifactId>httpclient</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500214 <version>4.5.11</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800215 </dependency>
216 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500217 <groupId>org.apache.rat</groupId>
218 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500219 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500220 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500221 <dependency>
Till Westmann192478b2019-03-01 10:45:25 -0800222 <groupId>org.ini4j</groupId>
223 <artifactId>ini4j</artifactId>
224 <version>0.5.4</version>
225 </dependency>
226 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500227 <groupId>args4j</groupId>
228 <artifactId>args4j</artifactId>
229 <version>2.33</version>
230 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300231 <dependency>
232 <groupId>org.apache.logging.log4j</groupId>
233 <artifactId>log4j-api</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400234 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300235 </dependency>
236 <dependency>
237 <groupId>org.apache.logging.log4j</groupId>
238 <artifactId>log4j-core</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400239 <version>${log4j.version}</version>
240 </dependency>
241 <dependency>
242 <groupId>org.apache.logging.log4j</groupId>
243 <artifactId>log4j-jul</artifactId>
244 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300245 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800246 <dependency>
247 <groupId>org.mockito</groupId>
248 <artifactId>mockito-all</artifactId>
249 <version>2.0.2-beta</version>
250 </dependency>
Michael Blow3477a2b2018-10-04 17:17:35 -0400251 <dependency>
252 <groupId>javax.xml.bind</groupId>
253 <artifactId>jaxb-api</artifactId>
254 <version>2.3.0</version>
255 </dependency>
Michael Blowb8df1c52019-11-08 14:15:42 -0500256 <dependency>
257 <groupId>org.apache.maven</groupId>
258 <artifactId>maven-project</artifactId>
259 <version>2.2.1</version>
260 </dependency>
Michael Blowb5727c62020-03-05 21:16:35 -0500261 <dependency>
262 <groupId>org.apache.maven</groupId>
263 <artifactId>maven-model</artifactId>
264 <version>3.6.3</version>
265 </dependency>
266 <dependency>
267 <groupId>org.apache.maven</groupId>
268 <artifactId>maven-artifact</artifactId>
269 <version>3.6.3</version>
270 </dependency>
271 <dependency>
272 <groupId>org.apache.maven</groupId>
273 <artifactId>maven-compat</artifactId>
274 <version>3.6.3</version>
275 </dependency>
276 <dependency>
277 <groupId>org.apache.maven</groupId>
278 <artifactId>maven-core</artifactId>
279 <version>3.6.3</version>
Michael Blowe2307cf2020-04-24 16:14:03 -0400280 </dependency>
Michael Blowb5727c62020-03-05 21:16:35 -0500281 <dependency>
282 <groupId>org.apache.maven</groupId>
283 <artifactId>maven-plugin-api</artifactId>
284 <version>3.6.3</version>
285 </dependency>
Rui Guo4ce394b2020-07-23 07:35:59 -0700286 <dependency>
287 <groupId>it.unimi.dsi</groupId>
288 <artifactId>fastutil</artifactId>
289 <version>8.3.0</version>
290 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700291 </dependencies>
292 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000293 <build>
294 <plugins>
295 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400296 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500297 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500298 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500299 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500300 <exclude>**/DEPENDENCIES</exclude>
301 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500302 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500303 <addMavenDescriptor>false</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500304 <manifest>
305 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
306 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
307 </manifest>
308 <manifestEntries>
309 <Implementation-Title>${implementation.title}</Implementation-Title>
310 <Implementation-URL>${implementation.url}</Implementation-URL>
311 <Implementation-Version>${implementation.version}</Implementation-Version>
312 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
313 </manifestEntries>
314 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500315 </configuration>
316 </plugin>
317 <plugin>
318 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400319 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400320 <configuration>
321 <failOnWarning>true</failOnWarning>
322 <outputXML>true</outputXML>
323 </configuration>
324 <executions>
325 <execution>
326 <phase>process-test-classes</phase>
327 <goals>
328 <goal>analyze-only</goal>
329 </goals>
330 </execution>
331 </executions>
332 </plugin>
333 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700334 <groupId>org.apache.rat</groupId>
335 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700336 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700337 <execution>
338 <phase>validate</phase>
339 <goals>
340 <goal>check</goal>
341 </goals>
342 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700343 </executions>
344 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500345 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
346 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700347 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800348 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700349 </licenses>
350 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800351 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700352 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500353 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400354 <excludes combine.children="append">
355 <exclude>**/*.iml</exclude>
356 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700357 </configuration>
358 </plugin>
359 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700362 <configuration>
363 <failIfNoTests>false</failIfNoTests>
364 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800365 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800366 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300367 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700368 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300369 <systemPropertyVariables>
370 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
371 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700372 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500373 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700374 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500375 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500376 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800377 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400378 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700379 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700380 </plugin>
381 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700382 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300383 <artifactId>maven-failsafe-plugin</artifactId>
384 <configuration>
385 <systemPropertyVariables>
386 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
387 </systemPropertyVariables>
388 </configuration>
389 </plugin>
390 <plugin>
391 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700392 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700393 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400394 <source>${source.jdk.version}</source>
395 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500396 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700397 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000398 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700399 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-remote-resources-plugin</artifactId>
402 <executions>
403 <execution>
404 <goals>
405 <goal>process</goal>
406 </goals>
407 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500408 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700409 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700410 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500411 <properties>
412 <projectName>Apache Hyracks - ${project.name}</projectName>
413 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700414 </configuration>
415 </execution>
416 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800417 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400418 <plugin>
419 <groupId>org.apache.maven.plugins</groupId>
420 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow6a2a4362019-03-27 14:31:16 -0400421 <version>3.0.0</version>
Michael Blowd1e2a992016-06-14 12:27:46 -0400422 <executions>
423 <execution>
424 <id>verify-style</id>
Michael Blow6a2a4362019-03-27 14:31:16 -0400425 <phase>process-sources</phase>
Michael Blowd1e2a992016-06-14 12:27:46 -0400426 <goals>
427 <goal>check</goal>
428 </goals>
429 </execution>
430 </executions>
431 <configuration>
432 <logViolationsToConsole>true</logViolationsToConsole>
433 <checkstyleRules>
434 <module name="Checker">
435 <!-- Checks for whitespace -->
436 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400437 <module name="FileTabCharacter" />
Michael Blow6a2a4362019-03-27 14:31:16 -0400438 <module name="TreeWalker">
439 <module name="AvoidStarImport">
440 <property name="allowStaticMemberImports" value="true"/>
441 </module>
442 </module>
Michael Blowd1e2a992016-06-14 12:27:46 -0400443 </module>
444 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400445 <includes>**/*.java,**/*.jj</includes>
446 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400447 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
448 </configuration>
449 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400450 <plugin>
451 <groupId>org.apache.maven.plugins</groupId>
Michael Blowe2307cf2020-04-24 16:14:03 -0400452 <artifactId>maven-antrun-plugin</artifactId>
Michael Blowf53c1c62016-06-17 16:51:59 -0400453 <executions>
454 <execution>
Michael Blowe2307cf2020-04-24 16:14:03 -0400455 <id>check-pom-packaging</id>
456 <phase>validate</phase>
457 <goals>
458 <goal>run</goal>
459 </goals>
460 <configuration>
461 <exportAntProperties>true</exportAntProperties>
462 <target xmlns:unless="ant:unless">
463 <condition property="skipPomEnforcement">
464 <not><equals arg1="${project.packaging}" arg2="pom"/></not>
465 </condition>
466 <echo message="will enforce non-existence of test source dir due to ${project.packaging} packaging" unless:set="skipPomEnforcement"/>
467 </target>
468 </configuration>
469 </execution>
470 </executions>
471 </plugin>
472 <plugin>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-enforcer-plugin</artifactId>
475 <executions>
476 <execution>
477 <id>ensure-no-tests-for-pom-packaging</id>
478 <phase>validate</phase>
479 <goals>
480 <goal>enforce</goal>
481 </goals>
482 <configuration>
483 <rules>
484 <requireFilesDontExist>
485 <files>
486 <file>${project.build.testSourceDirectory}</file>
487 </files>
488 <message>#### Tests cannot exist in projects with '${project.packaging}' packaging!</message>
489 </requireFilesDontExist>
490 </rules>
491 <skip>${skipPomEnforcement}</skip>
492 </configuration>
493 </execution>
494 <execution>
Michael Blowf53c1c62016-06-17 16:51:59 -0400495 <id>enforce-versions</id>
496 <goals>
497 <goal>enforce</goal>
498 </goals>
499 <configuration>
500 <rules>
501 <requireMavenVersion>
502 <version>[3.3.9,)</version>
503 </requireMavenVersion>
504 </rules>
505 </configuration>
506 </execution>
507 </executions>
508 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500509 <plugin>
510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-resources-plugin</artifactId>
512 <executions>
513 <execution>
514 <id>default-testResources</id>
515 <goals>
516 <goal>testResources</goal>
517 </goals>
518 <configuration>
519 <skip>${skip.testResources}</skip>
520 </configuration>
521 </execution>
522 </executions>
523 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500524 <plugin>
525 <groupId>net.revelc.code.formatter</groupId>
526 <artifactId>formatter-maven-plugin</artifactId>
527 <executions>
528 <execution>
529 <goals>
530 <goal>${source-format.goal}</goal>
531 </goals>
532 </execution>
533 </executions>
534 <configuration>
535 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
536 <skipFormatting>${source-format.skip}</skipFormatting>
537 </configuration>
538 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400539 <plugin>
540 <groupId>net.revelc.code</groupId>
541 <artifactId>impsort-maven-plugin</artifactId>
542 <executions>
543 <execution>
544 <goals>
545 <goal>${import-sort.goal}</goal>
546 </goals>
547 </execution>
548 </executions>
549 <configuration>
550 <groups>java,javax,org,com,*</groups>
551 <removeUnused>true</removeUnused>
552 <skip>${import-sort.skip}</skip>
553 </configuration>
554 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000555 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700556 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700557 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500558 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800559 <groupId>org.apache.maven.plugins</groupId>
560 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400561 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800562 </plugin>
563 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500564 <groupId>org.apache.rat</groupId>
565 <artifactId>apache-rat-plugin</artifactId>
566 <version>0.12</version>
567 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700568 <plugin>
569 <groupId>net.revelc.code.formatter</groupId>
570 <artifactId>formatter-maven-plugin</artifactId>
571 <version>2.0.1</version>
572 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400573 <plugin>
574 <groupId>net.revelc.code</groupId>
575 <artifactId>impsort-maven-plugin</artifactId>
576 <version>1.2.0</version>
577 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700578 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
579 <plugin>
580 <groupId>org.eclipse.m2e</groupId>
581 <artifactId>lifecycle-mapping</artifactId>
582 <version>1.0.0</version>
583 <configuration>
584 <lifecycleMappingMetadata>
585 <pluginExecutions>
586 <pluginExecution>
587 <pluginExecutionFilter>
588 <groupId>org.apache.rat</groupId>
589 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400590 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700591 <goals>
592 <goal>check</goal>
593 </goals>
594 </pluginExecutionFilter>
595 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400596 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700597 </action>
598 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400599 <pluginExecution>
600 <pluginExecutionFilter>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400603 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400604 <goals>
605 <goal>check</goal>
606 </goals>
607 </pluginExecutionFilter>
608 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400609 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400610 </action>
611 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700612 <pluginExecution>
613 <pluginExecutionFilter>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400616 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700617 <goals>
618 <goal>analyze-only</goal>
619 </goals>
620 </pluginExecutionFilter>
621 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800622 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700623 </action>
624 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800625 <pluginExecution>
626 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800627 <groupId>net.revelc.code.formatter</groupId>
628 <artifactId>formatter-maven-plugin</artifactId>
629 <versionRange>[2.0.1,)</versionRange>
630 <goals>
631 <goal>format</goal>
632 </goals>
633 </pluginExecutionFilter>
634 <action>
635 <ignore></ignore>
636 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800637 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700638 </pluginExecutions>
639 </lifecycleMappingMetadata>
640 </configuration>
641 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800642 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500643 <groupId>org.codehaus.mojo</groupId>
644 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400645 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800646 </plugin>
647 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-scm-plugin</artifactId>
650 <version>1.9.5</version>
651 </plugin>
652 <plugin>
653 <groupId>org.codehaus.mojo</groupId>
654 <artifactId>appassembler-maven-plugin</artifactId>
655 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800656 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400657 <plugin>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400660 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400661 </plugin>
662 <plugin>
663 <groupId>org.apache.maven.plugins</groupId>
664 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400665 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400666 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400667 <plugin>
668 <groupId>org.apache.hyracks</groupId>
669 <artifactId>license-automation-plugin</artifactId>
670 <version>${project.version}</version>
671 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400672 <plugin>
673 <groupId>org.apache.maven.plugins</groupId>
674 <artifactId>maven-assembly-plugin</artifactId>
675 <version>3.1.0</version>
676 </plugin>
677 <plugin>
678 <groupId>org.apache.maven.plugins</groupId>
679 <artifactId>maven-antrun-plugin</artifactId>
680 <version>1.8</version>
681 </plugin>
682 <plugin>
683 <groupId>org.apache.maven.plugins</groupId>
684 <artifactId>maven-clean-plugin</artifactId>
685 <version>3.0.0</version>
686 </plugin>
687 <plugin>
688 <groupId>org.apache.maven.plugins</groupId>
689 <artifactId>maven-jar-plugin</artifactId>
690 <version>3.0.2</version>
691 </plugin>
692 <plugin>
693 <groupId>org.codehaus.mojo</groupId>
694 <artifactId>build-helper-maven-plugin</artifactId>
695 <version>3.0.0</version>
696 </plugin>
697 <plugin>
698 <groupId>org.apache.maven.plugins</groupId>
699 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400700 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400701 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400702 <plugin>
703 <groupId>org.apache.maven.doxia</groupId>
704 <artifactId>doxia-maven-plugin</artifactId>
705 <version>1.1.4</version>
706 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700707 </plugins>
708 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000709 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800710 <profiles>
711 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400712 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700713 <activation>
714 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400715 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700716 </file>
717 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400718 <properties>
719 <skip.assembly>true</skip.assembly>
720 </properties>
721 </profile>
722 <profile>
723 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700724 <build>
725 <plugins>
726 <plugin>
727 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500728 <artifactId>maven-jar-plugin</artifactId>
729 <configuration>
730 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500731 <addMavenDescriptor>true</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500732 <manifest>
733 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
734 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
735 </manifest>
736 </archive>
737 </configuration>
738 </plugin>
739 <plugin>
740 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700741 <artifactId>maven-assembly-plugin</artifactId>
742 <!-- We override the configuration plugin to override the descriptor to use for building
743 the source release zip. Specifically, we would like to control the inclusions/exclusions.
744 For example, we exclude the KEYS file from the zip -->
745 <executions>
746 <execution>
747 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
748 the apache parent POM under the apache-release profile -->
749 <id>source-release-assembly</id>
750 <phase>package</phase>
751 <goals>
752 <goal>single</goal>
753 </goals>
754 <!-- combine.self should be override to replace the configuration in the parent POM -->
755 <configuration combine.self="override">
756 <descriptors>
757 <descriptor>src/main/assembly/source.xml</descriptor>
758 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400759 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700760 </configuration>
761 </execution>
762 </executions>
763 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700764 <plugin>
765 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800766 <artifactId>maven-gpg-plugin</artifactId>
767 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700768 <executions>
769 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800770 <id>sign-artifacts</id>
771 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700772 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800773 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700774 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700775 </execution>
776 </executions>
777 </plugin>
778 </plugins>
779 </build>
780 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700781 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400782 <id>coverage</id>
783 <activation>
784 <property>
785 <name>coverage</name>
786 </property>
787 </activation>
788 <build>
789 <plugins>
790 <plugin>
791 <groupId>org.jacoco</groupId>
792 <artifactId>jacoco-maven-plugin</artifactId>
793 <version>${jacoco.version}</version>
794 <executions>
795 <execution>
796 <id>default-prepare-agent</id>
797 <goals>
798 <goal>prepare-agent</goal>
799 </goals>
800 <configuration>
801 <propertyName>coverageArgLine</propertyName>
802 </configuration>
803 </execution>
804 <execution>
805 <id>default-prepare-agent-integration</id>
806 <goals>
807 <goal>prepare-agent-integration</goal>
808 </goals>
809 <configuration>
810 <propertyName>coverageArgLine</propertyName>
811 </configuration>
812 </execution>
813 </executions>
814 </plugin>
815 </plugins>
816 </build>
817 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400818 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400819 </properties>
820 </profile>
821 <profile>
822 <id>no-coverage</id>
823 <activation>
824 <property>
825 <name>!coverage</name>
826 </property>
827 </activation>
828 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400829 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400830 </properties>
831 </profile>
832 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500833 <id>integration-tests-only</id>
834 <properties>
835 <test.includes/>
836 <failIfNoTests>false</failIfNoTests>
837 </properties>
838 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400839 <profile>
840 <id>java8</id>
841 <activation>
Michael Blow0de90812019-08-23 16:27:29 -0400842 <jdk>[1.8,)</jdk>
Michael Blowcedd9612018-07-25 13:25:02 -0400843 </activation>
844 <properties>
845 <target.jdk.version>8</target.jdk.version>
846 </properties>
847 </profile>
848 <profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400849 <id>java8-bootclasspath</id>
850 <activation>
851 <property>
852 <name>java8-bootclasspath</name>
853 </property>
854 </activation>
855 <properties>
856 <target.jdk.version>8</target.jdk.version>
857 </properties>
858 <build>
859 <plugins>
860 <plugin>
861 <groupId>org.apache.maven.plugins</groupId>
862 <artifactId>maven-compiler-plugin</artifactId>
863 <configuration>
864 <compilerArgs combine.children="append">
865 <arg>-bootclasspath</arg>
866 <arg>${java8-bootclasspath}</arg>
867 </compilerArgs>
868 </configuration>
869 </plugin>
870 </plugins>
871 </build>
872 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800873 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000874 <modules>
875 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000876 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500877 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000878 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400879</project>