blob: f7dc596820ec02225581ca7883ff48ddd71a9518 [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 Jenkins0948b242017-11-20 15:56:08 -080024 <version>0.3.4-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 Blow7311b032018-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 Blow7311b032018-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>
238 <manifest>
239 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
240 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
241 </manifest>
242 <manifestEntries>
243 <Implementation-Title>${implementation.title}</Implementation-Title>
244 <Implementation-URL>${implementation.url}</Implementation-URL>
245 <Implementation-Version>${implementation.version}</Implementation-Version>
246 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
247 </manifestEntries>
248 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500249 </configuration>
250 </plugin>
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400253 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400254 <configuration>
255 <failOnWarning>true</failOnWarning>
256 <outputXML>true</outputXML>
257 </configuration>
258 <executions>
259 <execution>
260 <phase>process-test-classes</phase>
261 <goals>
262 <goal>analyze-only</goal>
263 </goals>
264 </execution>
265 </executions>
266 </plugin>
267 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700268 <groupId>org.apache.rat</groupId>
269 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700270 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700271 <execution>
272 <phase>validate</phase>
273 <goals>
274 <goal>check</goal>
275 </goals>
276 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700277 </executions>
278 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500279 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
280 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700281 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800282 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700283 </licenses>
284 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800285 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700286 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500287 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400288 <excludes combine.children="append">
289 <exclude>**/*.iml</exclude>
290 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700291 </configuration>
292 </plugin>
293 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700296 <configuration>
297 <failIfNoTests>false</failIfNoTests>
298 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800299 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800300 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300301 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700302 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300303 <systemPropertyVariables>
304 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
305 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700306 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500307 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700308 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500309 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500310 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800311 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400312 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700313 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700314 </plugin>
315 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700316 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300317 <artifactId>maven-failsafe-plugin</artifactId>
318 <configuration>
319 <systemPropertyVariables>
320 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
321 </systemPropertyVariables>
322 </configuration>
323 </plugin>
324 <plugin>
325 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700326 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700327 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400328 <source>${source.jdk.version}</source>
329 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500330 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700331 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000332 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700333 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-remote-resources-plugin</artifactId>
336 <executions>
337 <execution>
338 <goals>
339 <goal>process</goal>
340 </goals>
341 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500342 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700343 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700344 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500345 <properties>
346 <projectName>Apache Hyracks - ${project.name}</projectName>
347 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700348 </configuration>
349 </execution>
350 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800351 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400352 <plugin>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-checkstyle-plugin</artifactId>
355 <version>2.17</version>
356 <executions>
357 <execution>
358 <id>verify-style</id>
359 <phase>process-classes</phase>
360 <goals>
361 <goal>check</goal>
362 </goals>
363 </execution>
364 </executions>
365 <configuration>
366 <logViolationsToConsole>true</logViolationsToConsole>
367 <checkstyleRules>
368 <module name="Checker">
369 <!-- Checks for whitespace -->
370 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400371 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400372 </module>
373 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400374 <includes>**/*.java,**/*.jj</includes>
375 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400376 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
377 </configuration>
378 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400379 <plugin>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400382 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400383 <executions>
384 <execution>
385 <id>enforce-versions</id>
386 <goals>
387 <goal>enforce</goal>
388 </goals>
389 <configuration>
390 <rules>
391 <requireMavenVersion>
392 <version>[3.3.9,)</version>
393 </requireMavenVersion>
394 </rules>
395 </configuration>
396 </execution>
397 </executions>
398 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500399 <plugin>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-resources-plugin</artifactId>
402 <executions>
403 <execution>
404 <id>default-testResources</id>
405 <goals>
406 <goal>testResources</goal>
407 </goals>
408 <configuration>
409 <skip>${skip.testResources}</skip>
410 </configuration>
411 </execution>
412 </executions>
413 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500414 <plugin>
415 <groupId>net.revelc.code.formatter</groupId>
416 <artifactId>formatter-maven-plugin</artifactId>
417 <executions>
418 <execution>
419 <goals>
420 <goal>${source-format.goal}</goal>
421 </goals>
422 </execution>
423 </executions>
424 <configuration>
425 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
426 <skipFormatting>${source-format.skip}</skipFormatting>
427 </configuration>
428 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000429 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700430 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700431 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500432 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow7311b032018-10-04 17:17:35 -0400435 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800436 </plugin>
437 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500438 <groupId>org.apache.rat</groupId>
439 <artifactId>apache-rat-plugin</artifactId>
440 <version>0.12</version>
441 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700442 <plugin>
443 <groupId>net.revelc.code.formatter</groupId>
444 <artifactId>formatter-maven-plugin</artifactId>
445 <version>2.0.1</version>
446 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700447 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
448 <plugin>
449 <groupId>org.eclipse.m2e</groupId>
450 <artifactId>lifecycle-mapping</artifactId>
451 <version>1.0.0</version>
452 <configuration>
453 <lifecycleMappingMetadata>
454 <pluginExecutions>
455 <pluginExecution>
456 <pluginExecutionFilter>
457 <groupId>org.apache.rat</groupId>
458 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400459 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700460 <goals>
461 <goal>check</goal>
462 </goals>
463 </pluginExecutionFilter>
464 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400465 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700466 </action>
467 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400468 <pluginExecution>
469 <pluginExecutionFilter>
470 <groupId>org.apache.maven.plugins</groupId>
471 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400472 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400473 <goals>
474 <goal>check</goal>
475 </goals>
476 </pluginExecutionFilter>
477 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400478 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400479 </action>
480 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700481 <pluginExecution>
482 <pluginExecutionFilter>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400485 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700486 <goals>
487 <goal>analyze-only</goal>
488 </goals>
489 </pluginExecutionFilter>
490 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800491 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700492 </action>
493 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800494 <pluginExecution>
495 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800496 <groupId>net.revelc.code.formatter</groupId>
497 <artifactId>formatter-maven-plugin</artifactId>
498 <versionRange>[2.0.1,)</versionRange>
499 <goals>
500 <goal>format</goal>
501 </goals>
502 </pluginExecutionFilter>
503 <action>
504 <ignore></ignore>
505 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800506 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700507 </pluginExecutions>
508 </lifecycleMappingMetadata>
509 </configuration>
510 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800511 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500512 <groupId>org.codehaus.mojo</groupId>
513 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400514 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800515 </plugin>
516 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-scm-plugin</artifactId>
519 <version>1.9.5</version>
520 </plugin>
521 <plugin>
522 <groupId>org.codehaus.mojo</groupId>
523 <artifactId>appassembler-maven-plugin</artifactId>
524 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800525 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400526 <plugin>
527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400529 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400530 </plugin>
531 <plugin>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400534 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400535 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400536 <plugin>
537 <groupId>org.apache.hyracks</groupId>
538 <artifactId>license-automation-plugin</artifactId>
539 <version>${project.version}</version>
540 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400541 <plugin>
542 <groupId>org.apache.maven.plugins</groupId>
543 <artifactId>maven-assembly-plugin</artifactId>
544 <version>3.1.0</version>
545 </plugin>
546 <plugin>
547 <groupId>org.apache.maven.plugins</groupId>
548 <artifactId>maven-antrun-plugin</artifactId>
549 <version>1.8</version>
550 </plugin>
551 <plugin>
552 <groupId>org.apache.maven.plugins</groupId>
553 <artifactId>maven-clean-plugin</artifactId>
554 <version>3.0.0</version>
555 </plugin>
556 <plugin>
557 <groupId>org.apache.maven.plugins</groupId>
558 <artifactId>maven-jar-plugin</artifactId>
559 <version>3.0.2</version>
560 </plugin>
561 <plugin>
562 <groupId>org.codehaus.mojo</groupId>
563 <artifactId>build-helper-maven-plugin</artifactId>
564 <version>3.0.0</version>
565 </plugin>
566 <plugin>
567 <groupId>org.apache.maven.plugins</groupId>
568 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400569 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400570 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400571 <plugin>
572 <groupId>org.apache.maven.doxia</groupId>
573 <artifactId>doxia-maven-plugin</artifactId>
574 <version>1.1.4</version>
575 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700576 </plugins>
577 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000578 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800579 <profiles>
580 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400581 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700582 <activation>
583 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400584 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700585 </file>
586 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400587 <properties>
588 <skip.assembly>true</skip.assembly>
589 </properties>
590 </profile>
591 <profile>
592 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700593 <build>
594 <plugins>
595 <plugin>
596 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500597 <artifactId>maven-jar-plugin</artifactId>
598 <configuration>
599 <archive>
600 <manifest>
601 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
602 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
603 </manifest>
604 </archive>
605 </configuration>
606 </plugin>
607 <plugin>
608 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700609 <artifactId>maven-assembly-plugin</artifactId>
610 <!-- We override the configuration plugin to override the descriptor to use for building
611 the source release zip. Specifically, we would like to control the inclusions/exclusions.
612 For example, we exclude the KEYS file from the zip -->
613 <executions>
614 <execution>
615 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
616 the apache parent POM under the apache-release profile -->
617 <id>source-release-assembly</id>
618 <phase>package</phase>
619 <goals>
620 <goal>single</goal>
621 </goals>
622 <!-- combine.self should be override to replace the configuration in the parent POM -->
623 <configuration combine.self="override">
624 <descriptors>
625 <descriptor>src/main/assembly/source.xml</descriptor>
626 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400627 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700628 </configuration>
629 </execution>
630 </executions>
631 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700632 <plugin>
633 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800634 <artifactId>maven-gpg-plugin</artifactId>
635 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700636 <executions>
637 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800638 <id>sign-artifacts</id>
639 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700640 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800641 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700642 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700643 </execution>
644 </executions>
645 </plugin>
646 </plugins>
647 </build>
648 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700649 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400650 <id>coverage</id>
651 <activation>
652 <property>
653 <name>coverage</name>
654 </property>
655 </activation>
656 <build>
657 <plugins>
658 <plugin>
659 <groupId>org.jacoco</groupId>
660 <artifactId>jacoco-maven-plugin</artifactId>
661 <version>${jacoco.version}</version>
662 <executions>
663 <execution>
664 <id>default-prepare-agent</id>
665 <goals>
666 <goal>prepare-agent</goal>
667 </goals>
668 <configuration>
669 <propertyName>coverageArgLine</propertyName>
670 </configuration>
671 </execution>
672 <execution>
673 <id>default-prepare-agent-integration</id>
674 <goals>
675 <goal>prepare-agent-integration</goal>
676 </goals>
677 <configuration>
678 <propertyName>coverageArgLine</propertyName>
679 </configuration>
680 </execution>
681 </executions>
682 </plugin>
683 </plugins>
684 </build>
685 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400686 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400687 </properties>
688 </profile>
689 <profile>
690 <id>no-coverage</id>
691 <activation>
692 <property>
693 <name>!coverage</name>
694 </property>
695 </activation>
696 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400697 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400698 </properties>
699 </profile>
700 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500701 <id>integration-tests-only</id>
702 <properties>
703 <test.includes/>
704 <failIfNoTests>false</failIfNoTests>
705 </properties>
706 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400707 <profile>
708 <id>java8</id>
709 <activation>
710 <jdk>1.8</jdk>
711 </activation>
712 <properties>
713 <target.jdk.version>8</target.jdk.version>
714 </properties>
715 </profile>
716 <profile>
717 <id>java9</id>
718 <activation>
719 <jdk>9</jdk>
720 </activation>
721 <properties>
722 <target.jdk.version>9</target.jdk.version>
723 </properties>
724 </profile>
725 <profile>
726 <id>java10</id>
727 <activation>
728 <jdk>10</jdk>
729 </activation>
730 <properties>
731 <target.jdk.version>10</target.jdk.version>
732 </properties>
733 </profile>
734 <profile>
735 <id>java11</id>
736 <activation>
737 <jdk>11</jdk>
738 </activation>
739 <properties>
Michael Blow7311b032018-10-04 17:17:35 -0400740 <!-- several plugins do not yet support Java 11 classes (maven-plugin-plugin, maven-dependency-plugin) -->
741 <target.jdk.version>10</target.jdk.version>
Michael Blowcedd9612018-07-25 13:25:02 -0400742 </properties>
743 </profile>
744 <profile>
745 <id>java8-bootclasspath</id>
746 <activation>
747 <property>
748 <name>java8-bootclasspath</name>
749 </property>
750 </activation>
751 <properties>
752 <target.jdk.version>8</target.jdk.version>
753 </properties>
754 <build>
755 <plugins>
756 <plugin>
757 <groupId>org.apache.maven.plugins</groupId>
758 <artifactId>maven-compiler-plugin</artifactId>
759 <configuration>
760 <compilerArgs combine.children="append">
761 <arg>-bootclasspath</arg>
762 <arg>${java8-bootclasspath}</arg>
763 </compilerArgs>
764 </configuration>
765 </plugin>
766 </plugins>
767 </build>
768 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800769 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000770 <modules>
771 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000772 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500773 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000774 </modules>
Michael Blowbd7ba452018-10-31 15:08:26 -0400775</project>