blob: 08aae02bd421f284b8100ada68b900e1314ab97a [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 Jenkins93b46c82017-04-13 15:00:24 -070024 <version>0.3.2-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>
391 <versionRange>[0.11,)</versionRange>
392 <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>
404 <versionRange>[2.17,)</versionRange>
405 <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>
417 <versionRange>[2.10,)</versionRange>
418 <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 Blowb4c1fb02016-05-09 15:41:00 -0700455 </plugins>
456 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000457 </build>
458
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800459 <profiles>
460 <profile>
461 <id>hanging-pregelix-tests</id>
462 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400463 <hanging.pregelix.tests />
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800464 </properties>
465 </profile>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700466 <profile>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700467 <id>source-format</id>
468 <activation>
469 <activeByDefault>false</activeByDefault>
470 </activation>
471 <properties>
472 <source-format.goal>format</source-format.goal>
473 </properties>
474 <build>
475 <plugins>
476 <plugin>
477 <groupId>net.revelc.code.formatter</groupId>
478 <artifactId>formatter-maven-plugin</artifactId>
479 <executions>
480 <execution>
481 <goals>
482 <goal>${source-format.goal}</goal>
483 </goals>
484 </execution>
485 </executions>
486 <configuration>
487 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
488 <skipFormatting>${source-format.skip}</skipFormatting>
489 </configuration>
490 </plugin>
491 </plugins>
492 </build>
493 </profile>
494 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400495 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700496 <activation>
497 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400498 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700499 </file>
500 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400501 <properties>
502 <skip.assembly>true</skip.assembly>
503 </properties>
504 </profile>
505 <profile>
506 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700507 <build>
508 <plugins>
509 <plugin>
510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-assembly-plugin</artifactId>
512 <!-- We override the configuration plugin to override the descriptor to use for building
513 the source release zip. Specifically, we would like to control the inclusions/exclusions.
514 For example, we exclude the KEYS file from the zip -->
515 <executions>
516 <execution>
517 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
518 the apache parent POM under the apache-release profile -->
519 <id>source-release-assembly</id>
520 <phase>package</phase>
521 <goals>
522 <goal>single</goal>
523 </goals>
524 <!-- combine.self should be override to replace the configuration in the parent POM -->
525 <configuration combine.self="override">
526 <descriptors>
527 <descriptor>src/main/assembly/source.xml</descriptor>
528 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400529 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700530 </configuration>
531 </execution>
532 </executions>
533 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700534 <plugin>
535 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800536 <artifactId>maven-gpg-plugin</artifactId>
537 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700538 <executions>
539 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800540 <id>sign-artifacts</id>
541 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700542 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800543 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700544 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700545 </execution>
546 </executions>
547 </plugin>
548 </plugins>
549 </build>
550 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700551 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400552 <id>coverage</id>
553 <activation>
554 <property>
555 <name>coverage</name>
556 </property>
557 </activation>
558 <build>
559 <plugins>
560 <plugin>
561 <groupId>org.jacoco</groupId>
562 <artifactId>jacoco-maven-plugin</artifactId>
563 <version>${jacoco.version}</version>
564 <executions>
565 <execution>
566 <id>default-prepare-agent</id>
567 <goals>
568 <goal>prepare-agent</goal>
569 </goals>
570 <configuration>
571 <propertyName>coverageArgLine</propertyName>
572 </configuration>
573 </execution>
574 <execution>
575 <id>default-prepare-agent-integration</id>
576 <goals>
577 <goal>prepare-agent-integration</goal>
578 </goals>
579 <configuration>
580 <propertyName>coverageArgLine</propertyName>
581 </configuration>
582 </execution>
583 </executions>
584 </plugin>
585 </plugins>
586 </build>
587 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400588 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400589 </properties>
590 </profile>
591 <profile>
592 <id>no-coverage</id>
593 <activation>
594 <property>
595 <name>!coverage</name>
596 </property>
597 </activation>
598 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400599 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400600 </properties>
601 </profile>
602 <profile>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700603 <id>java8</id>
604 <activation>
605 <jdk>1.8</jdk>
606 </activation>
607 <properties>
608 <jdk.version>1.8</jdk.version>
609 </properties>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700610 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800611 </profiles>
612
vinayakbe5add8a2012-10-06 19:00:14 +0000613 <modules>
614 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000615 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500616 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000617 </modules>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500618
619 <dependencies>
620 <dependency>
621 <groupId>org.slf4j</groupId>
622 <artifactId>slf4j-simple</artifactId>
623 <version>1.7.22</version>
624 <scope>test</scope>
625 </dependency>
626 </dependencies>
627
vinayakbe5add8a2012-10-06 19:00:14 +0000628</project>