blob: 62407a44e1ed2377d01de23a70759e229b7b9ea8 [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 Blowb4c1fb02016-05-09 15:41:00 -070051 <jdk.version>1.8</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>
81 <version>4.1.6.Final</version>
82 </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>
102 </dependency>
103 <dependency>
104 <groupId>org.apache.hadoop</groupId>
105 <artifactId>hadoop-hdfs</artifactId>
106 <version>${hadoop.version}</version>
107 </dependency>
108 <dependency>
109 <groupId>org.apache.hadoop</groupId>
110 <artifactId>hadoop-minicluster</artifactId>
111 <version>${hadoop.version}</version>
112 </dependency>
113 <dependency>
114 <groupId>org.apache.hadoop</groupId>
115 <artifactId>hadoop-mapreduce-client-core</artifactId>
116 <version>${hadoop.version}</version>
117 </dependency>
118 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400119 <groupId>org.apache.hadoop</groupId>
120 <artifactId>hadoop-hdfs</artifactId>
121 <version>${hadoop.version}</version>
122 <classifier>tests</classifier>
123 <scope>test</scope>
124 </dependency>
125 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700126 <groupId>commons-io</groupId>
127 <artifactId>commons-io</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500128 <version>2.6</version>
129 </dependency>
130 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-databind</artifactId>
133 <version>2.8.4</version>
134 </dependency>
135 <dependency>
136 <groupId>com.fasterxml.jackson.core</groupId>
137 <artifactId>jackson-core</artifactId>
138 <version>2.8.4</version>
139 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500140 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500141 <groupId>com.fasterxml.jackson.core</groupId>
142 <artifactId>jackson-annotations</artifactId>
143 <version>2.8.4</version>
144 </dependency>
145 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500146 <groupId>com.google.guava</groupId>
147 <artifactId>guava</artifactId>
148 <version>18.0</version>
149 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500150 <dependency>
151 <groupId>org.apache.commons</groupId>
152 <artifactId>commons-lang3</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500153 <version>3.7</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500154 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500155 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500156 <groupId>org.apache.commons</groupId>
157 <artifactId>commons-collections4</artifactId>
158 <version>4.1</version>
159 </dependency>
160 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800161 <groupId>org.apache.httpcomponents</groupId>
162 <artifactId>httpcore</artifactId>
163 <version>4.4.5</version>
164 </dependency>
165 <dependency>
166 <groupId>org.apache.httpcomponents</groupId>
167 <artifactId>httpclient</artifactId>
168 <version>4.5.2</version>
169 </dependency>
170 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500171 <groupId>org.apache.rat</groupId>
172 <artifactId>apache-rat-plugin</artifactId>
173 <version>0.12</version>
174 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500175 <dependency>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700176 <groupId>net.revelc.code.formatter</groupId>
177 <artifactId>formatter-maven-plugin</artifactId>
178 <version>2.0.1</version>
179 </dependency>
180 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500181 <groupId>args4j</groupId>
182 <artifactId>args4j</artifactId>
183 <version>2.33</version>
184 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300185 <dependency>
186 <groupId>org.apache.logging.log4j</groupId>
187 <artifactId>log4j-api</artifactId>
188 <version>2.10.0</version>
189 </dependency>
190 <dependency>
191 <groupId>org.apache.logging.log4j</groupId>
192 <artifactId>log4j-core</artifactId>
193 <version>2.10.0</version>
194 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800195 <dependency>
196 <groupId>org.mockito</groupId>
197 <artifactId>mockito-all</artifactId>
198 <version>2.0.2-beta</version>
199 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700200 </dependencies>
201 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000202 <build>
203 <plugins>
204 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400205 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500206 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500207 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500208 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500209 <exclude>**/DEPENDENCIES</exclude>
210 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500211 <archive>
212 <manifest>
213 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
214 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
215 </manifest>
216 <manifestEntries>
217 <Implementation-Title>${implementation.title}</Implementation-Title>
218 <Implementation-URL>${implementation.url}</Implementation-URL>
219 <Implementation-Version>${implementation.version}</Implementation-Version>
220 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
221 </manifestEntries>
222 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500223 </configuration>
224 </plugin>
225 <plugin>
226 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400227 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400228 <configuration>
229 <failOnWarning>true</failOnWarning>
230 <outputXML>true</outputXML>
231 </configuration>
232 <executions>
233 <execution>
234 <phase>process-test-classes</phase>
235 <goals>
236 <goal>analyze-only</goal>
237 </goals>
238 </execution>
239 </executions>
240 </plugin>
241 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700242 <groupId>org.apache.rat</groupId>
243 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700244 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700245 <execution>
246 <phase>validate</phase>
247 <goals>
248 <goal>check</goal>
249 </goals>
250 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700251 </executions>
252 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500253 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
254 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700255 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800256 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700257 </licenses>
258 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800259 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700260 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500261 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400262 <excludes combine.children="append">
263 <exclude>**/*.iml</exclude>
264 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700265 </configuration>
266 </plugin>
267 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700270 <configuration>
271 <failIfNoTests>false</failIfNoTests>
272 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800273 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800274 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
275 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700276 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300277 <systemPropertyVariables>
278 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
279 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700280 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500281 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700282 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500283 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500284 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800285 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400286 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700287 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700288 </plugin>
289 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700290 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300291 <artifactId>maven-failsafe-plugin</artifactId>
292 <configuration>
293 <systemPropertyVariables>
294 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
295 </systemPropertyVariables>
296 </configuration>
297 </plugin>
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700300 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700301 <configuration>
302 <source>${jdk.version}</source>
303 <target>${jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500304 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700305 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000306 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700307 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-remote-resources-plugin</artifactId>
310 <executions>
311 <execution>
312 <goals>
313 <goal>process</goal>
314 </goals>
315 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500316 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700317 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700318 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500319 <properties>
320 <projectName>Apache Hyracks - ${project.name}</projectName>
321 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700322 </configuration>
323 </execution>
324 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800325 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400326 <plugin>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-checkstyle-plugin</artifactId>
329 <version>2.17</version>
330 <executions>
331 <execution>
332 <id>verify-style</id>
333 <phase>process-classes</phase>
334 <goals>
335 <goal>check</goal>
336 </goals>
337 </execution>
338 </executions>
339 <configuration>
340 <logViolationsToConsole>true</logViolationsToConsole>
341 <checkstyleRules>
342 <module name="Checker">
343 <!-- Checks for whitespace -->
344 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400345 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400346 </module>
347 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400348 <includes>**/*.java,**/*.jj</includes>
349 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400350 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
351 </configuration>
352 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400353 <plugin>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400356 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400357 <executions>
358 <execution>
359 <id>enforce-versions</id>
360 <goals>
361 <goal>enforce</goal>
362 </goals>
363 <configuration>
364 <rules>
365 <requireMavenVersion>
366 <version>[3.3.9,)</version>
367 </requireMavenVersion>
368 </rules>
369 </configuration>
370 </execution>
371 </executions>
372 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500373 <plugin>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-resources-plugin</artifactId>
376 <executions>
377 <execution>
378 <id>default-testResources</id>
379 <goals>
380 <goal>testResources</goal>
381 </goals>
382 <configuration>
383 <skip>${skip.testResources}</skip>
384 </configuration>
385 </execution>
386 </executions>
387 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500388 <plugin>
389 <groupId>net.revelc.code.formatter</groupId>
390 <artifactId>formatter-maven-plugin</artifactId>
391 <executions>
392 <execution>
393 <goals>
394 <goal>${source-format.goal}</goal>
395 </goals>
396 </execution>
397 </executions>
398 <configuration>
399 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
400 <skipFormatting>${source-format.skip}</skipFormatting>
401 </configuration>
402 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000403 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700404 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700405 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500406 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400409 <version>3.7.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800410 </plugin>
411 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500412 <groupId>org.apache.rat</groupId>
413 <artifactId>apache-rat-plugin</artifactId>
414 <version>0.12</version>
415 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700416 <plugin>
417 <groupId>net.revelc.code.formatter</groupId>
418 <artifactId>formatter-maven-plugin</artifactId>
419 <version>2.0.1</version>
420 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700421 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
422 <plugin>
423 <groupId>org.eclipse.m2e</groupId>
424 <artifactId>lifecycle-mapping</artifactId>
425 <version>1.0.0</version>
426 <configuration>
427 <lifecycleMappingMetadata>
428 <pluginExecutions>
429 <pluginExecution>
430 <pluginExecutionFilter>
431 <groupId>org.apache.rat</groupId>
432 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400433 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700434 <goals>
435 <goal>check</goal>
436 </goals>
437 </pluginExecutionFilter>
438 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400439 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700440 </action>
441 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400442 <pluginExecution>
443 <pluginExecutionFilter>
444 <groupId>org.apache.maven.plugins</groupId>
445 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400446 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400447 <goals>
448 <goal>check</goal>
449 </goals>
450 </pluginExecutionFilter>
451 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400452 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400453 </action>
454 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700455 <pluginExecution>
456 <pluginExecutionFilter>
457 <groupId>org.apache.maven.plugins</groupId>
458 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400459 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700460 <goals>
461 <goal>analyze-only</goal>
462 </goals>
463 </pluginExecutionFilter>
464 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800465 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700466 </action>
467 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800468 <pluginExecution>
469 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800470 <groupId>net.revelc.code.formatter</groupId>
471 <artifactId>formatter-maven-plugin</artifactId>
472 <versionRange>[2.0.1,)</versionRange>
473 <goals>
474 <goal>format</goal>
475 </goals>
476 </pluginExecutionFilter>
477 <action>
478 <ignore></ignore>
479 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800480 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700481 </pluginExecutions>
482 </lifecycleMappingMetadata>
483 </configuration>
484 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800485 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500486 <groupId>org.codehaus.mojo</groupId>
487 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400488 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800489 </plugin>
490 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-scm-plugin</artifactId>
493 <version>1.9.5</version>
494 </plugin>
495 <plugin>
496 <groupId>org.codehaus.mojo</groupId>
497 <artifactId>appassembler-maven-plugin</artifactId>
498 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800499 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400500 <plugin>
501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-surefire-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400503 <version>2.20.1</version>
Michael Blow10a74862017-05-23 16:55:39 -0400504 </plugin>
505 <plugin>
506 <groupId>org.apache.maven.plugins</groupId>
507 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400508 <version>2.20.1</version>
Michael Blow10a74862017-05-23 16:55:39 -0400509 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400510 <plugin>
511 <groupId>org.apache.hyracks</groupId>
512 <artifactId>license-automation-plugin</artifactId>
513 <version>${project.version}</version>
514 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400515 <plugin>
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-assembly-plugin</artifactId>
518 <version>3.1.0</version>
519 </plugin>
520 <plugin>
521 <groupId>org.apache.maven.plugins</groupId>
522 <artifactId>maven-antrun-plugin</artifactId>
523 <version>1.8</version>
524 </plugin>
525 <plugin>
526 <groupId>org.apache.maven.plugins</groupId>
527 <artifactId>maven-clean-plugin</artifactId>
528 <version>3.0.0</version>
529 </plugin>
530 <plugin>
531 <groupId>org.apache.maven.plugins</groupId>
532 <artifactId>maven-jar-plugin</artifactId>
533 <version>3.0.2</version>
534 </plugin>
535 <plugin>
536 <groupId>org.codehaus.mojo</groupId>
537 <artifactId>build-helper-maven-plugin</artifactId>
538 <version>3.0.0</version>
539 </plugin>
540 <plugin>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-dependency-plugin</artifactId>
543 <version>3.0.2</version>
544 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400545 <plugin>
546 <groupId>org.apache.maven.doxia</groupId>
547 <artifactId>doxia-maven-plugin</artifactId>
548 <version>1.1.4</version>
549 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700550 </plugins>
551 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000552 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800553 <profiles>
554 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400555 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700556 <activation>
557 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400558 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700559 </file>
560 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400561 <properties>
562 <skip.assembly>true</skip.assembly>
563 </properties>
564 </profile>
565 <profile>
566 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700567 <build>
568 <plugins>
569 <plugin>
570 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500571 <artifactId>maven-jar-plugin</artifactId>
572 <configuration>
573 <archive>
574 <manifest>
575 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
576 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
577 </manifest>
578 </archive>
579 </configuration>
580 </plugin>
581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700583 <artifactId>maven-assembly-plugin</artifactId>
584 <!-- We override the configuration plugin to override the descriptor to use for building
585 the source release zip. Specifically, we would like to control the inclusions/exclusions.
586 For example, we exclude the KEYS file from the zip -->
587 <executions>
588 <execution>
589 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
590 the apache parent POM under the apache-release profile -->
591 <id>source-release-assembly</id>
592 <phase>package</phase>
593 <goals>
594 <goal>single</goal>
595 </goals>
596 <!-- combine.self should be override to replace the configuration in the parent POM -->
597 <configuration combine.self="override">
598 <descriptors>
599 <descriptor>src/main/assembly/source.xml</descriptor>
600 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400601 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700602 </configuration>
603 </execution>
604 </executions>
605 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700606 <plugin>
607 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800608 <artifactId>maven-gpg-plugin</artifactId>
609 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700610 <executions>
611 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800612 <id>sign-artifacts</id>
613 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700614 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800615 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700616 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700617 </execution>
618 </executions>
619 </plugin>
620 </plugins>
621 </build>
622 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700623 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400624 <id>coverage</id>
625 <activation>
626 <property>
627 <name>coverage</name>
628 </property>
629 </activation>
630 <build>
631 <plugins>
632 <plugin>
633 <groupId>org.jacoco</groupId>
634 <artifactId>jacoco-maven-plugin</artifactId>
635 <version>${jacoco.version}</version>
636 <executions>
637 <execution>
638 <id>default-prepare-agent</id>
639 <goals>
640 <goal>prepare-agent</goal>
641 </goals>
642 <configuration>
643 <propertyName>coverageArgLine</propertyName>
644 </configuration>
645 </execution>
646 <execution>
647 <id>default-prepare-agent-integration</id>
648 <goals>
649 <goal>prepare-agent-integration</goal>
650 </goals>
651 <configuration>
652 <propertyName>coverageArgLine</propertyName>
653 </configuration>
654 </execution>
655 </executions>
656 </plugin>
657 </plugins>
658 </build>
659 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400660 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400661 </properties>
662 </profile>
663 <profile>
664 <id>no-coverage</id>
665 <activation>
666 <property>
667 <name>!coverage</name>
668 </property>
669 </activation>
670 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400671 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400672 </properties>
673 </profile>
674 <profile>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700675 <id>java8</id>
676 <activation>
677 <jdk>1.8</jdk>
678 </activation>
679 <properties>
680 <jdk.version>1.8</jdk.version>
681 </properties>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700682 </profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500683 <profile>
684 <id>integration-tests-only</id>
685 <properties>
686 <test.includes/>
687 <failIfNoTests>false</failIfNoTests>
688 </properties>
689 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800690 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000691 <modules>
692 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000693 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500694 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000695 </modules>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800696</project>