blob: db720c0db3e8d148df461958e932f58168dfbe79 [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 !-->
vinayakbe5add8a2012-10-06 19:00:14 +000019
20<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21 <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 Jenkins92a9a652017-08-07 17:23:07 -070024 <version>0.3.3-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 Blowc96bb1f2017-01-16 16:31:54 -050027 <url>https://asterixdb.apache.org/</url>
Ian Maxonc4821272015-08-21 16:08:01 -070028
Michael Blowb4c1fb02016-05-09 15:41:00 -070029 <parent>
30 <groupId>org.apache</groupId>
31 <artifactId>apache</artifactId>
Michael Blowb99349d2016-11-08 19:38:02 -050032 <version>18</version>
Michael Blow380b0a22016-08-02 13:05:52 -040033 <relativePath />
Michael Blowb4c1fb02016-05-09 15:41:00 -070034 </parent>
Ian Maxonc4821272015-08-21 16:08:01 -070035
Michael Blowb4c1fb02016-05-09 15:41:00 -070036 <licenses>
37 <license>
38 <name>Apache License, Version 2.0</name>
39 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
40 <distribution>repo</distribution>
41 <comments>A business-friendly OSS license</comments>
42 </license>
43 </licenses>
vinayakbe5add8a2012-10-06 19:00:14 +000044
Ian Maxon4b228432017-01-16 13:35:16 -080045 <scm>
46 <connection>scm:git:https://github.com/apache/asterixdb</connection>
47 <developerConnection>scm:git:ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb</developerConnection>
48 <url>https://github.com/apache/asterixdb</url>
Ian Maxona3435a32017-01-18 18:31:30 -080049 <tag>HEAD</tag>
Ian Maxon4b228432017-01-16 13:35:16 -080050 </scm>
51
Michael Blowb4c1fb02016-05-09 15:41:00 -070052 <properties>
53 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Blowdd920be2017-06-07 15:04:33 -040054 <file.encoding>UTF-8</file.encoding>
Michael Blowb4c1fb02016-05-09 15:41:00 -070055 <jdk.version>1.8</jdk.version>
Michael Blow380b0a22016-08-02 13:05:52 -040056 <jvm.extraargs />
Michael Blowb4c1fb02016-05-09 15:41:00 -070057 <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
Dmitry Lychagin249be532017-05-31 14:57:14 -070058 <source-format.skip>false</source-format.skip>
Michael Blowdd920be2017-06-07 15:04:33 -040059 <skip.surefire.tests>${skipTests}</skip.surefire.tests>
Michael Blow7c15c132016-05-04 22:06:34 -040060
Michael Blowb4c1fb02016-05-09 15:41:00 -070061 <!-- Definition of tests in various categories which may be excluded -->
62 <hanging.pregelix.tests>**/pregelix/**/FailureRecovery*.java</hanging.pregelix.tests>
63 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
64 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
65 <global.test.excludes>**/Abstract*.java,${hanging.pregelix.tests},${hivesterix.perf.tests}
66 </global.test.excludes>
67 <!-- 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>
70 </properties>
71 <dependencyManagement>
72 <dependencies>
73 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080074 <groupId>io.netty</groupId>
75 <artifactId>netty-all</artifactId>
76 <version>4.1.6.Final</version>
77 </dependency>
78 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070079 <groupId>junit</groupId>
80 <artifactId>junit</artifactId>
Michael Blow599ef8f2017-01-12 11:02:53 -050081 <version>4.12</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070082 </dependency>
83 <dependency>
84 <groupId>org.apache.hadoop</groupId>
85 <artifactId>hadoop-yarn-client</artifactId>
86 <version>${hadoop.version}</version>
87 </dependency>
88 <dependency>
89 <groupId>org.apache.hadoop</groupId>
90 <artifactId>hadoop-client</artifactId>
91 <version>${hadoop.version}</version>
92 </dependency>
93 <dependency>
94 <groupId>org.apache.hadoop</groupId>
95 <artifactId>hadoop-common</artifactId>
96 <version>${hadoop.version}</version>
97 </dependency>
98 <dependency>
99 <groupId>org.apache.hadoop</groupId>
100 <artifactId>hadoop-hdfs</artifactId>
101 <version>${hadoop.version}</version>
102 </dependency>
103 <dependency>
104 <groupId>org.apache.hadoop</groupId>
105 <artifactId>hadoop-minicluster</artifactId>
106 <version>${hadoop.version}</version>
107 </dependency>
108 <dependency>
109 <groupId>org.apache.hadoop</groupId>
110 <artifactId>hadoop-mapreduce-client-core</artifactId>
111 <version>${hadoop.version}</version>
112 </dependency>
113 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400114 <groupId>org.apache.hadoop</groupId>
115 <artifactId>hadoop-hdfs</artifactId>
116 <version>${hadoop.version}</version>
117 <classifier>tests</classifier>
118 <scope>test</scope>
119 </dependency>
120 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700121 <groupId>commons-io</groupId>
122 <artifactId>commons-io</artifactId>
Michael Blow599ef8f2017-01-12 11:02:53 -0500123 <version>2.5</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700124 </dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800125 <dependency>
126 <groupId>com.fasterxml.jackson.core</groupId>
127 <artifactId>jackson-databind</artifactId>
128 <version>2.8.4</version>
129 </dependency>
130 <dependency>
131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-core</artifactId>
133 <version>2.8.4</version>
134 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500135 <dependency>
136 <groupId>com.google.guava</groupId>
137 <artifactId>guava</artifactId>
138 <version>18.0</version>
139 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500140 <dependency>
141 <groupId>org.apache.commons</groupId>
142 <artifactId>commons-lang3</artifactId>
143 <version>3.5</version>
144 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500145 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500146 <groupId>org.apache.commons</groupId>
147 <artifactId>commons-collections4</artifactId>
148 <version>4.1</version>
149 </dependency>
150 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800151 <groupId>org.apache.httpcomponents</groupId>
152 <artifactId>httpcore</artifactId>
153 <version>4.4.5</version>
154 </dependency>
155 <dependency>
156 <groupId>org.apache.httpcomponents</groupId>
157 <artifactId>httpclient</artifactId>
158 <version>4.5.2</version>
159 </dependency>
160 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500161 <groupId>org.apache.rat</groupId>
162 <artifactId>apache-rat-plugin</artifactId>
163 <version>0.12</version>
164 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500165 <dependency>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700166 <groupId>net.revelc.code.formatter</groupId>
167 <artifactId>formatter-maven-plugin</artifactId>
168 <version>2.0.1</version>
169 </dependency>
170 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500171 <groupId>args4j</groupId>
172 <artifactId>args4j</artifactId>
173 <version>2.33</version>
174 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700175 </dependencies>
176 </dependencyManagement>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800177
vinayakbe5add8a2012-10-06 19:00:14 +0000178 <build>
179 <plugins>
180 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400181 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500182 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500183 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500184 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500185 <exclude>**/DEPENDENCIES</exclude>
186 </excludes>
187 </configuration>
188 </plugin>
189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400191 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400192 <configuration>
193 <failOnWarning>true</failOnWarning>
194 <outputXML>true</outputXML>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500195 <usedDependencies>
196 <usedDependency>org.slf4j:slf4j-simple</usedDependency>
197 </usedDependencies>
Michael Blowba358122016-10-13 19:56:03 -0400198 </configuration>
199 <executions>
200 <execution>
201 <phase>process-test-classes</phase>
202 <goals>
203 <goal>analyze-only</goal>
204 </goals>
205 </execution>
206 </executions>
207 </plugin>
208 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700209 <groupId>org.apache.rat</groupId>
210 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700211 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700212 <execution>
213 <phase>validate</phase>
214 <goals>
215 <goal>check</goal>
216 </goals>
217 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700218 </executions>
219 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500220 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
221 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700222 <licenses>
Michael Blow5e17af22017-02-02 10:00:44 -0500223 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20"/>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700224 </licenses>
225 <licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500226 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily"/>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700227 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500228 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400229 <excludes combine.children="append">
230 <exclude>**/*.iml</exclude>
231 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700232 </configuration>
233 </plugin>
234 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700237 <configuration>
238 <failIfNoTests>false</failIfNoTests>
239 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800240 <reuseForks>false</reuseForks>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700241 <argLine>-enableassertions -Xmx2048m
242 -Dfile.encoding=UTF-8
243 -Djava.util.logging.config.file=${user.home}/logging.properties
244 -Xdebug
245 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
246 ${coverageArgLine}
247 </argLine>
248 <includes>
249 <include>${global.test.includes},${test.includes}</include>
250 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500251 <excludes combine.children="append">
Chris Hilleryc48cc422014-03-21 22:47:23 -0700252 <exclude>${global.test.excludes},${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800253 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400254 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700255 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700256 </plugin>
257 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700258 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700259 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700260 <configuration>
261 <source>${jdk.version}</source>
262 <target>${jdk.version}</target>
263 <compilerArgument>-Xlint:all</compilerArgument>
264 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000265 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700266 <plugin>
Ian Maxon9e37c962015-11-25 07:38:37 -0800267 <artifactId>maven-resources-plugin</artifactId>
Ian Maxon9e37c962015-11-25 07:38:37 -0800268 <executions>
269 <execution>
270 <id>copy-resources</id>
271 <phase>validate</phase>
272 <goals>
273 <goal>copy-resources</goal>
274 </goals>
275 <configuration>
276 <outputDirectory>target</outputDirectory>
277 <resources>
278 <resource>
279 <directory>${root.dir}/src/main/appended-resources</directory>
280 <!-- <filtering>true</filtering> -->
281 </resource>
282 </resources>
283 </configuration>
284 </execution>
285 </executions>
286 </plugin>
287 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-remote-resources-plugin</artifactId>
290 <executions>
291 <execution>
292 <goals>
293 <goal>process</goal>
294 </goals>
295 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500296 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700297 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700298 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500299 <properties>
300 <projectName>Apache Hyracks - ${project.name}</projectName>
301 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700302 </configuration>
303 </execution>
304 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800305 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-checkstyle-plugin</artifactId>
309 <version>2.17</version>
310 <executions>
311 <execution>
312 <id>verify-style</id>
313 <phase>process-classes</phase>
314 <goals>
315 <goal>check</goal>
316 </goals>
317 </execution>
318 </executions>
319 <configuration>
320 <logViolationsToConsole>true</logViolationsToConsole>
321 <checkstyleRules>
322 <module name="Checker">
323 <!-- Checks for whitespace -->
324 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400325 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400326 </module>
327 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400328 <includes>**/*.java,**/*.jj</includes>
329 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400330 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
331 </configuration>
332 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400333 <plugin>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-enforcer-plugin</artifactId>
336 <version>1.4.1</version>
337 <executions>
338 <execution>
339 <id>enforce-versions</id>
340 <goals>
341 <goal>enforce</goal>
342 </goals>
343 <configuration>
344 <rules>
345 <requireMavenVersion>
346 <version>[3.3.9,)</version>
347 </requireMavenVersion>
348 </rules>
349 </configuration>
350 </execution>
351 </executions>
352 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000353 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700354 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700355 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500356 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800357 <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400359 <version>3.7.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800360 </plugin>
361 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500362 <groupId>org.apache.rat</groupId>
363 <artifactId>apache-rat-plugin</artifactId>
364 <version>0.12</version>
365 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700366 <plugin>
367 <groupId>net.revelc.code.formatter</groupId>
368 <artifactId>formatter-maven-plugin</artifactId>
369 <version>2.0.1</version>
370 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700371 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
372 <plugin>
373 <groupId>org.eclipse.m2e</groupId>
374 <artifactId>lifecycle-mapping</artifactId>
375 <version>1.0.0</version>
376 <configuration>
377 <lifecycleMappingMetadata>
378 <pluginExecutions>
379 <pluginExecution>
380 <pluginExecutionFilter>
381 <groupId>org.apache.rat</groupId>
382 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400383 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700384 <goals>
385 <goal>check</goal>
386 </goals>
387 </pluginExecutionFilter>
388 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400389 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700390 </action>
391 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400392 <pluginExecution>
393 <pluginExecutionFilter>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400396 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400397 <goals>
398 <goal>check</goal>
399 </goals>
400 </pluginExecutionFilter>
401 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400402 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400403 </action>
404 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700405 <pluginExecution>
406 <pluginExecutionFilter>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400409 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700410 <goals>
411 <goal>analyze-only</goal>
412 </goals>
413 </pluginExecutionFilter>
414 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800415 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700416 </action>
417 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700418 </pluginExecutions>
419 </lifecycleMappingMetadata>
420 </configuration>
421 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800422 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500423 <groupId>org.codehaus.mojo</groupId>
424 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400425 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800426 </plugin>
427 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-scm-plugin</artifactId>
430 <version>1.9.5</version>
431 </plugin>
432 <plugin>
433 <groupId>org.codehaus.mojo</groupId>
434 <artifactId>appassembler-maven-plugin</artifactId>
435 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800436 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400437 <plugin>
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-surefire-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400440 <version>2.20.1</version>
Michael Blow10a74862017-05-23 16:55:39 -0400441 </plugin>
442 <plugin>
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400445 <version>2.20.1</version>
Michael Blow10a74862017-05-23 16:55:39 -0400446 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400447 <plugin>
448 <groupId>org.apache.hyracks</groupId>
449 <artifactId>license-automation-plugin</artifactId>
450 <version>${project.version}</version>
451 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400452 <plugin>
453 <groupId>org.apache.maven.plugins</groupId>
454 <artifactId>maven-assembly-plugin</artifactId>
455 <version>3.1.0</version>
456 </plugin>
457 <plugin>
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-antrun-plugin</artifactId>
460 <version>1.8</version>
461 </plugin>
462 <plugin>
463 <groupId>org.apache.maven.plugins</groupId>
464 <artifactId>maven-clean-plugin</artifactId>
465 <version>3.0.0</version>
466 </plugin>
467 <plugin>
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-jar-plugin</artifactId>
470 <version>3.0.2</version>
471 </plugin>
472 <plugin>
473 <groupId>org.codehaus.mojo</groupId>
474 <artifactId>build-helper-maven-plugin</artifactId>
475 <version>3.0.0</version>
476 </plugin>
477 <plugin>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-dependency-plugin</artifactId>
480 <version>3.0.2</version>
481 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700482 </plugins>
483 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000484 </build>
485
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800486 <profiles>
487 <profile>
488 <id>hanging-pregelix-tests</id>
489 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400490 <hanging.pregelix.tests />
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800491 </properties>
492 </profile>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700493 <profile>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700494 <id>source-format</id>
495 <activation>
496 <activeByDefault>false</activeByDefault>
497 </activation>
498 <properties>
499 <source-format.goal>format</source-format.goal>
500 </properties>
501 <build>
502 <plugins>
503 <plugin>
504 <groupId>net.revelc.code.formatter</groupId>
505 <artifactId>formatter-maven-plugin</artifactId>
506 <executions>
507 <execution>
508 <goals>
509 <goal>${source-format.goal}</goal>
510 </goals>
511 </execution>
512 </executions>
513 <configuration>
514 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
515 <skipFormatting>${source-format.skip}</skipFormatting>
516 </configuration>
517 </plugin>
518 </plugins>
519 </build>
520 </profile>
521 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400522 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700523 <activation>
524 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400525 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700526 </file>
527 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400528 <properties>
529 <skip.assembly>true</skip.assembly>
530 </properties>
531 </profile>
532 <profile>
533 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700534 <build>
535 <plugins>
536 <plugin>
537 <groupId>org.apache.maven.plugins</groupId>
538 <artifactId>maven-assembly-plugin</artifactId>
539 <!-- We override the configuration plugin to override the descriptor to use for building
540 the source release zip. Specifically, we would like to control the inclusions/exclusions.
541 For example, we exclude the KEYS file from the zip -->
542 <executions>
543 <execution>
544 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
545 the apache parent POM under the apache-release profile -->
546 <id>source-release-assembly</id>
547 <phase>package</phase>
548 <goals>
549 <goal>single</goal>
550 </goals>
551 <!-- combine.self should be override to replace the configuration in the parent POM -->
552 <configuration combine.self="override">
553 <descriptors>
554 <descriptor>src/main/assembly/source.xml</descriptor>
555 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400556 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700557 </configuration>
558 </execution>
559 </executions>
560 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700561 <plugin>
562 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800563 <artifactId>maven-gpg-plugin</artifactId>
564 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700565 <executions>
566 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800567 <id>sign-artifacts</id>
568 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700569 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800570 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700571 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700572 </execution>
573 </executions>
574 </plugin>
575 </plugins>
576 </build>
577 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700578 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400579 <id>coverage</id>
580 <activation>
581 <property>
582 <name>coverage</name>
583 </property>
584 </activation>
585 <build>
586 <plugins>
587 <plugin>
588 <groupId>org.jacoco</groupId>
589 <artifactId>jacoco-maven-plugin</artifactId>
590 <version>${jacoco.version}</version>
591 <executions>
592 <execution>
593 <id>default-prepare-agent</id>
594 <goals>
595 <goal>prepare-agent</goal>
596 </goals>
597 <configuration>
598 <propertyName>coverageArgLine</propertyName>
599 </configuration>
600 </execution>
601 <execution>
602 <id>default-prepare-agent-integration</id>
603 <goals>
604 <goal>prepare-agent-integration</goal>
605 </goals>
606 <configuration>
607 <propertyName>coverageArgLine</propertyName>
608 </configuration>
609 </execution>
610 </executions>
611 </plugin>
612 </plugins>
613 </build>
614 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400615 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400616 </properties>
617 </profile>
618 <profile>
619 <id>no-coverage</id>
620 <activation>
621 <property>
622 <name>!coverage</name>
623 </property>
624 </activation>
625 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400626 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400627 </properties>
628 </profile>
629 <profile>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700630 <id>java8</id>
631 <activation>
632 <jdk>1.8</jdk>
633 </activation>
634 <properties>
635 <jdk.version>1.8</jdk.version>
636 </properties>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700637 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800638 </profiles>
639
vinayakbe5add8a2012-10-06 19:00:14 +0000640 <modules>
641 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000642 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500643 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000644 </modules>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500645
646 <dependencies>
647 <dependency>
648 <groupId>org.slf4j</groupId>
649 <artifactId>slf4j-simple</artifactId>
650 <version>1.7.22</version>
651 <scope>test</scope>
652 </dependency>
653 </dependencies>
654
vinayakbe5add8a2012-10-06 19:00:14 +0000655</project>