blob: 513bb8085614d44eb26d59a007a5a1e720164475 [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>
Ian Maxon2378ed62015-11-24 13:04:19 -080023 <artifactId>apache-asterixdb-hyracks</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -080024 <version>0.2.18-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>
Ian Maxonc4821272015-08-21 16:08:01 -070027
Michael Blowb4c1fb02016-05-09 15:41:00 -070028 <parent>
29 <groupId>org.apache</groupId>
30 <artifactId>apache</artifactId>
31 <version>LATEST</version>
32 </parent>
Ian Maxonc4821272015-08-21 16:08:01 -070033
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>
vinayakbe5add8a2012-10-06 19:00:14 +000042
Michael Blowb4c1fb02016-05-09 15:41:00 -070043 <properties>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 <jdk.version>1.8</jdk.version>
46 <jvm.extraargs/>
47 <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
Michael Blow7c15c132016-05-04 22:06:34 -040048
Michael Blowb4c1fb02016-05-09 15:41:00 -070049 <!-- Definition of tests in various categories which may be excluded -->
50 <hanging.pregelix.tests>**/pregelix/**/FailureRecovery*.java</hanging.pregelix.tests>
51 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
52 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
53 <global.test.excludes>**/Abstract*.java,${hanging.pregelix.tests},${hivesterix.perf.tests}
54 </global.test.excludes>
55 <!-- Versions under dependencymanagement or used in many projects via properties -->
56 <hadoop.version>2.2.0</hadoop.version>
57 <junit.version>4.8.1</junit.version>
58 <commons.io.version>2.4</commons.io.version>
59 <jacoco.version>0.7.6.201602180812</jacoco.version>
60 </properties>
61 <dependencyManagement>
62 <dependencies>
63 <dependency>
64 <groupId>junit</groupId>
65 <artifactId>junit</artifactId>
66 <version>${junit.version}</version>
67 </dependency>
68 <dependency>
69 <groupId>org.apache.hadoop</groupId>
70 <artifactId>hadoop-yarn-client</artifactId>
71 <version>${hadoop.version}</version>
72 </dependency>
73 <dependency>
74 <groupId>org.apache.hadoop</groupId>
75 <artifactId>hadoop-client</artifactId>
76 <version>${hadoop.version}</version>
77 </dependency>
78 <dependency>
79 <groupId>org.apache.hadoop</groupId>
80 <artifactId>hadoop-common</artifactId>
81 <version>${hadoop.version}</version>
82 </dependency>
83 <dependency>
84 <groupId>org.apache.hadoop</groupId>
85 <artifactId>hadoop-hdfs</artifactId>
86 <version>${hadoop.version}</version>
87 </dependency>
88 <dependency>
89 <groupId>org.apache.hadoop</groupId>
90 <artifactId>hadoop-minicluster</artifactId>
91 <version>${hadoop.version}</version>
92 </dependency>
93 <dependency>
94 <groupId>org.apache.hadoop</groupId>
95 <artifactId>hadoop-mapreduce-client-core</artifactId>
96 <version>${hadoop.version}</version>
97 </dependency>
98 <dependency>
99 <groupId>commons-io</groupId>
100 <artifactId>commons-io</artifactId>
101 <version>${commons.io.version}</version>
102 </dependency>
103 </dependencies>
104 </dependencyManagement>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800105
vinayakbe5add8a2012-10-06 19:00:14 +0000106 <build>
107 <plugins>
108 <plugin>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800109 <groupId>org.codehaus.mojo</groupId>
110 <artifactId>versions-maven-plugin</artifactId>
111 <version>1.2</version>
112 </plugin>
113 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700114 <groupId>org.apache.rat</groupId>
115 <artifactId>apache-rat-plugin</artifactId>
116 <version>0.11</version>
117 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700118 <execution>
119 <phase>validate</phase>
120 <goals>
121 <goal>check</goal>
122 </goals>
123 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700124 </executions>
125 <configuration>
126 <licenses>
127 <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
128 <licenseFamilyCategory>MIT</licenseFamilyCategory>
129 <licenseFamilyName>The MIT License</licenseFamilyName>
130 <notes>For JQuery MIT/GPL2 Dual License</notes>
131 <patterns>
132 <pattern>Dual licensed under the MIT or GPL Version 2 licenses.</pattern>
133 <pattern>Dual licensed under the MIT and GPL2 licenses.</pattern>
134 <pattern>http://jquery.org/license</pattern>
135 <pattern>Dual licensed under the MIT</pattern>
136 <pattern>Released under the MIT license by IOLA, December 2007.</pattern>
137 </patterns>
138 </license>
139 </licenses>
140 <licenseFamilies>
141 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
142 <familyName>The MIT License</familyName>
143 </licenseFamily>
144 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
145 <familyName>Apache License Version 2.0</familyName>
146 </licenseFamily>
147 </licenseFamilies>
Ian Maxon9e37c962015-11-25 07:38:37 -0800148 <excludeSubProjects>false</excludeSubProjects>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700149 <excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700150 <exclude>**/algebricks-tests/src/test/resources/results/**</exclude>
151 <exclude>**/javascript/flot/*.js</exclude>
152 <exclude>**/javascript/jsplumb/*.js</exclude>
153 <exclude>**/javascript/jquery/*.js</exclude>
154 <exclude>**/javascript/adminconsole/*.js</exclude>
155 <exclude>**/stylesheet/jquery-ui/**</exclude>
156 <exclude>**/hyracks-dist/src/main/resources/conf/**</exclude>
157 <exclude>**/src/test/resources/data/**</exclude>
158 <exclude>**/src/test/resources/results/**</exclude>
159 <exclude>**/src/test/resources/expected/**</exclude>
160 <exclude>**/testcases/*.piglet</exclude>
161 <exclude>**/data/**/*.tbl</exclude>
162 <exclude>**/data/**/*.ddl</exclude>
163 <exclude>**/data/**/*.tsv</exclude>
164 <exclude>**/actual/conf.xml</exclude>
165 <exclude>**/actual/customer_result/part-*</exclude>
166 <exclude>**/src/main/resources/conf/*</exclude>
167 <exclude>**/data/dfs/**</exclude>
168 <exclude>**/invIndex*/**</exclude>
169 <exclude>**/*.job</exclude>
170 <exclude>**/*.conf</exclude>
171 <exclude>**/src/main/resources/*.cleaned</exclude>
172 <exclude>**/ClusterControllerService/**</exclude>
173 <exclude>**/target/**</exclude>
174 <exclude>**/output/**</exclude>
175 <exclude>**/target/**</exclude>
176 <exclude>**/*.iml</exclude>
177 <exclude>**/*.prefs</exclude>
178 <exclude>**/data/*.txt</exclude>
179 <exclude>**/data/**/*.txt</exclude>
180 <exclude>**/.classpath</exclude>
181 <exclude>**/.project</exclude>
182 <exclude>**/target/**</exclude>
183 <exclude>**/*.iml</exclude>
184 <exclude>**/.classpath</exclude>
185 <exclude>**/.project</exclude>
186 <exclude>**/.settings/**</exclude>
187 <exclude>algebricks/algebricks-examples/piglet-example/testcases/*.piglet</exclude>
188 <exclude>algebricks/algebricks-tests/ClusterControllerService/logs/jobs/*.log</exclude>
189 <exclude>algebricks/algebricks-tests/data/simple/*.tbl</exclude>
190 <exclude>algebricks/algebricks-tests/data/tpch0.001/*.tbl</exclude>
191 <exclude>algebricks/algebricks-tests/data/tpch0.001/tpch.ddl</exclude>
192 <exclude>algebricks/algebricks-tests/src/test/resources/results/scanMicroSortWrite.out</exclude>
193 <exclude>ClusterControllerService/logs/jobs/*.log</exclude>
194 <exclude>hyracks/hyracks-client/ClusterControllerService/logs/jobs/*.log</exclude>
195 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/flot/*.js</exclude>
196 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/jsplumb/jquery.jsPlumb-1.3.5-all-min.js</exclude>
197 <exclude>hyracks/hyracks-dist/src/main/resources/conf/master</exclude>
198 <exclude>hyracks/hyracks-dist/src/main/resources/conf/slaves</exclude>
199 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/*.txt</exclude>
200 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/*.tbl</exclude>
201 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/tpch.ddl</exclude>
202 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/wordcount.tsv</exclude>
203 <exclude>hyracks/hyracks-examples/text-example/textserver/data/*.txt</exclude>
204 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/conf.xml</exclude>
205 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/customer_result/part-0</exclude>
206 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/build/test/data/dfs/**</exclude>
207 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/ClusterControllerService/logs/jobs/*.log</exclude>
208 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/data/customer.tbl</exclude>
209 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/expected/part-0</exclude>
210 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.first.cleaned</exclude>
211 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.last.cleaned</exclude>
212 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700213 </configuration>
214 </plugin>
215 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-surefire-plugin</artifactId>
218 <version>2.16</version>
219 <configuration>
220 <failIfNoTests>false</failIfNoTests>
221 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800222 <reuseForks>false</reuseForks>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700223 <argLine>-enableassertions -Xmx2048m
224 -Dfile.encoding=UTF-8
225 -Djava.util.logging.config.file=${user.home}/logging.properties
226 -Xdebug
227 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
228 ${coverageArgLine}
229 </argLine>
230 <includes>
231 <include>${global.test.includes},${test.includes}</include>
232 </includes>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800233 <excludes>
Chris Hilleryc48cc422014-03-21 22:47:23 -0700234 <exclude>${global.test.excludes},${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800235 </excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700236 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700237 </plugin>
238 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-assembly-plugin</artifactId>
241 <!-- We override the configuration plugin to override the descriptor to use for building
242 the source release zip. Specifically, we would like to control the inclusions/exclusions.
243 For example, we exclude the KEYS file from the zip -->
244 <executions>
245 <execution>
246 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
247 the apache parent POM under the apache-release profile -->
248 <id>source-release-assembly</id>
249 <phase>package</phase>
250 <goals>
251 <goal>single</goal>
252 </goals>
253 <!-- combine.self should be override to replace the configuration in the parent POM -->
254 <configuration combine.self="override">
255 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
256 <descriptors>
257 <descriptor>src/main/assembly/source.xml</descriptor>
258 </descriptors>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700259 </configuration>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700260 </execution>
261 </executions>
262 </plugin>
263 <plugin>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-compiler-plugin</artifactId>
266 <version>3.1</version>
267 <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>
304 <resourceBundles combine.children="append">
305 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
306 <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
307 </resourceBundles>
308 </configuration>
309 </execution>
310 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800311 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000312 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700313 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700314 <plugins>
315 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
316 <plugin>
317 <groupId>org.eclipse.m2e</groupId>
318 <artifactId>lifecycle-mapping</artifactId>
319 <version>1.0.0</version>
320 <configuration>
321 <lifecycleMappingMetadata>
322 <pluginExecutions>
323 <pluginExecution>
324 <pluginExecutionFilter>
325 <groupId>org.apache.rat</groupId>
326 <artifactId>apache-rat-plugin</artifactId>
327 <versionRange>[0.11,)</versionRange>
328 <goals>
329 <goal>check</goal>
330 </goals>
331 </pluginExecutionFilter>
332 <action>
333 <ignore></ignore>
334 </action>
335 </pluginExecution>
336 </pluginExecutions>
337 </lifecycleMappingMetadata>
338 </configuration>
339 </plugin>
340 </plugins>
341 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000342 </build>
343
344 <scm>
Ian Maxonc4821272015-08-21 16:08:01 -0700345 <connection>scm:git:https://github.com/apache/incubator-asterixdb-hyracks</connection>
Ian Maxon7c48a952014-07-11 20:00:13 -0700346 <developerConnection>scm:git:ssh://fulliautomatix.ics.uci.edu:29418/hyracks</developerConnection>
Ian Maxonc4821272015-08-21 16:08:01 -0700347 <url>https://github.com/apache/incubator-asterixdb-hyracks</url>
Ian Maxond4daeb42015-09-15 14:31:32 -0700348 <tag>HEAD</tag>
vinayakbe5add8a2012-10-06 19:00:14 +0000349 </scm>
350
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800351 <profiles>
352 <profile>
353 <id>hanging-pregelix-tests</id>
354 <properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700355 <hanging.pregelix.tests/>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800356 </properties>
357 </profile>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700358 <profile>
359 <id>asterix-release</id>
360 <build>
361 <plugins>
362 <plugin>
363 <groupId>org.apache.maven.plugins</groupId>
364 <artifactId>maven-assembly-plugin</artifactId>
365 <!-- We override the configuration plugin to override the descriptor to use for building
366 the source release zip. Specifically, we would like to control the inclusions/exclusions.
367 For example, we exclude the KEYS file from the zip -->
368 <executions>
369 <execution>
370 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
371 the apache parent POM under the apache-release profile -->
372 <id>source-release-assembly</id>
373 <phase>package</phase>
374 <goals>
375 <goal>single</goal>
376 </goals>
377 <!-- combine.self should be override to replace the configuration in the parent POM -->
378 <configuration combine.self="override">
379 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
380 <descriptors>
381 <descriptor>src/main/assembly/source.xml</descriptor>
382 </descriptors>
383 </configuration>
384 </execution>
385 </executions>
386 </plugin>
387 </plugins>
388 </build>
389 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700390 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400391 <id>coverage</id>
392 <activation>
393 <property>
394 <name>coverage</name>
395 </property>
396 </activation>
397 <build>
398 <plugins>
399 <plugin>
400 <groupId>org.jacoco</groupId>
401 <artifactId>jacoco-maven-plugin</artifactId>
402 <version>${jacoco.version}</version>
403 <executions>
404 <execution>
405 <id>default-prepare-agent</id>
406 <goals>
407 <goal>prepare-agent</goal>
408 </goals>
409 <configuration>
410 <propertyName>coverageArgLine</propertyName>
411 </configuration>
412 </execution>
413 <execution>
414 <id>default-prepare-agent-integration</id>
415 <goals>
416 <goal>prepare-agent-integration</goal>
417 </goals>
418 <configuration>
419 <propertyName>coverageArgLine</propertyName>
420 </configuration>
421 </execution>
422 </executions>
423 </plugin>
424 </plugins>
425 </build>
426 <properties>
427 <coverage/>
428 </properties>
429 </profile>
430 <profile>
431 <id>no-coverage</id>
432 <activation>
433 <property>
434 <name>!coverage</name>
435 </property>
436 </activation>
437 <properties>
438 <coverageArgLine/>
439 </properties>
440 </profile>
441 <profile>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700442 <id>java8</id>
443 <activation>
444 <jdk>1.8</jdk>
445 </activation>
446 <properties>
447 <jdk.version>1.8</jdk.version>
448 </properties>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700449 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800450 </profiles>
451
vinayakb8983d2b2012-10-29 11:04:49 +0000452 <repositories>
453 <repository>
Vinayak Borkar29502a02013-12-11 11:18:27 -0800454 <id>maven-central</id>
455 <url>http://repo1.maven.org/maven2/</url>
456 </repository>
457 <repository>
vinayakb8983d2b2012-10-29 11:04:49 +0000458 <id>hyracks-public</id>
459 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
460 </repository>
461 <repository>
462 <id>jboss-public</id>
463 <url>https://repository.jboss.org/nexus/content/groups/public/</url>
464 </repository>
465 </repositories>
466
467 <pluginRepositories>
468 <pluginRepository>
469 <id>hyracks-public</id>
470 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
471 <releases>
472 <updatePolicy>always</updatePolicy>
473 </releases>
474 </pluginRepository>
475 </pluginRepositories>
476
vinayakbe5add8a2012-10-06 19:00:14 +0000477 <modules>
478 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000479 <module>algebricks</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000480 </modules>
481</project>