blob: 29030e59ce26a87c679205d9210929f41956966d [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>
49 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Blowdd920be2017-06-07 15:04:33 -040050 <file.encoding>UTF-8</file.encoding>
Michael Blowcedd9612018-07-25 13:25:02 -040051 <source.jdk.version>1.8</source.jdk.version>
Michael Blow2b057012017-12-07 22:20:39 -050052 <javac.xlint.value>all</javac.xlint.value>
Michael Blow380b0a22016-08-02 13:05:52 -040053 <jvm.extraargs />
Michael Blowb4c1fb02016-05-09 15:41:00 -070054 <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
Michael Blow4cd925c2018-01-20 17:15:38 -050055 <source-format.goal>format</source-format.goal>
Dmitry Lychagin249be532017-05-31 14:57:14 -070056 <source-format.skip>false</source-format.skip>
Michael Blowe30c9d32018-01-20 09:42:19 -050057 <skipTests>false</skipTests>
Michael Blowdd920be2017-06-07 15:04:33 -040058 <skip.surefire.tests>${skipTests}</skip.surefire.tests>
Michael Blow7626d162017-12-10 14:26:56 -050059 <skip.testResources>${maven.test.skip}</skip.testResources>
Michael Blow2530e392018-02-06 01:19:42 -050060 <testLog4jConfigFile>${root.dir}/src/test/resources/log4j2-hyracks-test.xml</testLog4jConfigFile>
Michael Blowb4c1fb02016-05-09 15:41:00 -070061 <!-- Definition of tests in various categories which may be excluded -->
Michael Blowb4c1fb02016-05-09 15:41:00 -070062 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
63 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
Michael Blow64d49fb2018-02-11 15:43:47 -050064 <global.test.excludes>**/Abstract*.java,${hivesterix.perf.tests}</global.test.excludes>
Michael Blowe30c9d32018-01-20 09:42:19 -050065 <test.includes>${global.test.includes}</test.includes>
66 <test.excludes>${global.test.excludes}</test.excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -070067 <!-- Versions under dependencymanagement or used in many projects via properties -->
Michael Blow3477a2b2018-10-04 17:17:35 -040068 <hadoop.version>2.8.5</hadoop.version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070069 <jacoco.version>0.7.6.201602180812</jacoco.version>
Michael Blow38ca9622018-02-28 11:44:43 -050070
Michael Blowcbfe8f92018-02-28 14:02:38 -050071 <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
Michael Blow38ca9622018-02-28 11:44:43 -050072 <implementation.url>https://asterixdb.apache.org/</implementation.url>
73 <implementation.version>${project.version}</implementation.version>
74 <implementation.vendor>${project.organization.name}</implementation.vendor>
Michael Blowb4c1fb02016-05-09 15:41:00 -070075 </properties>
76 <dependencyManagement>
77 <dependencies>
78 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080079 <groupId>io.netty</groupId>
80 <artifactId>netty-all</artifactId>
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +030081 <version>4.1.25.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -080082 </dependency>
83 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070084 <groupId>junit</groupId>
85 <artifactId>junit</artifactId>
Michael Blow599ef8f2017-01-12 11:02:53 -050086 <version>4.12</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070087 </dependency>
88 <dependency>
89 <groupId>org.apache.hadoop</groupId>
90 <artifactId>hadoop-yarn-client</artifactId>
91 <version>${hadoop.version}</version>
92 </dependency>
93 <dependency>
94 <groupId>org.apache.hadoop</groupId>
95 <artifactId>hadoop-client</artifactId>
96 <version>${hadoop.version}</version>
97 </dependency>
98 <dependency>
99 <groupId>org.apache.hadoop</groupId>
100 <artifactId>hadoop-common</artifactId>
101 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400102 <exclusions>
103 <exclusion>
104 <groupId>javax.servlet.jsp</groupId>
105 <artifactId>jsp-api</artifactId>
106 </exclusion>
107 <exclusion>
108 <groupId>javax.servlet</groupId>
109 <artifactId>servlet-api</artifactId>
110 </exclusion>
111 <exclusion>
112 <groupId>jdk.tools</groupId>
113 <artifactId>jdk.tools</artifactId>
114 </exclusion>
115 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700116 </dependency>
117 <dependency>
118 <groupId>org.apache.hadoop</groupId>
119 <artifactId>hadoop-hdfs</artifactId>
120 <version>${hadoop.version}</version>
121 </dependency>
122 <dependency>
123 <groupId>org.apache.hadoop</groupId>
124 <artifactId>hadoop-minicluster</artifactId>
125 <version>${hadoop.version}</version>
126 </dependency>
127 <dependency>
128 <groupId>org.apache.hadoop</groupId>
129 <artifactId>hadoop-mapreduce-client-core</artifactId>
130 <version>${hadoop.version}</version>
131 </dependency>
132 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400133 <groupId>org.apache.hadoop</groupId>
134 <artifactId>hadoop-hdfs</artifactId>
135 <version>${hadoop.version}</version>
136 <classifier>tests</classifier>
137 <scope>test</scope>
138 </dependency>
139 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700140 <groupId>commons-io</groupId>
141 <artifactId>commons-io</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500142 <version>2.6</version>
143 </dependency>
144 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400145 <groupId>org.apache.commons</groupId>
146 <artifactId>commons-text</artifactId>
147 <version>1.2</version>
148 </dependency>
149 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800150 <groupId>com.fasterxml.jackson.core</groupId>
151 <artifactId>jackson-databind</artifactId>
Michael Blowbd7ba452018-10-31 15:08:26 -0400152 <version>2.9.7</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800153 </dependency>
154 <dependency>
155 <groupId>com.fasterxml.jackson.core</groupId>
156 <artifactId>jackson-core</artifactId>
Michael Blowbd7ba452018-10-31 15:08:26 -0400157 <version>2.9.7</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800158 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500159 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500160 <groupId>com.fasterxml.jackson.core</groupId>
161 <artifactId>jackson-annotations</artifactId>
Michael Blowbd7ba452018-10-31 15:08:26 -0400162 <version>2.9.7</version>
Michael Blow204b2952017-12-07 20:17:47 -0500163 </dependency>
164 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500165 <groupId>com.google.guava</groupId>
166 <artifactId>guava</artifactId>
167 <version>18.0</version>
168 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500169 <dependency>
170 <groupId>org.apache.commons</groupId>
171 <artifactId>commons-lang3</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500172 <version>3.7</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500173 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500174 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500175 <groupId>org.apache.commons</groupId>
176 <artifactId>commons-collections4</artifactId>
177 <version>4.1</version>
178 </dependency>
179 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800180 <groupId>org.apache.httpcomponents</groupId>
181 <artifactId>httpcore</artifactId>
182 <version>4.4.5</version>
183 </dependency>
184 <dependency>
185 <groupId>org.apache.httpcomponents</groupId>
186 <artifactId>httpclient</artifactId>
187 <version>4.5.2</version>
188 </dependency>
189 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500190 <groupId>org.apache.rat</groupId>
191 <artifactId>apache-rat-plugin</artifactId>
192 <version>0.12</version>
193 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500194 <dependency>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700195 <groupId>net.revelc.code.formatter</groupId>
196 <artifactId>formatter-maven-plugin</artifactId>
197 <version>2.0.1</version>
198 </dependency>
199 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500200 <groupId>args4j</groupId>
201 <artifactId>args4j</artifactId>
202 <version>2.33</version>
203 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300204 <dependency>
205 <groupId>org.apache.logging.log4j</groupId>
206 <artifactId>log4j-api</artifactId>
207 <version>2.10.0</version>
208 </dependency>
209 <dependency>
210 <groupId>org.apache.logging.log4j</groupId>
211 <artifactId>log4j-core</artifactId>
212 <version>2.10.0</version>
213 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800214 <dependency>
215 <groupId>org.mockito</groupId>
216 <artifactId>mockito-all</artifactId>
217 <version>2.0.2-beta</version>
218 </dependency>
Michael Blow3477a2b2018-10-04 17:17:35 -0400219 <dependency>
220 <groupId>javax.xml.bind</groupId>
221 <artifactId>jaxb-api</artifactId>
222 <version>2.3.0</version>
223 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700224 </dependencies>
225 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000226 <build>
227 <plugins>
228 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400229 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500230 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500231 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500232 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500233 <exclude>**/DEPENDENCIES</exclude>
234 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500235 <archive>
236 <manifest>
237 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
238 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
239 </manifest>
240 <manifestEntries>
241 <Implementation-Title>${implementation.title}</Implementation-Title>
242 <Implementation-URL>${implementation.url}</Implementation-URL>
243 <Implementation-Version>${implementation.version}</Implementation-Version>
244 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
245 </manifestEntries>
246 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500247 </configuration>
248 </plugin>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400251 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400252 <configuration>
253 <failOnWarning>true</failOnWarning>
254 <outputXML>true</outputXML>
255 </configuration>
256 <executions>
257 <execution>
258 <phase>process-test-classes</phase>
259 <goals>
260 <goal>analyze-only</goal>
261 </goals>
262 </execution>
263 </executions>
264 </plugin>
265 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700266 <groupId>org.apache.rat</groupId>
267 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700268 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700269 <execution>
270 <phase>validate</phase>
271 <goals>
272 <goal>check</goal>
273 </goals>
274 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700275 </executions>
276 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500277 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
278 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700279 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800280 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700281 </licenses>
282 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800283 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700284 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500285 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400286 <excludes combine.children="append">
287 <exclude>**/*.iml</exclude>
288 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700289 </configuration>
290 </plugin>
291 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700294 <configuration>
295 <failIfNoTests>false</failIfNoTests>
296 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800297 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800298 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300299 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700300 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300301 <systemPropertyVariables>
302 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
303 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700304 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500305 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700306 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500307 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500308 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800309 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400310 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700311 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700312 </plugin>
313 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700314 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300315 <artifactId>maven-failsafe-plugin</artifactId>
316 <configuration>
317 <systemPropertyVariables>
318 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
319 </systemPropertyVariables>
320 </configuration>
321 </plugin>
322 <plugin>
323 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700324 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700325 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400326 <source>${source.jdk.version}</source>
327 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500328 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700329 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000330 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700331 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-remote-resources-plugin</artifactId>
334 <executions>
335 <execution>
336 <goals>
337 <goal>process</goal>
338 </goals>
339 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500340 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700341 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700342 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500343 <properties>
344 <projectName>Apache Hyracks - ${project.name}</projectName>
345 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700346 </configuration>
347 </execution>
348 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800349 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400350 <plugin>
351 <groupId>org.apache.maven.plugins</groupId>
352 <artifactId>maven-checkstyle-plugin</artifactId>
353 <version>2.17</version>
354 <executions>
355 <execution>
356 <id>verify-style</id>
357 <phase>process-classes</phase>
358 <goals>
359 <goal>check</goal>
360 </goals>
361 </execution>
362 </executions>
363 <configuration>
364 <logViolationsToConsole>true</logViolationsToConsole>
365 <checkstyleRules>
366 <module name="Checker">
367 <!-- Checks for whitespace -->
368 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400369 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400370 </module>
371 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400372 <includes>**/*.java,**/*.jj</includes>
373 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400374 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
375 </configuration>
376 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400380 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400381 <executions>
382 <execution>
383 <id>enforce-versions</id>
384 <goals>
385 <goal>enforce</goal>
386 </goals>
387 <configuration>
388 <rules>
389 <requireMavenVersion>
390 <version>[3.3.9,)</version>
391 </requireMavenVersion>
392 </rules>
393 </configuration>
394 </execution>
395 </executions>
396 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500397 <plugin>
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-resources-plugin</artifactId>
400 <executions>
401 <execution>
402 <id>default-testResources</id>
403 <goals>
404 <goal>testResources</goal>
405 </goals>
406 <configuration>
407 <skip>${skip.testResources}</skip>
408 </configuration>
409 </execution>
410 </executions>
411 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500412 <plugin>
413 <groupId>net.revelc.code.formatter</groupId>
414 <artifactId>formatter-maven-plugin</artifactId>
415 <executions>
416 <execution>
417 <goals>
418 <goal>${source-format.goal}</goal>
419 </goals>
420 </execution>
421 </executions>
422 <configuration>
423 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
424 <skipFormatting>${source-format.skip}</skipFormatting>
425 </configuration>
426 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000427 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700428 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700429 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500430 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800431 <groupId>org.apache.maven.plugins</groupId>
432 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400433 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800434 </plugin>
435 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500436 <groupId>org.apache.rat</groupId>
437 <artifactId>apache-rat-plugin</artifactId>
438 <version>0.12</version>
439 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700440 <plugin>
441 <groupId>net.revelc.code.formatter</groupId>
442 <artifactId>formatter-maven-plugin</artifactId>
443 <version>2.0.1</version>
444 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700445 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
446 <plugin>
447 <groupId>org.eclipse.m2e</groupId>
448 <artifactId>lifecycle-mapping</artifactId>
449 <version>1.0.0</version>
450 <configuration>
451 <lifecycleMappingMetadata>
452 <pluginExecutions>
453 <pluginExecution>
454 <pluginExecutionFilter>
455 <groupId>org.apache.rat</groupId>
456 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400457 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700458 <goals>
459 <goal>check</goal>
460 </goals>
461 </pluginExecutionFilter>
462 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400463 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700464 </action>
465 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400466 <pluginExecution>
467 <pluginExecutionFilter>
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400470 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400471 <goals>
472 <goal>check</goal>
473 </goals>
474 </pluginExecutionFilter>
475 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400476 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400477 </action>
478 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700479 <pluginExecution>
480 <pluginExecutionFilter>
481 <groupId>org.apache.maven.plugins</groupId>
482 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400483 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700484 <goals>
485 <goal>analyze-only</goal>
486 </goals>
487 </pluginExecutionFilter>
488 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800489 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700490 </action>
491 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800492 <pluginExecution>
493 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800494 <groupId>net.revelc.code.formatter</groupId>
495 <artifactId>formatter-maven-plugin</artifactId>
496 <versionRange>[2.0.1,)</versionRange>
497 <goals>
498 <goal>format</goal>
499 </goals>
500 </pluginExecutionFilter>
501 <action>
502 <ignore></ignore>
503 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800504 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700505 </pluginExecutions>
506 </lifecycleMappingMetadata>
507 </configuration>
508 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800509 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500510 <groupId>org.codehaus.mojo</groupId>
511 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400512 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800513 </plugin>
514 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-scm-plugin</artifactId>
517 <version>1.9.5</version>
518 </plugin>
519 <plugin>
520 <groupId>org.codehaus.mojo</groupId>
521 <artifactId>appassembler-maven-plugin</artifactId>
522 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800523 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400524 <plugin>
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400527 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400528 </plugin>
529 <plugin>
530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400532 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400533 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400534 <plugin>
535 <groupId>org.apache.hyracks</groupId>
536 <artifactId>license-automation-plugin</artifactId>
537 <version>${project.version}</version>
538 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400539 <plugin>
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-assembly-plugin</artifactId>
542 <version>3.1.0</version>
543 </plugin>
544 <plugin>
545 <groupId>org.apache.maven.plugins</groupId>
546 <artifactId>maven-antrun-plugin</artifactId>
547 <version>1.8</version>
548 </plugin>
549 <plugin>
550 <groupId>org.apache.maven.plugins</groupId>
551 <artifactId>maven-clean-plugin</artifactId>
552 <version>3.0.0</version>
553 </plugin>
554 <plugin>
555 <groupId>org.apache.maven.plugins</groupId>
556 <artifactId>maven-jar-plugin</artifactId>
557 <version>3.0.2</version>
558 </plugin>
559 <plugin>
560 <groupId>org.codehaus.mojo</groupId>
561 <artifactId>build-helper-maven-plugin</artifactId>
562 <version>3.0.0</version>
563 </plugin>
564 <plugin>
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400567 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400568 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400569 <plugin>
570 <groupId>org.apache.maven.doxia</groupId>
571 <artifactId>doxia-maven-plugin</artifactId>
572 <version>1.1.4</version>
573 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700574 </plugins>
575 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000576 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800577 <profiles>
578 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400579 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700580 <activation>
581 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400582 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700583 </file>
584 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400585 <properties>
586 <skip.assembly>true</skip.assembly>
587 </properties>
588 </profile>
589 <profile>
590 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700591 <build>
592 <plugins>
593 <plugin>
594 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500595 <artifactId>maven-jar-plugin</artifactId>
596 <configuration>
597 <archive>
598 <manifest>
599 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
600 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
601 </manifest>
602 </archive>
603 </configuration>
604 </plugin>
605 <plugin>
606 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700607 <artifactId>maven-assembly-plugin</artifactId>
608 <!-- We override the configuration plugin to override the descriptor to use for building
609 the source release zip. Specifically, we would like to control the inclusions/exclusions.
610 For example, we exclude the KEYS file from the zip -->
611 <executions>
612 <execution>
613 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
614 the apache parent POM under the apache-release profile -->
615 <id>source-release-assembly</id>
616 <phase>package</phase>
617 <goals>
618 <goal>single</goal>
619 </goals>
620 <!-- combine.self should be override to replace the configuration in the parent POM -->
621 <configuration combine.self="override">
622 <descriptors>
623 <descriptor>src/main/assembly/source.xml</descriptor>
624 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400625 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700626 </configuration>
627 </execution>
628 </executions>
629 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700630 <plugin>
631 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800632 <artifactId>maven-gpg-plugin</artifactId>
633 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700634 <executions>
635 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800636 <id>sign-artifacts</id>
637 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700638 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800639 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700640 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700641 </execution>
642 </executions>
643 </plugin>
644 </plugins>
645 </build>
646 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700647 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400648 <id>coverage</id>
649 <activation>
650 <property>
651 <name>coverage</name>
652 </property>
653 </activation>
654 <build>
655 <plugins>
656 <plugin>
657 <groupId>org.jacoco</groupId>
658 <artifactId>jacoco-maven-plugin</artifactId>
659 <version>${jacoco.version}</version>
660 <executions>
661 <execution>
662 <id>default-prepare-agent</id>
663 <goals>
664 <goal>prepare-agent</goal>
665 </goals>
666 <configuration>
667 <propertyName>coverageArgLine</propertyName>
668 </configuration>
669 </execution>
670 <execution>
671 <id>default-prepare-agent-integration</id>
672 <goals>
673 <goal>prepare-agent-integration</goal>
674 </goals>
675 <configuration>
676 <propertyName>coverageArgLine</propertyName>
677 </configuration>
678 </execution>
679 </executions>
680 </plugin>
681 </plugins>
682 </build>
683 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400684 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400685 </properties>
686 </profile>
687 <profile>
688 <id>no-coverage</id>
689 <activation>
690 <property>
691 <name>!coverage</name>
692 </property>
693 </activation>
694 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400695 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400696 </properties>
697 </profile>
698 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500699 <id>integration-tests-only</id>
700 <properties>
701 <test.includes/>
702 <failIfNoTests>false</failIfNoTests>
703 </properties>
704 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400705 <profile>
706 <id>java8</id>
707 <activation>
708 <jdk>1.8</jdk>
709 </activation>
710 <properties>
711 <target.jdk.version>8</target.jdk.version>
712 </properties>
713 </profile>
714 <profile>
715 <id>java9</id>
716 <activation>
717 <jdk>9</jdk>
718 </activation>
719 <properties>
720 <target.jdk.version>9</target.jdk.version>
721 </properties>
722 </profile>
723 <profile>
724 <id>java10</id>
725 <activation>
726 <jdk>10</jdk>
727 </activation>
728 <properties>
729 <target.jdk.version>10</target.jdk.version>
730 </properties>
731 </profile>
732 <profile>
733 <id>java11</id>
734 <activation>
735 <jdk>11</jdk>
736 </activation>
737 <properties>
Michael Blow3477a2b2018-10-04 17:17:35 -0400738 <!-- several plugins do not yet support Java 11 classes (maven-plugin-plugin, maven-dependency-plugin) -->
739 <target.jdk.version>10</target.jdk.version>
Michael Blowcedd9612018-07-25 13:25:02 -0400740 </properties>
741 </profile>
742 <profile>
743 <id>java8-bootclasspath</id>
744 <activation>
745 <property>
746 <name>java8-bootclasspath</name>
747 </property>
748 </activation>
749 <properties>
750 <target.jdk.version>8</target.jdk.version>
751 </properties>
752 <build>
753 <plugins>
754 <plugin>
755 <groupId>org.apache.maven.plugins</groupId>
756 <artifactId>maven-compiler-plugin</artifactId>
757 <configuration>
758 <compilerArgs combine.children="append">
759 <arg>-bootclasspath</arg>
760 <arg>${java8-bootclasspath}</arg>
761 </compilerArgs>
762 </configuration>
763 </plugin>
764 </plugins>
765 </build>
766 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800767 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000768 <modules>
769 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000770 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500771 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000772 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400773</project>