blob: e72fa976ad9ebe1408c5a5c97ecf1194e6ab2dbb [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>
Michael Blow60ce5192018-06-11 12:10:37 -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>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800145 <groupId>com.fasterxml.jackson.core</groupId>
146 <artifactId>jackson-databind</artifactId>
147 <version>2.8.4</version>
148 </dependency>
149 <dependency>
150 <groupId>com.fasterxml.jackson.core</groupId>
151 <artifactId>jackson-core</artifactId>
152 <version>2.8.4</version>
153 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500154 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500155 <groupId>com.fasterxml.jackson.core</groupId>
156 <artifactId>jackson-annotations</artifactId>
157 <version>2.8.4</version>
158 </dependency>
159 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500160 <groupId>com.google.guava</groupId>
161 <artifactId>guava</artifactId>
162 <version>18.0</version>
163 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500164 <dependency>
165 <groupId>org.apache.commons</groupId>
166 <artifactId>commons-lang3</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500167 <version>3.7</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500168 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500169 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500170 <groupId>org.apache.commons</groupId>
171 <artifactId>commons-collections4</artifactId>
172 <version>4.1</version>
173 </dependency>
174 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800175 <groupId>org.apache.httpcomponents</groupId>
176 <artifactId>httpcore</artifactId>
177 <version>4.4.5</version>
178 </dependency>
179 <dependency>
180 <groupId>org.apache.httpcomponents</groupId>
181 <artifactId>httpclient</artifactId>
182 <version>4.5.2</version>
183 </dependency>
184 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500185 <groupId>org.apache.rat</groupId>
186 <artifactId>apache-rat-plugin</artifactId>
187 <version>0.12</version>
188 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500189 <dependency>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700190 <groupId>net.revelc.code.formatter</groupId>
191 <artifactId>formatter-maven-plugin</artifactId>
192 <version>2.0.1</version>
193 </dependency>
194 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500195 <groupId>args4j</groupId>
196 <artifactId>args4j</artifactId>
197 <version>2.33</version>
198 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300199 <dependency>
200 <groupId>org.apache.logging.log4j</groupId>
201 <artifactId>log4j-api</artifactId>
202 <version>2.10.0</version>
203 </dependency>
204 <dependency>
205 <groupId>org.apache.logging.log4j</groupId>
206 <artifactId>log4j-core</artifactId>
207 <version>2.10.0</version>
208 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800209 <dependency>
210 <groupId>org.mockito</groupId>
211 <artifactId>mockito-all</artifactId>
212 <version>2.0.2-beta</version>
213 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700214 </dependencies>
215 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000216 <build>
217 <plugins>
218 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400219 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500220 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500221 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500222 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500223 <exclude>**/DEPENDENCIES</exclude>
224 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500225 <archive>
226 <manifest>
227 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
228 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
229 </manifest>
230 <manifestEntries>
231 <Implementation-Title>${implementation.title}</Implementation-Title>
232 <Implementation-URL>${implementation.url}</Implementation-URL>
233 <Implementation-Version>${implementation.version}</Implementation-Version>
234 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
235 </manifestEntries>
236 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500237 </configuration>
238 </plugin>
239 <plugin>
240 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400241 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400242 <configuration>
243 <failOnWarning>true</failOnWarning>
244 <outputXML>true</outputXML>
245 </configuration>
246 <executions>
247 <execution>
248 <phase>process-test-classes</phase>
249 <goals>
250 <goal>analyze-only</goal>
251 </goals>
252 </execution>
253 </executions>
254 </plugin>
255 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700256 <groupId>org.apache.rat</groupId>
257 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700258 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700259 <execution>
260 <phase>validate</phase>
261 <goals>
262 <goal>check</goal>
263 </goals>
264 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700265 </executions>
266 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500267 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
268 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700269 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800270 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700271 </licenses>
272 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800273 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700274 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500275 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400276 <excludes combine.children="append">
277 <exclude>**/*.iml</exclude>
278 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700279 </configuration>
280 </plugin>
281 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700284 <configuration>
285 <failIfNoTests>false</failIfNoTests>
286 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800287 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800288 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
289 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700290 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300291 <systemPropertyVariables>
292 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
293 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700294 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500295 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700296 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500297 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500298 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800299 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400300 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700301 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700302 </plugin>
303 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700304 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300305 <artifactId>maven-failsafe-plugin</artifactId>
306 <configuration>
307 <systemPropertyVariables>
308 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
309 </systemPropertyVariables>
310 </configuration>
311 </plugin>
312 <plugin>
313 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700314 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700315 <configuration>
316 <source>${jdk.version}</source>
317 <target>${jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500318 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700319 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000320 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700321 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-remote-resources-plugin</artifactId>
324 <executions>
325 <execution>
326 <goals>
327 <goal>process</goal>
328 </goals>
329 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500330 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700331 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700332 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500333 <properties>
334 <projectName>Apache Hyracks - ${project.name}</projectName>
335 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700336 </configuration>
337 </execution>
338 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800339 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400340 <plugin>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-checkstyle-plugin</artifactId>
343 <version>2.17</version>
344 <executions>
345 <execution>
346 <id>verify-style</id>
347 <phase>process-classes</phase>
348 <goals>
349 <goal>check</goal>
350 </goals>
351 </execution>
352 </executions>
353 <configuration>
354 <logViolationsToConsole>true</logViolationsToConsole>
355 <checkstyleRules>
356 <module name="Checker">
357 <!-- Checks for whitespace -->
358 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400359 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400360 </module>
361 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400362 <includes>**/*.java,**/*.jj</includes>
363 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400364 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
365 </configuration>
366 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400367 <plugin>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400370 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400371 <executions>
372 <execution>
373 <id>enforce-versions</id>
374 <goals>
375 <goal>enforce</goal>
376 </goals>
377 <configuration>
378 <rules>
379 <requireMavenVersion>
380 <version>[3.3.9,)</version>
381 </requireMavenVersion>
382 </rules>
383 </configuration>
384 </execution>
385 </executions>
386 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500387 <plugin>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-resources-plugin</artifactId>
390 <executions>
391 <execution>
392 <id>default-testResources</id>
393 <goals>
394 <goal>testResources</goal>
395 </goals>
396 <configuration>
397 <skip>${skip.testResources}</skip>
398 </configuration>
399 </execution>
400 </executions>
401 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500402 <plugin>
403 <groupId>net.revelc.code.formatter</groupId>
404 <artifactId>formatter-maven-plugin</artifactId>
405 <executions>
406 <execution>
407 <goals>
408 <goal>${source-format.goal}</goal>
409 </goals>
410 </execution>
411 </executions>
412 <configuration>
413 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
414 <skipFormatting>${source-format.skip}</skipFormatting>
415 </configuration>
416 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000417 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700418 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700419 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500420 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800421 <groupId>org.apache.maven.plugins</groupId>
422 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400423 <version>3.7.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800424 </plugin>
425 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500426 <groupId>org.apache.rat</groupId>
427 <artifactId>apache-rat-plugin</artifactId>
428 <version>0.12</version>
429 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700430 <plugin>
431 <groupId>net.revelc.code.formatter</groupId>
432 <artifactId>formatter-maven-plugin</artifactId>
433 <version>2.0.1</version>
434 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700435 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
436 <plugin>
437 <groupId>org.eclipse.m2e</groupId>
438 <artifactId>lifecycle-mapping</artifactId>
439 <version>1.0.0</version>
440 <configuration>
441 <lifecycleMappingMetadata>
442 <pluginExecutions>
443 <pluginExecution>
444 <pluginExecutionFilter>
445 <groupId>org.apache.rat</groupId>
446 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400447 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700448 <goals>
449 <goal>check</goal>
450 </goals>
451 </pluginExecutionFilter>
452 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400453 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700454 </action>
455 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400456 <pluginExecution>
457 <pluginExecutionFilter>
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400460 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400461 <goals>
462 <goal>check</goal>
463 </goals>
464 </pluginExecutionFilter>
465 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400466 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400467 </action>
468 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700469 <pluginExecution>
470 <pluginExecutionFilter>
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400473 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700474 <goals>
475 <goal>analyze-only</goal>
476 </goals>
477 </pluginExecutionFilter>
478 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800479 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700480 </action>
481 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800482 <pluginExecution>
483 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800484 <groupId>net.revelc.code.formatter</groupId>
485 <artifactId>formatter-maven-plugin</artifactId>
486 <versionRange>[2.0.1,)</versionRange>
487 <goals>
488 <goal>format</goal>
489 </goals>
490 </pluginExecutionFilter>
491 <action>
492 <ignore></ignore>
493 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800494 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700495 </pluginExecutions>
496 </lifecycleMappingMetadata>
497 </configuration>
498 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800499 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500500 <groupId>org.codehaus.mojo</groupId>
501 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400502 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800503 </plugin>
504 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-scm-plugin</artifactId>
507 <version>1.9.5</version>
508 </plugin>
509 <plugin>
510 <groupId>org.codehaus.mojo</groupId>
511 <artifactId>appassembler-maven-plugin</artifactId>
512 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800513 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400514 <plugin>
515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-surefire-plugin</artifactId>
Michael Blow60ce5192018-06-11 12:10:37 -0400517 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400518 </plugin>
519 <plugin>
520 <groupId>org.apache.maven.plugins</groupId>
521 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blow60ce5192018-06-11 12:10:37 -0400522 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400523 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400524 <plugin>
525 <groupId>org.apache.hyracks</groupId>
526 <artifactId>license-automation-plugin</artifactId>
527 <version>${project.version}</version>
528 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400529 <plugin>
530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-assembly-plugin</artifactId>
532 <version>3.1.0</version>
533 </plugin>
534 <plugin>
535 <groupId>org.apache.maven.plugins</groupId>
536 <artifactId>maven-antrun-plugin</artifactId>
537 <version>1.8</version>
538 </plugin>
539 <plugin>
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-clean-plugin</artifactId>
542 <version>3.0.0</version>
543 </plugin>
544 <plugin>
545 <groupId>org.apache.maven.plugins</groupId>
546 <artifactId>maven-jar-plugin</artifactId>
547 <version>3.0.2</version>
548 </plugin>
549 <plugin>
550 <groupId>org.codehaus.mojo</groupId>
551 <artifactId>build-helper-maven-plugin</artifactId>
552 <version>3.0.0</version>
553 </plugin>
554 <plugin>
555 <groupId>org.apache.maven.plugins</groupId>
556 <artifactId>maven-dependency-plugin</artifactId>
557 <version>3.0.2</version>
558 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400559 <plugin>
560 <groupId>org.apache.maven.doxia</groupId>
561 <artifactId>doxia-maven-plugin</artifactId>
562 <version>1.1.4</version>
563 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700564 </plugins>
565 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000566 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800567 <profiles>
568 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400569 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700570 <activation>
571 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400572 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700573 </file>
574 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400575 <properties>
576 <skip.assembly>true</skip.assembly>
577 </properties>
578 </profile>
579 <profile>
580 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700581 <build>
582 <plugins>
583 <plugin>
584 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500585 <artifactId>maven-jar-plugin</artifactId>
586 <configuration>
587 <archive>
588 <manifest>
589 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
590 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
591 </manifest>
592 </archive>
593 </configuration>
594 </plugin>
595 <plugin>
596 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700597 <artifactId>maven-assembly-plugin</artifactId>
598 <!-- We override the configuration plugin to override the descriptor to use for building
599 the source release zip. Specifically, we would like to control the inclusions/exclusions.
600 For example, we exclude the KEYS file from the zip -->
601 <executions>
602 <execution>
603 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
604 the apache parent POM under the apache-release profile -->
605 <id>source-release-assembly</id>
606 <phase>package</phase>
607 <goals>
608 <goal>single</goal>
609 </goals>
610 <!-- combine.self should be override to replace the configuration in the parent POM -->
611 <configuration combine.self="override">
612 <descriptors>
613 <descriptor>src/main/assembly/source.xml</descriptor>
614 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400615 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700616 </configuration>
617 </execution>
618 </executions>
619 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700620 <plugin>
621 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800622 <artifactId>maven-gpg-plugin</artifactId>
623 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700624 <executions>
625 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800626 <id>sign-artifacts</id>
627 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700628 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800629 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700630 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700631 </execution>
632 </executions>
633 </plugin>
634 </plugins>
635 </build>
636 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700637 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400638 <id>coverage</id>
639 <activation>
640 <property>
641 <name>coverage</name>
642 </property>
643 </activation>
644 <build>
645 <plugins>
646 <plugin>
647 <groupId>org.jacoco</groupId>
648 <artifactId>jacoco-maven-plugin</artifactId>
649 <version>${jacoco.version}</version>
650 <executions>
651 <execution>
652 <id>default-prepare-agent</id>
653 <goals>
654 <goal>prepare-agent</goal>
655 </goals>
656 <configuration>
657 <propertyName>coverageArgLine</propertyName>
658 </configuration>
659 </execution>
660 <execution>
661 <id>default-prepare-agent-integration</id>
662 <goals>
663 <goal>prepare-agent-integration</goal>
664 </goals>
665 <configuration>
666 <propertyName>coverageArgLine</propertyName>
667 </configuration>
668 </execution>
669 </executions>
670 </plugin>
671 </plugins>
672 </build>
673 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400674 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400675 </properties>
676 </profile>
677 <profile>
678 <id>no-coverage</id>
679 <activation>
680 <property>
681 <name>!coverage</name>
682 </property>
683 </activation>
684 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400685 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400686 </properties>
687 </profile>
688 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500689 <id>integration-tests-only</id>
690 <properties>
691 <test.includes/>
692 <failIfNoTests>false</failIfNoTests>
693 </properties>
694 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800695 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000696 <modules>
697 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000698 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500699 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000700 </modules>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800701</project>