blob: 1de4c6b72e7815a07b3171f0669b157fd4694075 [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>
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 -->
68 <hadoop.version>2.2.0</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>
152 <version>2.8.4</version>
153 </dependency>
154 <dependency>
155 <groupId>com.fasterxml.jackson.core</groupId>
156 <artifactId>jackson-core</artifactId>
157 <version>2.8.4</version>
158 </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>
162 <version>2.8.4</version>
163 </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 Blowb4c1fb02016-05-09 15:41:00 -0700219 </dependencies>
220 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000221 <build>
222 <plugins>
223 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400224 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500225 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500226 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500227 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500228 <exclude>**/DEPENDENCIES</exclude>
229 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500230 <archive>
231 <manifest>
232 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
233 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
234 </manifest>
235 <manifestEntries>
236 <Implementation-Title>${implementation.title}</Implementation-Title>
237 <Implementation-URL>${implementation.url}</Implementation-URL>
238 <Implementation-Version>${implementation.version}</Implementation-Version>
239 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
240 </manifestEntries>
241 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500242 </configuration>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400246 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400247 <configuration>
248 <failOnWarning>true</failOnWarning>
249 <outputXML>true</outputXML>
250 </configuration>
251 <executions>
252 <execution>
253 <phase>process-test-classes</phase>
254 <goals>
255 <goal>analyze-only</goal>
256 </goals>
257 </execution>
258 </executions>
259 </plugin>
260 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700261 <groupId>org.apache.rat</groupId>
262 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700263 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700264 <execution>
265 <phase>validate</phase>
266 <goals>
267 <goal>check</goal>
268 </goals>
269 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700270 </executions>
271 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500272 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
273 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700274 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800275 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700276 </licenses>
277 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800278 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700279 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500280 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400281 <excludes combine.children="append">
282 <exclude>**/*.iml</exclude>
283 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700284 </configuration>
285 </plugin>
286 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700289 <configuration>
290 <failIfNoTests>false</failIfNoTests>
291 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800292 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800293 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300294 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700295 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300296 <systemPropertyVariables>
297 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
298 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700299 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500300 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700301 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500302 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500303 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800304 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400305 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700306 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700307 </plugin>
308 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700309 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300310 <artifactId>maven-failsafe-plugin</artifactId>
311 <configuration>
312 <systemPropertyVariables>
313 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
314 </systemPropertyVariables>
315 </configuration>
316 </plugin>
317 <plugin>
318 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700319 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700320 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400321 <source>${source.jdk.version}</source>
322 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500323 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700324 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000325 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700326 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-remote-resources-plugin</artifactId>
329 <executions>
330 <execution>
331 <goals>
332 <goal>process</goal>
333 </goals>
334 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500335 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700336 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700337 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500338 <properties>
339 <projectName>Apache Hyracks - ${project.name}</projectName>
340 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700341 </configuration>
342 </execution>
343 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800344 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400345 <plugin>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-checkstyle-plugin</artifactId>
348 <version>2.17</version>
349 <executions>
350 <execution>
351 <id>verify-style</id>
352 <phase>process-classes</phase>
353 <goals>
354 <goal>check</goal>
355 </goals>
356 </execution>
357 </executions>
358 <configuration>
359 <logViolationsToConsole>true</logViolationsToConsole>
360 <checkstyleRules>
361 <module name="Checker">
362 <!-- Checks for whitespace -->
363 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400364 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400365 </module>
366 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400367 <includes>**/*.java,**/*.jj</includes>
368 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400369 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
370 </configuration>
371 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400372 <plugin>
373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400375 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400376 <executions>
377 <execution>
378 <id>enforce-versions</id>
379 <goals>
380 <goal>enforce</goal>
381 </goals>
382 <configuration>
383 <rules>
384 <requireMavenVersion>
385 <version>[3.3.9,)</version>
386 </requireMavenVersion>
387 </rules>
388 </configuration>
389 </execution>
390 </executions>
391 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500392 <plugin>
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-resources-plugin</artifactId>
395 <executions>
396 <execution>
397 <id>default-testResources</id>
398 <goals>
399 <goal>testResources</goal>
400 </goals>
401 <configuration>
402 <skip>${skip.testResources}</skip>
403 </configuration>
404 </execution>
405 </executions>
406 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500407 <plugin>
408 <groupId>net.revelc.code.formatter</groupId>
409 <artifactId>formatter-maven-plugin</artifactId>
410 <executions>
411 <execution>
412 <goals>
413 <goal>${source-format.goal}</goal>
414 </goals>
415 </execution>
416 </executions>
417 <configuration>
418 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
419 <skipFormatting>${source-format.skip}</skipFormatting>
420 </configuration>
421 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000422 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700423 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700424 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500425 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800426 <groupId>org.apache.maven.plugins</groupId>
427 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400428 <version>3.7.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800429 </plugin>
430 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500431 <groupId>org.apache.rat</groupId>
432 <artifactId>apache-rat-plugin</artifactId>
433 <version>0.12</version>
434 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700435 <plugin>
436 <groupId>net.revelc.code.formatter</groupId>
437 <artifactId>formatter-maven-plugin</artifactId>
438 <version>2.0.1</version>
439 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700440 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
441 <plugin>
442 <groupId>org.eclipse.m2e</groupId>
443 <artifactId>lifecycle-mapping</artifactId>
444 <version>1.0.0</version>
445 <configuration>
446 <lifecycleMappingMetadata>
447 <pluginExecutions>
448 <pluginExecution>
449 <pluginExecutionFilter>
450 <groupId>org.apache.rat</groupId>
451 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400452 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700453 <goals>
454 <goal>check</goal>
455 </goals>
456 </pluginExecutionFilter>
457 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400458 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700459 </action>
460 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400461 <pluginExecution>
462 <pluginExecutionFilter>
463 <groupId>org.apache.maven.plugins</groupId>
464 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400465 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400466 <goals>
467 <goal>check</goal>
468 </goals>
469 </pluginExecutionFilter>
470 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400471 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400472 </action>
473 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700474 <pluginExecution>
475 <pluginExecutionFilter>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400478 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700479 <goals>
480 <goal>analyze-only</goal>
481 </goals>
482 </pluginExecutionFilter>
483 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800484 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700485 </action>
486 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800487 <pluginExecution>
488 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800489 <groupId>net.revelc.code.formatter</groupId>
490 <artifactId>formatter-maven-plugin</artifactId>
491 <versionRange>[2.0.1,)</versionRange>
492 <goals>
493 <goal>format</goal>
494 </goals>
495 </pluginExecutionFilter>
496 <action>
497 <ignore></ignore>
498 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800499 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700500 </pluginExecutions>
501 </lifecycleMappingMetadata>
502 </configuration>
503 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800504 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500505 <groupId>org.codehaus.mojo</groupId>
506 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400507 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800508 </plugin>
509 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-scm-plugin</artifactId>
512 <version>1.9.5</version>
513 </plugin>
514 <plugin>
515 <groupId>org.codehaus.mojo</groupId>
516 <artifactId>appassembler-maven-plugin</artifactId>
517 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800518 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400519 <plugin>
520 <groupId>org.apache.maven.plugins</groupId>
521 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400522 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400523 </plugin>
524 <plugin>
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400527 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400528 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400529 <plugin>
530 <groupId>org.apache.hyracks</groupId>
531 <artifactId>license-automation-plugin</artifactId>
532 <version>${project.version}</version>
533 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400534 <plugin>
535 <groupId>org.apache.maven.plugins</groupId>
536 <artifactId>maven-assembly-plugin</artifactId>
537 <version>3.1.0</version>
538 </plugin>
539 <plugin>
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-antrun-plugin</artifactId>
542 <version>1.8</version>
543 </plugin>
544 <plugin>
545 <groupId>org.apache.maven.plugins</groupId>
546 <artifactId>maven-clean-plugin</artifactId>
547 <version>3.0.0</version>
548 </plugin>
549 <plugin>
550 <groupId>org.apache.maven.plugins</groupId>
551 <artifactId>maven-jar-plugin</artifactId>
552 <version>3.0.2</version>
553 </plugin>
554 <plugin>
555 <groupId>org.codehaus.mojo</groupId>
556 <artifactId>build-helper-maven-plugin</artifactId>
557 <version>3.0.0</version>
558 </plugin>
559 <plugin>
560 <groupId>org.apache.maven.plugins</groupId>
561 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400562 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400563 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400564 <plugin>
565 <groupId>org.apache.maven.doxia</groupId>
566 <artifactId>doxia-maven-plugin</artifactId>
567 <version>1.1.4</version>
568 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700569 </plugins>
570 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000571 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800572 <profiles>
573 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400574 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700575 <activation>
576 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400577 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700578 </file>
579 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400580 <properties>
581 <skip.assembly>true</skip.assembly>
582 </properties>
583 </profile>
584 <profile>
585 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700586 <build>
587 <plugins>
588 <plugin>
589 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500590 <artifactId>maven-jar-plugin</artifactId>
591 <configuration>
592 <archive>
593 <manifest>
594 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
595 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
596 </manifest>
597 </archive>
598 </configuration>
599 </plugin>
600 <plugin>
601 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700602 <artifactId>maven-assembly-plugin</artifactId>
603 <!-- We override the configuration plugin to override the descriptor to use for building
604 the source release zip. Specifically, we would like to control the inclusions/exclusions.
605 For example, we exclude the KEYS file from the zip -->
606 <executions>
607 <execution>
608 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
609 the apache parent POM under the apache-release profile -->
610 <id>source-release-assembly</id>
611 <phase>package</phase>
612 <goals>
613 <goal>single</goal>
614 </goals>
615 <!-- combine.self should be override to replace the configuration in the parent POM -->
616 <configuration combine.self="override">
617 <descriptors>
618 <descriptor>src/main/assembly/source.xml</descriptor>
619 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400620 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700621 </configuration>
622 </execution>
623 </executions>
624 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700625 <plugin>
626 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800627 <artifactId>maven-gpg-plugin</artifactId>
628 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700629 <executions>
630 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800631 <id>sign-artifacts</id>
632 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700633 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800634 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700635 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700636 </execution>
637 </executions>
638 </plugin>
639 </plugins>
640 </build>
641 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700642 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400643 <id>coverage</id>
644 <activation>
645 <property>
646 <name>coverage</name>
647 </property>
648 </activation>
649 <build>
650 <plugins>
651 <plugin>
652 <groupId>org.jacoco</groupId>
653 <artifactId>jacoco-maven-plugin</artifactId>
654 <version>${jacoco.version}</version>
655 <executions>
656 <execution>
657 <id>default-prepare-agent</id>
658 <goals>
659 <goal>prepare-agent</goal>
660 </goals>
661 <configuration>
662 <propertyName>coverageArgLine</propertyName>
663 </configuration>
664 </execution>
665 <execution>
666 <id>default-prepare-agent-integration</id>
667 <goals>
668 <goal>prepare-agent-integration</goal>
669 </goals>
670 <configuration>
671 <propertyName>coverageArgLine</propertyName>
672 </configuration>
673 </execution>
674 </executions>
675 </plugin>
676 </plugins>
677 </build>
678 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400679 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400680 </properties>
681 </profile>
682 <profile>
683 <id>no-coverage</id>
684 <activation>
685 <property>
686 <name>!coverage</name>
687 </property>
688 </activation>
689 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400690 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400691 </properties>
692 </profile>
693 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500694 <id>integration-tests-only</id>
695 <properties>
696 <test.includes/>
697 <failIfNoTests>false</failIfNoTests>
698 </properties>
699 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400700 <profile>
701 <id>java8</id>
702 <activation>
703 <jdk>1.8</jdk>
704 </activation>
705 <properties>
706 <target.jdk.version>8</target.jdk.version>
707 </properties>
708 </profile>
709 <profile>
710 <id>java9</id>
711 <activation>
712 <jdk>9</jdk>
713 </activation>
714 <properties>
715 <target.jdk.version>9</target.jdk.version>
716 </properties>
717 </profile>
718 <profile>
719 <id>java10</id>
720 <activation>
721 <jdk>10</jdk>
722 </activation>
723 <properties>
724 <target.jdk.version>10</target.jdk.version>
725 </properties>
726 </profile>
727 <profile>
728 <id>java11</id>
729 <activation>
730 <jdk>11</jdk>
731 </activation>
732 <properties>
733 <target.jdk.version>11</target.jdk.version>
734 </properties>
735 </profile>
736 <profile>
737 <id>java8-bootclasspath</id>
738 <activation>
739 <property>
740 <name>java8-bootclasspath</name>
741 </property>
742 </activation>
743 <properties>
744 <target.jdk.version>8</target.jdk.version>
745 </properties>
746 <build>
747 <plugins>
748 <plugin>
749 <groupId>org.apache.maven.plugins</groupId>
750 <artifactId>maven-compiler-plugin</artifactId>
751 <configuration>
752 <compilerArgs combine.children="append">
753 <arg>-bootclasspath</arg>
754 <arg>${java8-bootclasspath}</arg>
755 </compilerArgs>
756 </configuration>
757 </plugin>
758 </plugins>
759 </build>
760 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800761 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000762 <modules>
763 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000764 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500765 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000766 </modules>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800767</project>