blob: 94f5749472b5d091514b6684383cdca1a217ae13 [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 Blowbd7ba452018-10-31 15:08:26 -0400156 <version>2.9.7</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 Blowbd7ba452018-10-31 15:08:26 -0400161 <version>2.9.7</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 Blowbd7ba452018-10-31 15:08:26 -0400166 <version>2.9.7</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>
171 <version>18.0</version>
172 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500173 <dependency>
174 <groupId>org.apache.commons</groupId>
175 <artifactId>commons-lang3</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500176 <version>3.8.1</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500177 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500178 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500179 <groupId>org.apache.commons</groupId>
180 <artifactId>commons-collections4</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500181 <version>4.2</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500182 </dependency>
183 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800184 <groupId>org.apache.httpcomponents</groupId>
185 <artifactId>httpcore</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500186 <version>4.4.10</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800187 </dependency>
188 <dependency>
189 <groupId>org.apache.httpcomponents</groupId>
190 <artifactId>httpclient</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500191 <version>4.5.6</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800192 </dependency>
193 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500194 <groupId>org.apache.rat</groupId>
195 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500196 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500197 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500198 <dependency>
Till Westmann192478b2019-03-01 10:45:25 -0800199 <groupId>org.ini4j</groupId>
200 <artifactId>ini4j</artifactId>
201 <version>0.5.4</version>
202 </dependency>
203 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500204 <groupId>args4j</groupId>
205 <artifactId>args4j</artifactId>
206 <version>2.33</version>
207 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300208 <dependency>
209 <groupId>org.apache.logging.log4j</groupId>
210 <artifactId>log4j-api</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500211 <version>2.11.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300212 </dependency>
213 <dependency>
214 <groupId>org.apache.logging.log4j</groupId>
215 <artifactId>log4j-core</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500216 <version>2.11.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300217 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800218 <dependency>
219 <groupId>org.mockito</groupId>
220 <artifactId>mockito-all</artifactId>
221 <version>2.0.2-beta</version>
222 </dependency>
Michael Blow3477a2b2018-10-04 17:17:35 -0400223 <dependency>
224 <groupId>javax.xml.bind</groupId>
225 <artifactId>jaxb-api</artifactId>
226 <version>2.3.0</version>
227 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700228 </dependencies>
229 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000230 <build>
231 <plugins>
232 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400233 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500234 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500235 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500236 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500237 <exclude>**/DEPENDENCIES</exclude>
238 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500239 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500240 <addMavenDescriptor>false</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500241 <manifest>
242 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
243 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
244 </manifest>
245 <manifestEntries>
246 <Implementation-Title>${implementation.title}</Implementation-Title>
247 <Implementation-URL>${implementation.url}</Implementation-URL>
248 <Implementation-Version>${implementation.version}</Implementation-Version>
249 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
250 </manifestEntries>
251 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500252 </configuration>
253 </plugin>
254 <plugin>
255 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400256 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400257 <configuration>
258 <failOnWarning>true</failOnWarning>
259 <outputXML>true</outputXML>
260 </configuration>
261 <executions>
262 <execution>
263 <phase>process-test-classes</phase>
264 <goals>
265 <goal>analyze-only</goal>
266 </goals>
267 </execution>
268 </executions>
269 </plugin>
270 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700271 <groupId>org.apache.rat</groupId>
272 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700273 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700274 <execution>
275 <phase>validate</phase>
276 <goals>
277 <goal>check</goal>
278 </goals>
279 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700280 </executions>
281 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500282 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
283 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700284 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800285 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700286 </licenses>
287 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800288 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700289 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500290 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400291 <excludes combine.children="append">
292 <exclude>**/*.iml</exclude>
293 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700294 </configuration>
295 </plugin>
296 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700299 <configuration>
300 <failIfNoTests>false</failIfNoTests>
301 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800302 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800303 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300304 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700305 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300306 <systemPropertyVariables>
307 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
308 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700309 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500310 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700311 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500312 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500313 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800314 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400315 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700316 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700317 </plugin>
318 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700319 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300320 <artifactId>maven-failsafe-plugin</artifactId>
321 <configuration>
322 <systemPropertyVariables>
323 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
324 </systemPropertyVariables>
325 </configuration>
326 </plugin>
327 <plugin>
328 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700329 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700330 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400331 <source>${source.jdk.version}</source>
332 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500333 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700334 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000335 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700336 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-remote-resources-plugin</artifactId>
339 <executions>
340 <execution>
341 <goals>
342 <goal>process</goal>
343 </goals>
344 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500345 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700346 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700347 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500348 <properties>
349 <projectName>Apache Hyracks - ${project.name}</projectName>
350 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700351 </configuration>
352 </execution>
353 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800354 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400355 <plugin>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-checkstyle-plugin</artifactId>
358 <version>2.17</version>
359 <executions>
360 <execution>
361 <id>verify-style</id>
362 <phase>process-classes</phase>
363 <goals>
364 <goal>check</goal>
365 </goals>
366 </execution>
367 </executions>
368 <configuration>
369 <logViolationsToConsole>true</logViolationsToConsole>
370 <checkstyleRules>
371 <module name="Checker">
372 <!-- Checks for whitespace -->
373 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400374 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400375 </module>
376 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400377 <includes>**/*.java,**/*.jj</includes>
378 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400379 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
380 </configuration>
381 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400382 <plugin>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400385 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400386 <executions>
387 <execution>
388 <id>enforce-versions</id>
389 <goals>
390 <goal>enforce</goal>
391 </goals>
392 <configuration>
393 <rules>
394 <requireMavenVersion>
395 <version>[3.3.9,)</version>
396 </requireMavenVersion>
397 </rules>
398 </configuration>
399 </execution>
400 </executions>
401 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500402 <plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-resources-plugin</artifactId>
405 <executions>
406 <execution>
407 <id>default-testResources</id>
408 <goals>
409 <goal>testResources</goal>
410 </goals>
411 <configuration>
412 <skip>${skip.testResources}</skip>
413 </configuration>
414 </execution>
415 </executions>
416 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500417 <plugin>
418 <groupId>net.revelc.code.formatter</groupId>
419 <artifactId>formatter-maven-plugin</artifactId>
420 <executions>
421 <execution>
422 <goals>
423 <goal>${source-format.goal}</goal>
424 </goals>
425 </execution>
426 </executions>
427 <configuration>
428 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
429 <skipFormatting>${source-format.skip}</skipFormatting>
430 </configuration>
431 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400432 <plugin>
433 <groupId>net.revelc.code</groupId>
434 <artifactId>impsort-maven-plugin</artifactId>
435 <executions>
436 <execution>
437 <goals>
438 <goal>${import-sort.goal}</goal>
439 </goals>
440 </execution>
441 </executions>
442 <configuration>
443 <groups>java,javax,org,com,*</groups>
444 <removeUnused>true</removeUnused>
445 <skip>${import-sort.skip}</skip>
446 </configuration>
447 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000448 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700449 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700450 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500451 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400454 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800455 </plugin>
456 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500457 <groupId>org.apache.rat</groupId>
458 <artifactId>apache-rat-plugin</artifactId>
459 <version>0.12</version>
460 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700461 <plugin>
462 <groupId>net.revelc.code.formatter</groupId>
463 <artifactId>formatter-maven-plugin</artifactId>
464 <version>2.0.1</version>
465 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400466 <plugin>
467 <groupId>net.revelc.code</groupId>
468 <artifactId>impsort-maven-plugin</artifactId>
469 <version>1.2.0</version>
470 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700471 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
472 <plugin>
473 <groupId>org.eclipse.m2e</groupId>
474 <artifactId>lifecycle-mapping</artifactId>
475 <version>1.0.0</version>
476 <configuration>
477 <lifecycleMappingMetadata>
478 <pluginExecutions>
479 <pluginExecution>
480 <pluginExecutionFilter>
481 <groupId>org.apache.rat</groupId>
482 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400483 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700484 <goals>
485 <goal>check</goal>
486 </goals>
487 </pluginExecutionFilter>
488 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400489 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700490 </action>
491 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400492 <pluginExecution>
493 <pluginExecutionFilter>
494 <groupId>org.apache.maven.plugins</groupId>
495 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400496 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400497 <goals>
498 <goal>check</goal>
499 </goals>
500 </pluginExecutionFilter>
501 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400502 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400503 </action>
504 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700505 <pluginExecution>
506 <pluginExecutionFilter>
507 <groupId>org.apache.maven.plugins</groupId>
508 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400509 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700510 <goals>
511 <goal>analyze-only</goal>
512 </goals>
513 </pluginExecutionFilter>
514 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800515 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700516 </action>
517 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800518 <pluginExecution>
519 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800520 <groupId>net.revelc.code.formatter</groupId>
521 <artifactId>formatter-maven-plugin</artifactId>
522 <versionRange>[2.0.1,)</versionRange>
523 <goals>
524 <goal>format</goal>
525 </goals>
526 </pluginExecutionFilter>
527 <action>
528 <ignore></ignore>
529 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800530 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700531 </pluginExecutions>
532 </lifecycleMappingMetadata>
533 </configuration>
534 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800535 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500536 <groupId>org.codehaus.mojo</groupId>
537 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400538 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800539 </plugin>
540 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-scm-plugin</artifactId>
543 <version>1.9.5</version>
544 </plugin>
545 <plugin>
546 <groupId>org.codehaus.mojo</groupId>
547 <artifactId>appassembler-maven-plugin</artifactId>
548 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800549 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400550 <plugin>
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400553 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400554 </plugin>
555 <plugin>
556 <groupId>org.apache.maven.plugins</groupId>
557 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400558 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400559 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400560 <plugin>
561 <groupId>org.apache.hyracks</groupId>
562 <artifactId>license-automation-plugin</artifactId>
563 <version>${project.version}</version>
564 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400565 <plugin>
566 <groupId>org.apache.maven.plugins</groupId>
567 <artifactId>maven-assembly-plugin</artifactId>
568 <version>3.1.0</version>
569 </plugin>
570 <plugin>
571 <groupId>org.apache.maven.plugins</groupId>
572 <artifactId>maven-antrun-plugin</artifactId>
573 <version>1.8</version>
574 </plugin>
575 <plugin>
576 <groupId>org.apache.maven.plugins</groupId>
577 <artifactId>maven-clean-plugin</artifactId>
578 <version>3.0.0</version>
579 </plugin>
580 <plugin>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-jar-plugin</artifactId>
583 <version>3.0.2</version>
584 </plugin>
585 <plugin>
586 <groupId>org.codehaus.mojo</groupId>
587 <artifactId>build-helper-maven-plugin</artifactId>
588 <version>3.0.0</version>
589 </plugin>
590 <plugin>
591 <groupId>org.apache.maven.plugins</groupId>
592 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400593 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400594 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400595 <plugin>
596 <groupId>org.apache.maven.doxia</groupId>
597 <artifactId>doxia-maven-plugin</artifactId>
598 <version>1.1.4</version>
599 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700600 </plugins>
601 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000602 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800603 <profiles>
604 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400605 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700606 <activation>
607 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400608 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700609 </file>
610 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400611 <properties>
612 <skip.assembly>true</skip.assembly>
613 </properties>
614 </profile>
615 <profile>
616 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700617 <build>
618 <plugins>
619 <plugin>
620 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500621 <artifactId>maven-jar-plugin</artifactId>
622 <configuration>
623 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500624 <addMavenDescriptor>true</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500625 <manifest>
626 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
627 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
628 </manifest>
629 </archive>
630 </configuration>
631 </plugin>
632 <plugin>
633 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700634 <artifactId>maven-assembly-plugin</artifactId>
635 <!-- We override the configuration plugin to override the descriptor to use for building
636 the source release zip. Specifically, we would like to control the inclusions/exclusions.
637 For example, we exclude the KEYS file from the zip -->
638 <executions>
639 <execution>
640 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
641 the apache parent POM under the apache-release profile -->
642 <id>source-release-assembly</id>
643 <phase>package</phase>
644 <goals>
645 <goal>single</goal>
646 </goals>
647 <!-- combine.self should be override to replace the configuration in the parent POM -->
648 <configuration combine.self="override">
649 <descriptors>
650 <descriptor>src/main/assembly/source.xml</descriptor>
651 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400652 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700653 </configuration>
654 </execution>
655 </executions>
656 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700657 <plugin>
658 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800659 <artifactId>maven-gpg-plugin</artifactId>
660 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700661 <executions>
662 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800663 <id>sign-artifacts</id>
664 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700665 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800666 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700667 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700668 </execution>
669 </executions>
670 </plugin>
671 </plugins>
672 </build>
673 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700674 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400675 <id>coverage</id>
676 <activation>
677 <property>
678 <name>coverage</name>
679 </property>
680 </activation>
681 <build>
682 <plugins>
683 <plugin>
684 <groupId>org.jacoco</groupId>
685 <artifactId>jacoco-maven-plugin</artifactId>
686 <version>${jacoco.version}</version>
687 <executions>
688 <execution>
689 <id>default-prepare-agent</id>
690 <goals>
691 <goal>prepare-agent</goal>
692 </goals>
693 <configuration>
694 <propertyName>coverageArgLine</propertyName>
695 </configuration>
696 </execution>
697 <execution>
698 <id>default-prepare-agent-integration</id>
699 <goals>
700 <goal>prepare-agent-integration</goal>
701 </goals>
702 <configuration>
703 <propertyName>coverageArgLine</propertyName>
704 </configuration>
705 </execution>
706 </executions>
707 </plugin>
708 </plugins>
709 </build>
710 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400711 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400712 </properties>
713 </profile>
714 <profile>
715 <id>no-coverage</id>
716 <activation>
717 <property>
718 <name>!coverage</name>
719 </property>
720 </activation>
721 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400722 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400723 </properties>
724 </profile>
725 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500726 <id>integration-tests-only</id>
727 <properties>
728 <test.includes/>
729 <failIfNoTests>false</failIfNoTests>
730 </properties>
731 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400732 <profile>
733 <id>java8</id>
734 <activation>
735 <jdk>1.8</jdk>
736 </activation>
737 <properties>
738 <target.jdk.version>8</target.jdk.version>
739 </properties>
740 </profile>
741 <profile>
742 <id>java9</id>
743 <activation>
744 <jdk>9</jdk>
745 </activation>
746 <properties>
747 <target.jdk.version>9</target.jdk.version>
748 </properties>
749 </profile>
750 <profile>
751 <id>java10</id>
752 <activation>
753 <jdk>10</jdk>
754 </activation>
755 <properties>
756 <target.jdk.version>10</target.jdk.version>
757 </properties>
758 </profile>
759 <profile>
760 <id>java11</id>
761 <activation>
762 <jdk>11</jdk>
763 </activation>
764 <properties>
Michael Blow3477a2b2018-10-04 17:17:35 -0400765 <!-- several plugins do not yet support Java 11 classes (maven-plugin-plugin, maven-dependency-plugin) -->
766 <target.jdk.version>10</target.jdk.version>
Michael Blowcedd9612018-07-25 13:25:02 -0400767 </properties>
768 </profile>
769 <profile>
770 <id>java8-bootclasspath</id>
771 <activation>
772 <property>
773 <name>java8-bootclasspath</name>
774 </property>
775 </activation>
776 <properties>
777 <target.jdk.version>8</target.jdk.version>
778 </properties>
779 <build>
780 <plugins>
781 <plugin>
782 <groupId>org.apache.maven.plugins</groupId>
783 <artifactId>maven-compiler-plugin</artifactId>
784 <configuration>
785 <compilerArgs combine.children="append">
786 <arg>-bootclasspath</arg>
787 <arg>${java8-bootclasspath}</arg>
788 </compilerArgs>
789 </configuration>
790 </plugin>
791 </plugins>
792 </build>
793 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800794 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000795 <modules>
796 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000797 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500798 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000799 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400800</project>