blob: 79c1e2ddce5e80cbdbd0f4c2e159325321d53bb0 [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>
Ian Maxon3bb92132019-02-12 22:20:25 -080058 <maven.test.skip>false</maven.test.skip>
Michael Blowe30c9d32018-01-20 09:42:19 -050059 <skipTests>false</skipTests>
Michael Blowdd920be2017-06-07 15:04:33 -040060 <skip.surefire.tests>${skipTests}</skip.surefire.tests>
Michael Blow7626d162017-12-10 14:26:56 -050061 <skip.testResources>${maven.test.skip}</skip.testResources>
Michael Blow2530e392018-02-06 01:19:42 -050062 <testLog4jConfigFile>${root.dir}/src/test/resources/log4j2-hyracks-test.xml</testLog4jConfigFile>
Michael Blowb4c1fb02016-05-09 15:41:00 -070063 <!-- Definition of tests in various categories which may be excluded -->
Michael Blowb4c1fb02016-05-09 15:41:00 -070064 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
65 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
Michael Blow64d49fb2018-02-11 15:43:47 -050066 <global.test.excludes>**/Abstract*.java,${hivesterix.perf.tests}</global.test.excludes>
Michael Blowe30c9d32018-01-20 09:42:19 -050067 <test.includes>${global.test.includes}</test.includes>
68 <test.excludes>${global.test.excludes}</test.excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -070069 <!-- Versions under dependencymanagement or used in many projects via properties -->
Michael Blow3477a2b2018-10-04 17:17:35 -040070 <hadoop.version>2.8.5</hadoop.version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070071 <jacoco.version>0.7.6.201602180812</jacoco.version>
Michael Blow38ca9622018-02-28 11:44:43 -050072
Michael Blowcbfe8f92018-02-28 14:02:38 -050073 <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
Michael Blow38ca9622018-02-28 11:44:43 -050074 <implementation.url>https://asterixdb.apache.org/</implementation.url>
75 <implementation.version>${project.version}</implementation.version>
76 <implementation.vendor>${project.organization.name}</implementation.vendor>
Michael Blowb4c1fb02016-05-09 15:41:00 -070077 </properties>
78 <dependencyManagement>
79 <dependencies>
80 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080081 <groupId>io.netty</groupId>
82 <artifactId>netty-all</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -050083 <version>4.1.32.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -080084 </dependency>
85 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070086 <groupId>junit</groupId>
87 <artifactId>junit</artifactId>
Michael Blow599ef8f2017-01-12 11:02:53 -050088 <version>4.12</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070089 </dependency>
90 <dependency>
91 <groupId>org.apache.hadoop</groupId>
92 <artifactId>hadoop-yarn-client</artifactId>
93 <version>${hadoop.version}</version>
94 </dependency>
95 <dependency>
96 <groupId>org.apache.hadoop</groupId>
97 <artifactId>hadoop-client</artifactId>
98 <version>${hadoop.version}</version>
99 </dependency>
100 <dependency>
101 <groupId>org.apache.hadoop</groupId>
102 <artifactId>hadoop-common</artifactId>
103 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400104 <exclusions>
105 <exclusion>
106 <groupId>javax.servlet.jsp</groupId>
107 <artifactId>jsp-api</artifactId>
108 </exclusion>
109 <exclusion>
110 <groupId>javax.servlet</groupId>
111 <artifactId>servlet-api</artifactId>
112 </exclusion>
113 <exclusion>
114 <groupId>jdk.tools</groupId>
115 <artifactId>jdk.tools</artifactId>
116 </exclusion>
117 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700118 </dependency>
119 <dependency>
120 <groupId>org.apache.hadoop</groupId>
121 <artifactId>hadoop-hdfs</artifactId>
122 <version>${hadoop.version}</version>
123 </dependency>
124 <dependency>
125 <groupId>org.apache.hadoop</groupId>
126 <artifactId>hadoop-minicluster</artifactId>
127 <version>${hadoop.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>org.apache.hadoop</groupId>
131 <artifactId>hadoop-mapreduce-client-core</artifactId>
132 <version>${hadoop.version}</version>
133 </dependency>
134 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400135 <groupId>org.apache.hadoop</groupId>
136 <artifactId>hadoop-hdfs</artifactId>
137 <version>${hadoop.version}</version>
138 <classifier>tests</classifier>
139 <scope>test</scope>
140 </dependency>
141 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700142 <groupId>commons-io</groupId>
143 <artifactId>commons-io</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500144 <version>2.6</version>
145 </dependency>
146 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400147 <groupId>org.apache.commons</groupId>
148 <artifactId>commons-text</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500149 <version>1.6</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400150 </dependency>
151 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800152 <groupId>com.fasterxml.jackson.core</groupId>
153 <artifactId>jackson-databind</artifactId>
Michael Blowbd7ba452018-10-31 15:08:26 -0400154 <version>2.9.7</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800155 </dependency>
156 <dependency>
157 <groupId>com.fasterxml.jackson.core</groupId>
158 <artifactId>jackson-core</artifactId>
Michael Blowbd7ba452018-10-31 15:08:26 -0400159 <version>2.9.7</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800160 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500161 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500162 <groupId>com.fasterxml.jackson.core</groupId>
163 <artifactId>jackson-annotations</artifactId>
Michael Blowbd7ba452018-10-31 15:08:26 -0400164 <version>2.9.7</version>
Michael Blow204b2952017-12-07 20:17:47 -0500165 </dependency>
166 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500167 <groupId>com.google.guava</groupId>
168 <artifactId>guava</artifactId>
169 <version>18.0</version>
170 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500171 <dependency>
172 <groupId>org.apache.commons</groupId>
173 <artifactId>commons-lang3</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500174 <version>3.8.1</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500175 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500176 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500177 <groupId>org.apache.commons</groupId>
178 <artifactId>commons-collections4</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500179 <version>4.2</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500180 </dependency>
181 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800182 <groupId>org.apache.httpcomponents</groupId>
183 <artifactId>httpcore</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500184 <version>4.4.10</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800185 </dependency>
186 <dependency>
187 <groupId>org.apache.httpcomponents</groupId>
188 <artifactId>httpclient</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500189 <version>4.5.6</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800190 </dependency>
191 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500192 <groupId>org.apache.rat</groupId>
193 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500194 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500195 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500196 <dependency>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700197 <groupId>net.revelc.code.formatter</groupId>
198 <artifactId>formatter-maven-plugin</artifactId>
199 <version>2.0.1</version>
200 </dependency>
201 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500202 <groupId>args4j</groupId>
203 <artifactId>args4j</artifactId>
204 <version>2.33</version>
205 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300206 <dependency>
207 <groupId>org.apache.logging.log4j</groupId>
208 <artifactId>log4j-api</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500209 <version>2.11.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300210 </dependency>
211 <dependency>
212 <groupId>org.apache.logging.log4j</groupId>
213 <artifactId>log4j-core</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500214 <version>2.11.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300215 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800216 <dependency>
217 <groupId>org.mockito</groupId>
218 <artifactId>mockito-all</artifactId>
219 <version>2.0.2-beta</version>
220 </dependency>
Michael Blow3477a2b2018-10-04 17:17:35 -0400221 <dependency>
222 <groupId>javax.xml.bind</groupId>
223 <artifactId>jaxb-api</artifactId>
224 <version>2.3.0</version>
225 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700226 </dependencies>
227 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000228 <build>
229 <plugins>
230 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400231 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500232 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500233 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500234 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500235 <exclude>**/DEPENDENCIES</exclude>
236 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500237 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500238 <addMavenDescriptor>false</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500239 <manifest>
240 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
241 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
242 </manifest>
243 <manifestEntries>
244 <Implementation-Title>${implementation.title}</Implementation-Title>
245 <Implementation-URL>${implementation.url}</Implementation-URL>
246 <Implementation-Version>${implementation.version}</Implementation-Version>
247 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
248 </manifestEntries>
249 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500250 </configuration>
251 </plugin>
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400254 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400255 <configuration>
256 <failOnWarning>true</failOnWarning>
257 <outputXML>true</outputXML>
258 </configuration>
259 <executions>
260 <execution>
261 <phase>process-test-classes</phase>
262 <goals>
263 <goal>analyze-only</goal>
264 </goals>
265 </execution>
266 </executions>
267 </plugin>
268 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700269 <groupId>org.apache.rat</groupId>
270 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700271 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700272 <execution>
273 <phase>validate</phase>
274 <goals>
275 <goal>check</goal>
276 </goals>
277 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700278 </executions>
279 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500280 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
281 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700282 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800283 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700284 </licenses>
285 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800286 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700287 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500288 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400289 <excludes combine.children="append">
290 <exclude>**/*.iml</exclude>
291 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700292 </configuration>
293 </plugin>
294 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700297 <configuration>
298 <failIfNoTests>false</failIfNoTests>
299 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800300 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800301 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300302 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700303 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300304 <systemPropertyVariables>
305 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
306 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700307 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500308 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700309 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500310 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500311 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800312 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400313 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700314 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700315 </plugin>
316 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700317 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300318 <artifactId>maven-failsafe-plugin</artifactId>
319 <configuration>
320 <systemPropertyVariables>
321 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
322 </systemPropertyVariables>
323 </configuration>
324 </plugin>
325 <plugin>
326 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700327 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700328 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400329 <source>${source.jdk.version}</source>
330 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500331 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700332 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000333 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700334 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700335 <groupId>org.apache.maven.plugins</groupId>
336 <artifactId>maven-remote-resources-plugin</artifactId>
337 <executions>
338 <execution>
339 <goals>
340 <goal>process</goal>
341 </goals>
342 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500343 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700344 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700345 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500346 <properties>
347 <projectName>Apache Hyracks - ${project.name}</projectName>
348 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700349 </configuration>
350 </execution>
351 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800352 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400353 <plugin>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-checkstyle-plugin</artifactId>
356 <version>2.17</version>
357 <executions>
358 <execution>
359 <id>verify-style</id>
360 <phase>process-classes</phase>
361 <goals>
362 <goal>check</goal>
363 </goals>
364 </execution>
365 </executions>
366 <configuration>
367 <logViolationsToConsole>true</logViolationsToConsole>
368 <checkstyleRules>
369 <module name="Checker">
370 <!-- Checks for whitespace -->
371 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400372 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400373 </module>
374 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400375 <includes>**/*.java,**/*.jj</includes>
376 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400377 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
378 </configuration>
379 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400380 <plugin>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400383 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400384 <executions>
385 <execution>
386 <id>enforce-versions</id>
387 <goals>
388 <goal>enforce</goal>
389 </goals>
390 <configuration>
391 <rules>
392 <requireMavenVersion>
393 <version>[3.3.9,)</version>
394 </requireMavenVersion>
395 </rules>
396 </configuration>
397 </execution>
398 </executions>
399 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500400 <plugin>
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-resources-plugin</artifactId>
403 <executions>
404 <execution>
405 <id>default-testResources</id>
406 <goals>
407 <goal>testResources</goal>
408 </goals>
409 <configuration>
410 <skip>${skip.testResources}</skip>
411 </configuration>
412 </execution>
413 </executions>
414 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500415 <plugin>
416 <groupId>net.revelc.code.formatter</groupId>
417 <artifactId>formatter-maven-plugin</artifactId>
418 <executions>
419 <execution>
420 <goals>
421 <goal>${source-format.goal}</goal>
422 </goals>
423 </execution>
424 </executions>
425 <configuration>
426 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
427 <skipFormatting>${source-format.skip}</skipFormatting>
428 </configuration>
429 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000430 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700431 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700432 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500433 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800434 <groupId>org.apache.maven.plugins</groupId>
435 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400436 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800437 </plugin>
438 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500439 <groupId>org.apache.rat</groupId>
440 <artifactId>apache-rat-plugin</artifactId>
441 <version>0.12</version>
442 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700443 <plugin>
444 <groupId>net.revelc.code.formatter</groupId>
445 <artifactId>formatter-maven-plugin</artifactId>
446 <version>2.0.1</version>
447 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700448 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
449 <plugin>
450 <groupId>org.eclipse.m2e</groupId>
451 <artifactId>lifecycle-mapping</artifactId>
452 <version>1.0.0</version>
453 <configuration>
454 <lifecycleMappingMetadata>
455 <pluginExecutions>
456 <pluginExecution>
457 <pluginExecutionFilter>
458 <groupId>org.apache.rat</groupId>
459 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400460 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700461 <goals>
462 <goal>check</goal>
463 </goals>
464 </pluginExecutionFilter>
465 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400466 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700467 </action>
468 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400469 <pluginExecution>
470 <pluginExecutionFilter>
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400473 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400474 <goals>
475 <goal>check</goal>
476 </goals>
477 </pluginExecutionFilter>
478 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400479 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400480 </action>
481 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700482 <pluginExecution>
483 <pluginExecutionFilter>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400486 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700487 <goals>
488 <goal>analyze-only</goal>
489 </goals>
490 </pluginExecutionFilter>
491 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800492 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700493 </action>
494 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800495 <pluginExecution>
496 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800497 <groupId>net.revelc.code.formatter</groupId>
498 <artifactId>formatter-maven-plugin</artifactId>
499 <versionRange>[2.0.1,)</versionRange>
500 <goals>
501 <goal>format</goal>
502 </goals>
503 </pluginExecutionFilter>
504 <action>
505 <ignore></ignore>
506 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800507 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700508 </pluginExecutions>
509 </lifecycleMappingMetadata>
510 </configuration>
511 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800512 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500513 <groupId>org.codehaus.mojo</groupId>
514 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400515 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800516 </plugin>
517 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500518 <groupId>org.apache.maven.plugins</groupId>
519 <artifactId>maven-scm-plugin</artifactId>
520 <version>1.9.5</version>
521 </plugin>
522 <plugin>
523 <groupId>org.codehaus.mojo</groupId>
524 <artifactId>appassembler-maven-plugin</artifactId>
525 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800526 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400527 <plugin>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400530 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400531 </plugin>
532 <plugin>
533 <groupId>org.apache.maven.plugins</groupId>
534 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400535 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400536 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400537 <plugin>
538 <groupId>org.apache.hyracks</groupId>
539 <artifactId>license-automation-plugin</artifactId>
540 <version>${project.version}</version>
541 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400542 <plugin>
543 <groupId>org.apache.maven.plugins</groupId>
544 <artifactId>maven-assembly-plugin</artifactId>
545 <version>3.1.0</version>
546 </plugin>
547 <plugin>
548 <groupId>org.apache.maven.plugins</groupId>
549 <artifactId>maven-antrun-plugin</artifactId>
550 <version>1.8</version>
551 </plugin>
552 <plugin>
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-clean-plugin</artifactId>
555 <version>3.0.0</version>
556 </plugin>
557 <plugin>
558 <groupId>org.apache.maven.plugins</groupId>
559 <artifactId>maven-jar-plugin</artifactId>
560 <version>3.0.2</version>
561 </plugin>
562 <plugin>
563 <groupId>org.codehaus.mojo</groupId>
564 <artifactId>build-helper-maven-plugin</artifactId>
565 <version>3.0.0</version>
566 </plugin>
567 <plugin>
568 <groupId>org.apache.maven.plugins</groupId>
569 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400570 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400571 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400572 <plugin>
573 <groupId>org.apache.maven.doxia</groupId>
574 <artifactId>doxia-maven-plugin</artifactId>
575 <version>1.1.4</version>
576 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700577 </plugins>
578 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000579 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800580 <profiles>
581 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400582 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700583 <activation>
584 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400585 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700586 </file>
587 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400588 <properties>
589 <skip.assembly>true</skip.assembly>
590 </properties>
591 </profile>
592 <profile>
593 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700594 <build>
595 <plugins>
596 <plugin>
597 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500598 <artifactId>maven-jar-plugin</artifactId>
599 <configuration>
600 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500601 <addMavenDescriptor>true</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500602 <manifest>
603 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
604 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
605 </manifest>
606 </archive>
607 </configuration>
608 </plugin>
609 <plugin>
610 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700611 <artifactId>maven-assembly-plugin</artifactId>
612 <!-- We override the configuration plugin to override the descriptor to use for building
613 the source release zip. Specifically, we would like to control the inclusions/exclusions.
614 For example, we exclude the KEYS file from the zip -->
615 <executions>
616 <execution>
617 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
618 the apache parent POM under the apache-release profile -->
619 <id>source-release-assembly</id>
620 <phase>package</phase>
621 <goals>
622 <goal>single</goal>
623 </goals>
624 <!-- combine.self should be override to replace the configuration in the parent POM -->
625 <configuration combine.self="override">
626 <descriptors>
627 <descriptor>src/main/assembly/source.xml</descriptor>
628 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400629 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700630 </configuration>
631 </execution>
632 </executions>
633 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700634 <plugin>
635 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800636 <artifactId>maven-gpg-plugin</artifactId>
637 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700638 <executions>
639 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800640 <id>sign-artifacts</id>
641 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700642 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800643 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700644 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700645 </execution>
646 </executions>
647 </plugin>
648 </plugins>
649 </build>
650 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700651 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400652 <id>coverage</id>
653 <activation>
654 <property>
655 <name>coverage</name>
656 </property>
657 </activation>
658 <build>
659 <plugins>
660 <plugin>
661 <groupId>org.jacoco</groupId>
662 <artifactId>jacoco-maven-plugin</artifactId>
663 <version>${jacoco.version}</version>
664 <executions>
665 <execution>
666 <id>default-prepare-agent</id>
667 <goals>
668 <goal>prepare-agent</goal>
669 </goals>
670 <configuration>
671 <propertyName>coverageArgLine</propertyName>
672 </configuration>
673 </execution>
674 <execution>
675 <id>default-prepare-agent-integration</id>
676 <goals>
677 <goal>prepare-agent-integration</goal>
678 </goals>
679 <configuration>
680 <propertyName>coverageArgLine</propertyName>
681 </configuration>
682 </execution>
683 </executions>
684 </plugin>
685 </plugins>
686 </build>
687 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400688 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400689 </properties>
690 </profile>
691 <profile>
692 <id>no-coverage</id>
693 <activation>
694 <property>
695 <name>!coverage</name>
696 </property>
697 </activation>
698 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400699 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400700 </properties>
701 </profile>
702 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500703 <id>integration-tests-only</id>
704 <properties>
705 <test.includes/>
706 <failIfNoTests>false</failIfNoTests>
707 </properties>
708 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400709 <profile>
710 <id>java8</id>
711 <activation>
712 <jdk>1.8</jdk>
713 </activation>
714 <properties>
715 <target.jdk.version>8</target.jdk.version>
716 </properties>
717 </profile>
718 <profile>
719 <id>java9</id>
720 <activation>
721 <jdk>9</jdk>
722 </activation>
723 <properties>
724 <target.jdk.version>9</target.jdk.version>
725 </properties>
726 </profile>
727 <profile>
728 <id>java10</id>
729 <activation>
730 <jdk>10</jdk>
731 </activation>
732 <properties>
733 <target.jdk.version>10</target.jdk.version>
734 </properties>
735 </profile>
736 <profile>
737 <id>java11</id>
738 <activation>
739 <jdk>11</jdk>
740 </activation>
741 <properties>
Michael Blow3477a2b2018-10-04 17:17:35 -0400742 <!-- several plugins do not yet support Java 11 classes (maven-plugin-plugin, maven-dependency-plugin) -->
743 <target.jdk.version>10</target.jdk.version>
Michael Blowcedd9612018-07-25 13:25:02 -0400744 </properties>
745 </profile>
746 <profile>
747 <id>java8-bootclasspath</id>
748 <activation>
749 <property>
750 <name>java8-bootclasspath</name>
751 </property>
752 </activation>
753 <properties>
754 <target.jdk.version>8</target.jdk.version>
755 </properties>
756 <build>
757 <plugins>
758 <plugin>
759 <groupId>org.apache.maven.plugins</groupId>
760 <artifactId>maven-compiler-plugin</artifactId>
761 <configuration>
762 <compilerArgs combine.children="append">
763 <arg>-bootclasspath</arg>
764 <arg>${java8-bootclasspath}</arg>
765 </compilerArgs>
766 </configuration>
767 </plugin>
768 </plugins>
769 </build>
770 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800771 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000772 <modules>
773 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000774 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500775 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000776 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400777</project>