blob: 24764229e0390d20a0d20c72c3b6aa11ddd0fea4 [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>
183 <version>3.0.0</version>
184 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500185 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500186 <exclude>**/DEPENDENCIES</exclude>
187 </excludes>
188 </configuration>
189 </plugin>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400192 <artifactId>maven-dependency-plugin</artifactId>
193 <version>2.10</version>
194 <configuration>
195 <failOnWarning>true</failOnWarning>
196 <outputXML>true</outputXML>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500197 <usedDependencies>
198 <usedDependency>org.slf4j:slf4j-simple</usedDependency>
199 </usedDependencies>
Michael Blowba358122016-10-13 19:56:03 -0400200 </configuration>
201 <executions>
202 <execution>
203 <phase>process-test-classes</phase>
204 <goals>
205 <goal>analyze-only</goal>
206 </goals>
207 </execution>
208 </executions>
209 </plugin>
210 <plugin>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800211 <groupId>org.codehaus.mojo</groupId>
212 <artifactId>versions-maven-plugin</artifactId>
213 <version>1.2</version>
214 </plugin>
215 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700216 <groupId>org.apache.rat</groupId>
217 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700218 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700219 <execution>
220 <phase>validate</phase>
221 <goals>
222 <goal>check</goal>
223 </goals>
224 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700225 </executions>
226 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500227 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
228 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700229 <licenses>
Michael Blow5e17af22017-02-02 10:00:44 -0500230 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20"/>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700231 </licenses>
232 <licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500233 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily"/>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700234 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500235 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400236 <excludes combine.children="append">
237 <exclude>**/*.iml</exclude>
238 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700239 </configuration>
240 </plugin>
241 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700244 <configuration>
245 <failIfNoTests>false</failIfNoTests>
246 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800247 <reuseForks>false</reuseForks>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700248 <argLine>-enableassertions -Xmx2048m
249 -Dfile.encoding=UTF-8
250 -Djava.util.logging.config.file=${user.home}/logging.properties
251 -Xdebug
252 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
253 ${coverageArgLine}
254 </argLine>
255 <includes>
256 <include>${global.test.includes},${test.includes}</include>
257 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500258 <excludes combine.children="append">
Chris Hilleryc48cc422014-03-21 22:47:23 -0700259 <exclude>${global.test.excludes},${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800260 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400261 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700262 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700263 </plugin>
264 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700265 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700266 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700267 <configuration>
268 <source>${jdk.version}</source>
269 <target>${jdk.version}</target>
270 <compilerArgument>-Xlint:all</compilerArgument>
271 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000272 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700273 <plugin>
Ian Maxon9e37c962015-11-25 07:38:37 -0800274 <artifactId>maven-resources-plugin</artifactId>
275 <version>2.7</version>
276 <executions>
277 <execution>
278 <id>copy-resources</id>
279 <phase>validate</phase>
280 <goals>
281 <goal>copy-resources</goal>
282 </goals>
283 <configuration>
284 <outputDirectory>target</outputDirectory>
285 <resources>
286 <resource>
287 <directory>${root.dir}/src/main/appended-resources</directory>
288 <!-- <filtering>true</filtering> -->
289 </resource>
290 </resources>
291 </configuration>
292 </execution>
293 </executions>
294 </plugin>
295 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-remote-resources-plugin</artifactId>
298 <executions>
299 <execution>
300 <goals>
301 <goal>process</goal>
302 </goals>
303 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500304 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700305 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700306 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500307 <properties>
308 <projectName>Apache Hyracks - ${project.name}</projectName>
309 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700310 </configuration>
311 </execution>
312 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800313 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400314 <plugin>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-checkstyle-plugin</artifactId>
317 <version>2.17</version>
318 <executions>
319 <execution>
320 <id>verify-style</id>
321 <phase>process-classes</phase>
322 <goals>
323 <goal>check</goal>
324 </goals>
325 </execution>
326 </executions>
327 <configuration>
328 <logViolationsToConsole>true</logViolationsToConsole>
329 <checkstyleRules>
330 <module name="Checker">
331 <!-- Checks for whitespace -->
332 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400333 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400334 </module>
335 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400336 <includes>**/*.java,**/*.jj</includes>
337 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400338 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
339 </configuration>
340 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400341 <plugin>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-enforcer-plugin</artifactId>
344 <version>1.4.1</version>
345 <executions>
346 <execution>
347 <id>enforce-versions</id>
348 <goals>
349 <goal>enforce</goal>
350 </goals>
351 <configuration>
352 <rules>
353 <requireMavenVersion>
354 <version>[3.3.9,)</version>
355 </requireMavenVersion>
356 </rules>
357 </configuration>
358 </execution>
359 </executions>
360 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000361 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700362 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700363 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500364 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-compiler-plugin</artifactId>
367 <version>3.6.1</version>
368 </plugin>
369 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500370 <groupId>org.apache.rat</groupId>
371 <artifactId>apache-rat-plugin</artifactId>
372 <version>0.12</version>
373 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700374 <plugin>
375 <groupId>net.revelc.code.formatter</groupId>
376 <artifactId>formatter-maven-plugin</artifactId>
377 <version>2.0.1</version>
378 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700379 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
380 <plugin>
381 <groupId>org.eclipse.m2e</groupId>
382 <artifactId>lifecycle-mapping</artifactId>
383 <version>1.0.0</version>
384 <configuration>
385 <lifecycleMappingMetadata>
386 <pluginExecutions>
387 <pluginExecution>
388 <pluginExecutionFilter>
389 <groupId>org.apache.rat</groupId>
390 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400391 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700392 <goals>
393 <goal>check</goal>
394 </goals>
395 </pluginExecutionFilter>
396 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400397 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700398 </action>
399 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400400 <pluginExecution>
401 <pluginExecutionFilter>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400404 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400405 <goals>
406 <goal>check</goal>
407 </goals>
408 </pluginExecutionFilter>
409 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400410 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400411 </action>
412 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700413 <pluginExecution>
414 <pluginExecutionFilter>
415 <groupId>org.apache.maven.plugins</groupId>
416 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400417 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700418 <goals>
419 <goal>analyze-only</goal>
420 </goals>
421 </pluginExecutionFilter>
422 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800423 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700424 </action>
425 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700426 </pluginExecutions>
427 </lifecycleMappingMetadata>
428 </configuration>
429 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800430 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500431 <groupId>org.codehaus.mojo</groupId>
432 <artifactId>versions-maven-plugin</artifactId>
433 <version>2.1</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800434 </plugin>
435 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500436 <groupId>org.apache.maven.plugins</groupId>
437 <artifactId>maven-scm-plugin</artifactId>
438 <version>1.9.5</version>
439 </plugin>
440 <plugin>
441 <groupId>org.codehaus.mojo</groupId>
442 <artifactId>appassembler-maven-plugin</artifactId>
443 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800444 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400445 <plugin>
446 <groupId>org.apache.maven.plugins</groupId>
447 <artifactId>maven-surefire-plugin</artifactId>
448 <version>2.20</version>
449 </plugin>
450 <plugin>
451 <groupId>org.apache.maven.plugins</groupId>
452 <artifactId>maven-failsafe-plugin</artifactId>
453 <version>2.20</version>
454 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400455 <plugin>
456 <groupId>org.apache.hyracks</groupId>
457 <artifactId>license-automation-plugin</artifactId>
458 <version>${project.version}</version>
459 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700460 </plugins>
461 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000462 </build>
463
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800464 <profiles>
465 <profile>
466 <id>hanging-pregelix-tests</id>
467 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400468 <hanging.pregelix.tests />
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800469 </properties>
470 </profile>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700471 <profile>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700472 <id>source-format</id>
473 <activation>
474 <activeByDefault>false</activeByDefault>
475 </activation>
476 <properties>
477 <source-format.goal>format</source-format.goal>
478 </properties>
479 <build>
480 <plugins>
481 <plugin>
482 <groupId>net.revelc.code.formatter</groupId>
483 <artifactId>formatter-maven-plugin</artifactId>
484 <executions>
485 <execution>
486 <goals>
487 <goal>${source-format.goal}</goal>
488 </goals>
489 </execution>
490 </executions>
491 <configuration>
492 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
493 <skipFormatting>${source-format.skip}</skipFormatting>
494 </configuration>
495 </plugin>
496 </plugins>
497 </build>
498 </profile>
499 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400500 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700501 <activation>
502 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400503 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700504 </file>
505 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400506 <properties>
507 <skip.assembly>true</skip.assembly>
508 </properties>
509 </profile>
510 <profile>
511 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700512 <build>
513 <plugins>
514 <plugin>
515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-assembly-plugin</artifactId>
517 <!-- We override the configuration plugin to override the descriptor to use for building
518 the source release zip. Specifically, we would like to control the inclusions/exclusions.
519 For example, we exclude the KEYS file from the zip -->
520 <executions>
521 <execution>
522 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
523 the apache parent POM under the apache-release profile -->
524 <id>source-release-assembly</id>
525 <phase>package</phase>
526 <goals>
527 <goal>single</goal>
528 </goals>
529 <!-- combine.self should be override to replace the configuration in the parent POM -->
530 <configuration combine.self="override">
531 <descriptors>
532 <descriptor>src/main/assembly/source.xml</descriptor>
533 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400534 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700535 </configuration>
536 </execution>
537 </executions>
538 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700539 <plugin>
540 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800541 <artifactId>maven-gpg-plugin</artifactId>
542 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700543 <executions>
544 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800545 <id>sign-artifacts</id>
546 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700547 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800548 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700549 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700550 </execution>
551 </executions>
552 </plugin>
553 </plugins>
554 </build>
555 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700556 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400557 <id>coverage</id>
558 <activation>
559 <property>
560 <name>coverage</name>
561 </property>
562 </activation>
563 <build>
564 <plugins>
565 <plugin>
566 <groupId>org.jacoco</groupId>
567 <artifactId>jacoco-maven-plugin</artifactId>
568 <version>${jacoco.version}</version>
569 <executions>
570 <execution>
571 <id>default-prepare-agent</id>
572 <goals>
573 <goal>prepare-agent</goal>
574 </goals>
575 <configuration>
576 <propertyName>coverageArgLine</propertyName>
577 </configuration>
578 </execution>
579 <execution>
580 <id>default-prepare-agent-integration</id>
581 <goals>
582 <goal>prepare-agent-integration</goal>
583 </goals>
584 <configuration>
585 <propertyName>coverageArgLine</propertyName>
586 </configuration>
587 </execution>
588 </executions>
589 </plugin>
590 </plugins>
591 </build>
592 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400593 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400594 </properties>
595 </profile>
596 <profile>
597 <id>no-coverage</id>
598 <activation>
599 <property>
600 <name>!coverage</name>
601 </property>
602 </activation>
603 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400604 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400605 </properties>
606 </profile>
607 <profile>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700608 <id>java8</id>
609 <activation>
610 <jdk>1.8</jdk>
611 </activation>
612 <properties>
613 <jdk.version>1.8</jdk.version>
614 </properties>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700615 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800616 </profiles>
617
vinayakbe5add8a2012-10-06 19:00:14 +0000618 <modules>
619 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000620 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500621 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000622 </modules>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500623
624 <dependencies>
625 <dependency>
626 <groupId>org.slf4j</groupId>
627 <artifactId>slf4j-simple</artifactId>
628 <version>1.7.22</version>
629 <scope>test</scope>
630 </dependency>
631 </dependencies>
632
vinayakbe5add8a2012-10-06 19:00:14 +0000633</project>