blob: b272218b28c7fa3e9eecced337ddd9fd34b9c08e [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 Blow38ca9622018-02-28 11:44:43 -050074
Michael Blowcbfe8f92018-02-28 14:02:38 -050075 <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
Michael Blow38ca9622018-02-28 11:44:43 -050076 <implementation.url>https://asterixdb.apache.org/</implementation.url>
77 <implementation.version>${project.version}</implementation.version>
78 <implementation.vendor>${project.organization.name}</implementation.vendor>
Michael Blowb4c1fb02016-05-09 15:41:00 -070079 </properties>
80 <dependencyManagement>
81 <dependencies>
82 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080083 <groupId>io.netty</groupId>
84 <artifactId>netty-all</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -050085 <version>4.1.32.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -080086 </dependency>
87 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070088 <groupId>junit</groupId>
89 <artifactId>junit</artifactId>
Michael Blow599ef8f2017-01-12 11:02:53 -050090 <version>4.12</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070091 </dependency>
92 <dependency>
93 <groupId>org.apache.hadoop</groupId>
94 <artifactId>hadoop-yarn-client</artifactId>
95 <version>${hadoop.version}</version>
96 </dependency>
97 <dependency>
98 <groupId>org.apache.hadoop</groupId>
99 <artifactId>hadoop-client</artifactId>
100 <version>${hadoop.version}</version>
101 </dependency>
102 <dependency>
103 <groupId>org.apache.hadoop</groupId>
104 <artifactId>hadoop-common</artifactId>
105 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400106 <exclusions>
107 <exclusion>
108 <groupId>javax.servlet.jsp</groupId>
109 <artifactId>jsp-api</artifactId>
110 </exclusion>
111 <exclusion>
112 <groupId>javax.servlet</groupId>
113 <artifactId>servlet-api</artifactId>
114 </exclusion>
115 <exclusion>
116 <groupId>jdk.tools</groupId>
117 <artifactId>jdk.tools</artifactId>
118 </exclusion>
119 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700120 </dependency>
121 <dependency>
122 <groupId>org.apache.hadoop</groupId>
123 <artifactId>hadoop-hdfs</artifactId>
124 <version>${hadoop.version}</version>
125 </dependency>
126 <dependency>
127 <groupId>org.apache.hadoop</groupId>
128 <artifactId>hadoop-minicluster</artifactId>
129 <version>${hadoop.version}</version>
130 </dependency>
131 <dependency>
132 <groupId>org.apache.hadoop</groupId>
133 <artifactId>hadoop-mapreduce-client-core</artifactId>
134 <version>${hadoop.version}</version>
135 </dependency>
136 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400137 <groupId>org.apache.hadoop</groupId>
138 <artifactId>hadoop-hdfs</artifactId>
139 <version>${hadoop.version}</version>
140 <classifier>tests</classifier>
141 <scope>test</scope>
142 </dependency>
143 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700144 <groupId>commons-io</groupId>
145 <artifactId>commons-io</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500146 <version>2.6</version>
147 </dependency>
148 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400149 <groupId>org.apache.commons</groupId>
150 <artifactId>commons-text</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500151 <version>1.6</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400152 </dependency>
153 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800154 <groupId>com.fasterxml.jackson.core</groupId>
155 <artifactId>jackson-databind</artifactId>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400156 <version>2.9.10</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800157 </dependency>
158 <dependency>
159 <groupId>com.fasterxml.jackson.core</groupId>
160 <artifactId>jackson-core</artifactId>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400161 <version>2.9.10</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800162 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500163 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500164 <groupId>com.fasterxml.jackson.core</groupId>
165 <artifactId>jackson-annotations</artifactId>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400166 <version>2.9.10</version>
Michael Blow204b2952017-12-07 20:17:47 -0500167 </dependency>
168 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500169 <groupId>com.google.guava</groupId>
170 <artifactId>guava</artifactId>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400171 <version>28.0-jre</version>
172 <exclusions>
173 <exclusion>
174 <groupId>com.google.code.findbugs</groupId>
175 <artifactId>jsr305</artifactId>
176 </exclusion>
177 <exclusion>
178 <groupId>com.google.guava</groupId>
179 <artifactId>listenablefuture</artifactId>
180 </exclusion>
181 <exclusion>
182 <groupId>org.checkerframework</groupId>
183 <artifactId>checker-qual</artifactId>
184 </exclusion>
185 <exclusion>
186 <groupId>com.google.j2objc</groupId>
187 <artifactId>j2objc-annotations</artifactId>
188 </exclusion>
189 <exclusion>
190 <groupId>org.codehaus.mojo</groupId>
191 <artifactId>animal-sniffer-annotations</artifactId>
192 </exclusion>
193 </exclusions>
Michael Blow599ef8f2017-01-12 11:02:53 -0500194 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500195 <dependency>
196 <groupId>org.apache.commons</groupId>
197 <artifactId>commons-lang3</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500198 <version>3.8.1</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500199 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500200 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500201 <groupId>org.apache.commons</groupId>
202 <artifactId>commons-collections4</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500203 <version>4.2</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500204 </dependency>
205 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800206 <groupId>org.apache.httpcomponents</groupId>
207 <artifactId>httpcore</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500208 <version>4.4.10</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800209 </dependency>
210 <dependency>
211 <groupId>org.apache.httpcomponents</groupId>
212 <artifactId>httpclient</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500213 <version>4.5.6</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800214 </dependency>
215 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500216 <groupId>org.apache.rat</groupId>
217 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500218 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500219 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500220 <dependency>
Till Westmann192478b2019-03-01 10:45:25 -0800221 <groupId>org.ini4j</groupId>
222 <artifactId>ini4j</artifactId>
223 <version>0.5.4</version>
224 </dependency>
225 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500226 <groupId>args4j</groupId>
227 <artifactId>args4j</artifactId>
228 <version>2.33</version>
229 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300230 <dependency>
231 <groupId>org.apache.logging.log4j</groupId>
232 <artifactId>log4j-api</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500233 <version>2.11.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300234 </dependency>
235 <dependency>
236 <groupId>org.apache.logging.log4j</groupId>
237 <artifactId>log4j-core</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500238 <version>2.11.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300239 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800240 <dependency>
241 <groupId>org.mockito</groupId>
242 <artifactId>mockito-all</artifactId>
243 <version>2.0.2-beta</version>
244 </dependency>
Michael Blow3477a2b2018-10-04 17:17:35 -0400245 <dependency>
246 <groupId>javax.xml.bind</groupId>
247 <artifactId>jaxb-api</artifactId>
248 <version>2.3.0</version>
249 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700250 </dependencies>
251 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000252 <build>
253 <plugins>
254 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400255 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500256 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500257 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500258 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500259 <exclude>**/DEPENDENCIES</exclude>
260 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500261 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500262 <addMavenDescriptor>false</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500263 <manifest>
264 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
265 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
266 </manifest>
267 <manifestEntries>
268 <Implementation-Title>${implementation.title}</Implementation-Title>
269 <Implementation-URL>${implementation.url}</Implementation-URL>
270 <Implementation-Version>${implementation.version}</Implementation-Version>
271 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
272 </manifestEntries>
273 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500274 </configuration>
275 </plugin>
276 <plugin>
277 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400278 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400279 <configuration>
280 <failOnWarning>true</failOnWarning>
281 <outputXML>true</outputXML>
282 </configuration>
283 <executions>
284 <execution>
285 <phase>process-test-classes</phase>
286 <goals>
287 <goal>analyze-only</goal>
288 </goals>
289 </execution>
290 </executions>
291 </plugin>
292 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700293 <groupId>org.apache.rat</groupId>
294 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700295 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700296 <execution>
297 <phase>validate</phase>
298 <goals>
299 <goal>check</goal>
300 </goals>
301 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700302 </executions>
303 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500304 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
305 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700306 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800307 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700308 </licenses>
309 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800310 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700311 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500312 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400313 <excludes combine.children="append">
314 <exclude>**/*.iml</exclude>
315 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700316 </configuration>
317 </plugin>
318 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700321 <configuration>
322 <failIfNoTests>false</failIfNoTests>
323 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800324 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800325 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300326 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700327 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300328 <systemPropertyVariables>
329 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
330 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700331 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500332 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700333 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500334 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500335 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800336 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400337 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700338 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700339 </plugin>
340 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700341 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300342 <artifactId>maven-failsafe-plugin</artifactId>
343 <configuration>
344 <systemPropertyVariables>
345 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
346 </systemPropertyVariables>
347 </configuration>
348 </plugin>
349 <plugin>
350 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700351 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700352 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400353 <source>${source.jdk.version}</source>
354 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500355 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700356 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000357 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700358 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-remote-resources-plugin</artifactId>
361 <executions>
362 <execution>
363 <goals>
364 <goal>process</goal>
365 </goals>
366 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500367 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700368 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700369 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500370 <properties>
371 <projectName>Apache Hyracks - ${project.name}</projectName>
372 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700373 </configuration>
374 </execution>
375 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800376 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow6a2a4362019-03-27 14:31:16 -0400380 <version>3.0.0</version>
Michael Blowd1e2a992016-06-14 12:27:46 -0400381 <executions>
382 <execution>
383 <id>verify-style</id>
Michael Blow6a2a4362019-03-27 14:31:16 -0400384 <phase>process-sources</phase>
Michael Blowd1e2a992016-06-14 12:27:46 -0400385 <goals>
386 <goal>check</goal>
387 </goals>
388 </execution>
389 </executions>
390 <configuration>
391 <logViolationsToConsole>true</logViolationsToConsole>
392 <checkstyleRules>
393 <module name="Checker">
394 <!-- Checks for whitespace -->
395 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400396 <module name="FileTabCharacter" />
Michael Blow6a2a4362019-03-27 14:31:16 -0400397 <module name="TreeWalker">
398 <module name="AvoidStarImport">
399 <property name="allowStaticMemberImports" value="true"/>
400 </module>
401 </module>
Michael Blowd1e2a992016-06-14 12:27:46 -0400402 </module>
403 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400404 <includes>**/*.java,**/*.jj</includes>
405 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400406 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
407 </configuration>
408 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400409 <plugin>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400412 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400413 <executions>
414 <execution>
415 <id>enforce-versions</id>
416 <goals>
417 <goal>enforce</goal>
418 </goals>
419 <configuration>
420 <rules>
421 <requireMavenVersion>
422 <version>[3.3.9,)</version>
423 </requireMavenVersion>
424 </rules>
425 </configuration>
426 </execution>
427 </executions>
428 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500429 <plugin>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-resources-plugin</artifactId>
432 <executions>
433 <execution>
434 <id>default-testResources</id>
435 <goals>
436 <goal>testResources</goal>
437 </goals>
438 <configuration>
439 <skip>${skip.testResources}</skip>
440 </configuration>
441 </execution>
442 </executions>
443 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500444 <plugin>
445 <groupId>net.revelc.code.formatter</groupId>
446 <artifactId>formatter-maven-plugin</artifactId>
447 <executions>
448 <execution>
449 <goals>
450 <goal>${source-format.goal}</goal>
451 </goals>
452 </execution>
453 </executions>
454 <configuration>
455 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
456 <skipFormatting>${source-format.skip}</skipFormatting>
457 </configuration>
458 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400459 <plugin>
460 <groupId>net.revelc.code</groupId>
461 <artifactId>impsort-maven-plugin</artifactId>
462 <executions>
463 <execution>
464 <goals>
465 <goal>${import-sort.goal}</goal>
466 </goals>
467 </execution>
468 </executions>
469 <configuration>
470 <groups>java,javax,org,com,*</groups>
471 <removeUnused>true</removeUnused>
472 <skip>${import-sort.skip}</skip>
473 </configuration>
474 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000475 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700476 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700477 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500478 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400481 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800482 </plugin>
483 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500484 <groupId>org.apache.rat</groupId>
485 <artifactId>apache-rat-plugin</artifactId>
486 <version>0.12</version>
487 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700488 <plugin>
489 <groupId>net.revelc.code.formatter</groupId>
490 <artifactId>formatter-maven-plugin</artifactId>
491 <version>2.0.1</version>
492 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400493 <plugin>
494 <groupId>net.revelc.code</groupId>
495 <artifactId>impsort-maven-plugin</artifactId>
496 <version>1.2.0</version>
497 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700498 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
499 <plugin>
500 <groupId>org.eclipse.m2e</groupId>
501 <artifactId>lifecycle-mapping</artifactId>
502 <version>1.0.0</version>
503 <configuration>
504 <lifecycleMappingMetadata>
505 <pluginExecutions>
506 <pluginExecution>
507 <pluginExecutionFilter>
508 <groupId>org.apache.rat</groupId>
509 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400510 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700511 <goals>
512 <goal>check</goal>
513 </goals>
514 </pluginExecutionFilter>
515 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400516 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700517 </action>
518 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400519 <pluginExecution>
520 <pluginExecutionFilter>
521 <groupId>org.apache.maven.plugins</groupId>
522 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400523 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400524 <goals>
525 <goal>check</goal>
526 </goals>
527 </pluginExecutionFilter>
528 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400529 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400530 </action>
531 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700532 <pluginExecution>
533 <pluginExecutionFilter>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400536 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700537 <goals>
538 <goal>analyze-only</goal>
539 </goals>
540 </pluginExecutionFilter>
541 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800542 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700543 </action>
544 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800545 <pluginExecution>
546 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800547 <groupId>net.revelc.code.formatter</groupId>
548 <artifactId>formatter-maven-plugin</artifactId>
549 <versionRange>[2.0.1,)</versionRange>
550 <goals>
551 <goal>format</goal>
552 </goals>
553 </pluginExecutionFilter>
554 <action>
555 <ignore></ignore>
556 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800557 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700558 </pluginExecutions>
559 </lifecycleMappingMetadata>
560 </configuration>
561 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800562 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500563 <groupId>org.codehaus.mojo</groupId>
564 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400565 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800566 </plugin>
567 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500568 <groupId>org.apache.maven.plugins</groupId>
569 <artifactId>maven-scm-plugin</artifactId>
570 <version>1.9.5</version>
571 </plugin>
572 <plugin>
573 <groupId>org.codehaus.mojo</groupId>
574 <artifactId>appassembler-maven-plugin</artifactId>
575 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800576 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400577 <plugin>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400580 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400581 </plugin>
582 <plugin>
583 <groupId>org.apache.maven.plugins</groupId>
584 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400585 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400586 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400587 <plugin>
588 <groupId>org.apache.hyracks</groupId>
589 <artifactId>license-automation-plugin</artifactId>
590 <version>${project.version}</version>
591 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400592 <plugin>
593 <groupId>org.apache.maven.plugins</groupId>
594 <artifactId>maven-assembly-plugin</artifactId>
595 <version>3.1.0</version>
596 </plugin>
597 <plugin>
598 <groupId>org.apache.maven.plugins</groupId>
599 <artifactId>maven-antrun-plugin</artifactId>
600 <version>1.8</version>
601 </plugin>
602 <plugin>
603 <groupId>org.apache.maven.plugins</groupId>
604 <artifactId>maven-clean-plugin</artifactId>
605 <version>3.0.0</version>
606 </plugin>
607 <plugin>
608 <groupId>org.apache.maven.plugins</groupId>
609 <artifactId>maven-jar-plugin</artifactId>
610 <version>3.0.2</version>
611 </plugin>
612 <plugin>
613 <groupId>org.codehaus.mojo</groupId>
614 <artifactId>build-helper-maven-plugin</artifactId>
615 <version>3.0.0</version>
616 </plugin>
617 <plugin>
618 <groupId>org.apache.maven.plugins</groupId>
619 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400620 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400621 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400622 <plugin>
623 <groupId>org.apache.maven.doxia</groupId>
624 <artifactId>doxia-maven-plugin</artifactId>
625 <version>1.1.4</version>
626 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700627 </plugins>
628 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000629 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800630 <profiles>
631 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400632 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700633 <activation>
634 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400635 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700636 </file>
637 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400638 <properties>
639 <skip.assembly>true</skip.assembly>
640 </properties>
641 </profile>
642 <profile>
643 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700644 <build>
645 <plugins>
646 <plugin>
647 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500648 <artifactId>maven-jar-plugin</artifactId>
649 <configuration>
650 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500651 <addMavenDescriptor>true</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500652 <manifest>
653 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
654 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
655 </manifest>
656 </archive>
657 </configuration>
658 </plugin>
659 <plugin>
660 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700661 <artifactId>maven-assembly-plugin</artifactId>
662 <!-- We override the configuration plugin to override the descriptor to use for building
663 the source release zip. Specifically, we would like to control the inclusions/exclusions.
664 For example, we exclude the KEYS file from the zip -->
665 <executions>
666 <execution>
667 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
668 the apache parent POM under the apache-release profile -->
669 <id>source-release-assembly</id>
670 <phase>package</phase>
671 <goals>
672 <goal>single</goal>
673 </goals>
674 <!-- combine.self should be override to replace the configuration in the parent POM -->
675 <configuration combine.self="override">
676 <descriptors>
677 <descriptor>src/main/assembly/source.xml</descriptor>
678 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400679 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700680 </configuration>
681 </execution>
682 </executions>
683 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700684 <plugin>
685 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800686 <artifactId>maven-gpg-plugin</artifactId>
687 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700688 <executions>
689 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800690 <id>sign-artifacts</id>
691 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700692 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800693 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700694 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700695 </execution>
696 </executions>
697 </plugin>
698 </plugins>
699 </build>
700 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700701 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400702 <id>coverage</id>
703 <activation>
704 <property>
705 <name>coverage</name>
706 </property>
707 </activation>
708 <build>
709 <plugins>
710 <plugin>
711 <groupId>org.jacoco</groupId>
712 <artifactId>jacoco-maven-plugin</artifactId>
713 <version>${jacoco.version}</version>
714 <executions>
715 <execution>
716 <id>default-prepare-agent</id>
717 <goals>
718 <goal>prepare-agent</goal>
719 </goals>
720 <configuration>
721 <propertyName>coverageArgLine</propertyName>
722 </configuration>
723 </execution>
724 <execution>
725 <id>default-prepare-agent-integration</id>
726 <goals>
727 <goal>prepare-agent-integration</goal>
728 </goals>
729 <configuration>
730 <propertyName>coverageArgLine</propertyName>
731 </configuration>
732 </execution>
733 </executions>
734 </plugin>
735 </plugins>
736 </build>
737 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400738 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400739 </properties>
740 </profile>
741 <profile>
742 <id>no-coverage</id>
743 <activation>
744 <property>
745 <name>!coverage</name>
746 </property>
747 </activation>
748 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400749 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400750 </properties>
751 </profile>
752 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500753 <id>integration-tests-only</id>
754 <properties>
755 <test.includes/>
756 <failIfNoTests>false</failIfNoTests>
757 </properties>
758 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400759 <profile>
760 <id>java8</id>
761 <activation>
Michael Blow0de90812019-08-23 16:27:29 -0400762 <jdk>[1.8,)</jdk>
Michael Blowcedd9612018-07-25 13:25:02 -0400763 </activation>
764 <properties>
765 <target.jdk.version>8</target.jdk.version>
766 </properties>
767 </profile>
768 <profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400769 <id>java8-bootclasspath</id>
770 <activation>
771 <property>
772 <name>java8-bootclasspath</name>
773 </property>
774 </activation>
775 <properties>
776 <target.jdk.version>8</target.jdk.version>
777 </properties>
778 <build>
779 <plugins>
780 <plugin>
781 <groupId>org.apache.maven.plugins</groupId>
782 <artifactId>maven-compiler-plugin</artifactId>
783 <configuration>
784 <compilerArgs combine.children="append">
785 <arg>-bootclasspath</arg>
786 <arg>${java8-bootclasspath}</arg>
787 </compilerArgs>
788 </configuration>
789 </plugin>
790 </plugins>
791 </build>
792 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800793 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000794 <modules>
795 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000796 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500797 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000798 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400799</project>