blob: 59c30c1680515ec29ee9fd275f7c77fcf85f6591 [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>
Michael Blowd7f4f042016-05-17 17:51:45 -070032 <relativePath/>
Michael Blowb4c1fb02016-05-09 15:41:00 -070033 </parent>
Ian Maxonc4821272015-08-21 16:08:01 -070034
Michael Blowb4c1fb02016-05-09 15:41:00 -070035 <licenses>
36 <license>
37 <name>Apache License, Version 2.0</name>
38 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
39 <distribution>repo</distribution>
40 <comments>A business-friendly OSS license</comments>
41 </license>
42 </licenses>
vinayakbe5add8a2012-10-06 19:00:14 +000043
Michael Blowb4c1fb02016-05-09 15:41:00 -070044 <properties>
45 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46 <jdk.version>1.8</jdk.version>
47 <jvm.extraargs/>
48 <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
Michael Blow7c15c132016-05-04 22:06:34 -040049
Michael Blowb4c1fb02016-05-09 15:41:00 -070050 <!-- Definition of tests in various categories which may be excluded -->
51 <hanging.pregelix.tests>**/pregelix/**/FailureRecovery*.java</hanging.pregelix.tests>
52 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
53 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
54 <global.test.excludes>**/Abstract*.java,${hanging.pregelix.tests},${hivesterix.perf.tests}
55 </global.test.excludes>
56 <!-- Versions under dependencymanagement or used in many projects via properties -->
57 <hadoop.version>2.2.0</hadoop.version>
58 <junit.version>4.8.1</junit.version>
59 <commons.io.version>2.4</commons.io.version>
60 <jacoco.version>0.7.6.201602180812</jacoco.version>
61 </properties>
62 <dependencyManagement>
63 <dependencies>
64 <dependency>
65 <groupId>junit</groupId>
66 <artifactId>junit</artifactId>
67 <version>${junit.version}</version>
68 </dependency>
69 <dependency>
70 <groupId>org.apache.hadoop</groupId>
71 <artifactId>hadoop-yarn-client</artifactId>
72 <version>${hadoop.version}</version>
73 </dependency>
74 <dependency>
75 <groupId>org.apache.hadoop</groupId>
76 <artifactId>hadoop-client</artifactId>
77 <version>${hadoop.version}</version>
78 </dependency>
79 <dependency>
80 <groupId>org.apache.hadoop</groupId>
81 <artifactId>hadoop-common</artifactId>
82 <version>${hadoop.version}</version>
83 </dependency>
84 <dependency>
85 <groupId>org.apache.hadoop</groupId>
86 <artifactId>hadoop-hdfs</artifactId>
87 <version>${hadoop.version}</version>
88 </dependency>
89 <dependency>
90 <groupId>org.apache.hadoop</groupId>
91 <artifactId>hadoop-minicluster</artifactId>
92 <version>${hadoop.version}</version>
93 </dependency>
94 <dependency>
95 <groupId>org.apache.hadoop</groupId>
96 <artifactId>hadoop-mapreduce-client-core</artifactId>
97 <version>${hadoop.version}</version>
98 </dependency>
99 <dependency>
100 <groupId>commons-io</groupId>
101 <artifactId>commons-io</artifactId>
102 <version>${commons.io.version}</version>
103 </dependency>
104 </dependencies>
105 </dependencyManagement>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800106
vinayakbe5add8a2012-10-06 19:00:14 +0000107 <build>
108 <plugins>
109 <plugin>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800110 <groupId>org.codehaus.mojo</groupId>
111 <artifactId>versions-maven-plugin</artifactId>
112 <version>1.2</version>
113 </plugin>
114 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700115 <groupId>org.apache.rat</groupId>
116 <artifactId>apache-rat-plugin</artifactId>
117 <version>0.11</version>
118 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700119 <execution>
120 <phase>validate</phase>
121 <goals>
122 <goal>check</goal>
123 </goals>
124 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700125 </executions>
126 <configuration>
127 <licenses>
128 <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
129 <licenseFamilyCategory>MIT</licenseFamilyCategory>
130 <licenseFamilyName>The MIT License</licenseFamilyName>
131 <notes>For JQuery MIT/GPL2 Dual License</notes>
132 <patterns>
133 <pattern>Dual licensed under the MIT or GPL Version 2 licenses.</pattern>
134 <pattern>Dual licensed under the MIT and GPL2 licenses.</pattern>
135 <pattern>http://jquery.org/license</pattern>
136 <pattern>Dual licensed under the MIT</pattern>
137 <pattern>Released under the MIT license by IOLA, December 2007.</pattern>
138 </patterns>
139 </license>
140 </licenses>
141 <licenseFamilies>
142 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
143 <familyName>The MIT License</familyName>
144 </licenseFamily>
145 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
146 <familyName>Apache License Version 2.0</familyName>
147 </licenseFamily>
148 </licenseFamilies>
Ian Maxon9e37c962015-11-25 07:38:37 -0800149 <excludeSubProjects>false</excludeSubProjects>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700150 <excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700151 <exclude>**/algebricks-tests/src/test/resources/results/**</exclude>
152 <exclude>**/javascript/flot/*.js</exclude>
153 <exclude>**/javascript/jsplumb/*.js</exclude>
154 <exclude>**/javascript/jquery/*.js</exclude>
155 <exclude>**/javascript/adminconsole/*.js</exclude>
156 <exclude>**/stylesheet/jquery-ui/**</exclude>
157 <exclude>**/hyracks-dist/src/main/resources/conf/**</exclude>
158 <exclude>**/src/test/resources/data/**</exclude>
159 <exclude>**/src/test/resources/results/**</exclude>
160 <exclude>**/src/test/resources/expected/**</exclude>
161 <exclude>**/testcases/*.piglet</exclude>
162 <exclude>**/data/**/*.tbl</exclude>
163 <exclude>**/data/**/*.ddl</exclude>
164 <exclude>**/data/**/*.tsv</exclude>
165 <exclude>**/actual/conf.xml</exclude>
166 <exclude>**/actual/customer_result/part-*</exclude>
167 <exclude>**/src/main/resources/conf/*</exclude>
168 <exclude>**/data/dfs/**</exclude>
169 <exclude>**/invIndex*/**</exclude>
170 <exclude>**/*.job</exclude>
171 <exclude>**/*.conf</exclude>
172 <exclude>**/src/main/resources/*.cleaned</exclude>
173 <exclude>**/ClusterControllerService/**</exclude>
174 <exclude>**/target/**</exclude>
175 <exclude>**/output/**</exclude>
176 <exclude>**/target/**</exclude>
177 <exclude>**/*.iml</exclude>
178 <exclude>**/*.prefs</exclude>
179 <exclude>**/data/*.txt</exclude>
180 <exclude>**/data/**/*.txt</exclude>
181 <exclude>**/.classpath</exclude>
182 <exclude>**/.project</exclude>
183 <exclude>**/target/**</exclude>
184 <exclude>**/*.iml</exclude>
185 <exclude>**/.classpath</exclude>
186 <exclude>**/.project</exclude>
187 <exclude>**/.settings/**</exclude>
188 <exclude>algebricks/algebricks-examples/piglet-example/testcases/*.piglet</exclude>
189 <exclude>algebricks/algebricks-tests/ClusterControllerService/logs/jobs/*.log</exclude>
190 <exclude>algebricks/algebricks-tests/data/simple/*.tbl</exclude>
191 <exclude>algebricks/algebricks-tests/data/tpch0.001/*.tbl</exclude>
192 <exclude>algebricks/algebricks-tests/data/tpch0.001/tpch.ddl</exclude>
193 <exclude>algebricks/algebricks-tests/src/test/resources/results/scanMicroSortWrite.out</exclude>
194 <exclude>ClusterControllerService/logs/jobs/*.log</exclude>
195 <exclude>hyracks/hyracks-client/ClusterControllerService/logs/jobs/*.log</exclude>
196 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/flot/*.js</exclude>
197 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/jsplumb/jquery.jsPlumb-1.3.5-all-min.js</exclude>
198 <exclude>hyracks/hyracks-dist/src/main/resources/conf/master</exclude>
199 <exclude>hyracks/hyracks-dist/src/main/resources/conf/slaves</exclude>
200 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/*.txt</exclude>
201 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/*.tbl</exclude>
202 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/tpch.ddl</exclude>
203 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/wordcount.tsv</exclude>
204 <exclude>hyracks/hyracks-examples/text-example/textserver/data/*.txt</exclude>
205 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/conf.xml</exclude>
206 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/customer_result/part-0</exclude>
207 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/build/test/data/dfs/**</exclude>
208 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/ClusterControllerService/logs/jobs/*.log</exclude>
209 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/data/customer.tbl</exclude>
210 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/expected/part-0</exclude>
211 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.first.cleaned</exclude>
212 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.last.cleaned</exclude>
213 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700214 </configuration>
215 </plugin>
216 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-surefire-plugin</artifactId>
219 <version>2.16</version>
220 <configuration>
221 <failIfNoTests>false</failIfNoTests>
222 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800223 <reuseForks>false</reuseForks>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700224 <argLine>-enableassertions -Xmx2048m
225 -Dfile.encoding=UTF-8
226 -Djava.util.logging.config.file=${user.home}/logging.properties
227 -Xdebug
228 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
229 ${coverageArgLine}
230 </argLine>
231 <includes>
232 <include>${global.test.includes},${test.includes}</include>
233 </includes>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800234 <excludes>
Chris Hilleryc48cc422014-03-21 22:47:23 -0700235 <exclude>${global.test.excludes},${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800236 </excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700237 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700238 </plugin>
239 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700240 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700241 <artifactId>maven-compiler-plugin</artifactId>
242 <version>3.1</version>
243 <configuration>
244 <source>${jdk.version}</source>
245 <target>${jdk.version}</target>
246 <compilerArgument>-Xlint:all</compilerArgument>
247 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000248 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700249 <plugin>
Ian Maxon9e37c962015-11-25 07:38:37 -0800250 <artifactId>maven-resources-plugin</artifactId>
251 <version>2.7</version>
252 <executions>
253 <execution>
254 <id>copy-resources</id>
255 <phase>validate</phase>
256 <goals>
257 <goal>copy-resources</goal>
258 </goals>
259 <configuration>
260 <outputDirectory>target</outputDirectory>
261 <resources>
262 <resource>
263 <directory>${root.dir}/src/main/appended-resources</directory>
264 <!-- <filtering>true</filtering> -->
265 </resource>
266 </resources>
267 </configuration>
268 </execution>
269 </executions>
270 </plugin>
271 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-remote-resources-plugin</artifactId>
274 <executions>
275 <execution>
276 <goals>
277 <goal>process</goal>
278 </goals>
279 <configuration>
280 <resourceBundles combine.children="append">
281 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
282 <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
283 </resourceBundles>
284 </configuration>
285 </execution>
286 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800287 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000288 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700289 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700290 <plugins>
291 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
292 <plugin>
293 <groupId>org.eclipse.m2e</groupId>
294 <artifactId>lifecycle-mapping</artifactId>
295 <version>1.0.0</version>
296 <configuration>
297 <lifecycleMappingMetadata>
298 <pluginExecutions>
299 <pluginExecution>
300 <pluginExecutionFilter>
301 <groupId>org.apache.rat</groupId>
302 <artifactId>apache-rat-plugin</artifactId>
303 <versionRange>[0.11,)</versionRange>
304 <goals>
305 <goal>check</goal>
306 </goals>
307 </pluginExecutionFilter>
308 <action>
309 <ignore></ignore>
310 </action>
311 </pluginExecution>
312 </pluginExecutions>
313 </lifecycleMappingMetadata>
314 </configuration>
315 </plugin>
316 </plugins>
317 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000318 </build>
319
320 <scm>
Ian Maxonc4821272015-08-21 16:08:01 -0700321 <connection>scm:git:https://github.com/apache/incubator-asterixdb-hyracks</connection>
Ian Maxon7c48a952014-07-11 20:00:13 -0700322 <developerConnection>scm:git:ssh://fulliautomatix.ics.uci.edu:29418/hyracks</developerConnection>
Ian Maxonc4821272015-08-21 16:08:01 -0700323 <url>https://github.com/apache/incubator-asterixdb-hyracks</url>
Ian Maxond4daeb42015-09-15 14:31:32 -0700324 <tag>HEAD</tag>
vinayakbe5add8a2012-10-06 19:00:14 +0000325 </scm>
326
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800327 <profiles>
328 <profile>
329 <id>hanging-pregelix-tests</id>
330 <properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700331 <hanging.pregelix.tests/>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800332 </properties>
333 </profile>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700334 <profile>
335 <id>asterix-release</id>
Michael Blow1e34ec22016-05-15 19:15:40 -0700336 <activation>
337 <file>
338 <exists>src/main/assembly/source.xml</exists>
339 </file>
340 </activation>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700341 <build>
342 <plugins>
343 <plugin>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-assembly-plugin</artifactId>
346 <!-- We override the configuration plugin to override the descriptor to use for building
347 the source release zip. Specifically, we would like to control the inclusions/exclusions.
348 For example, we exclude the KEYS file from the zip -->
349 <executions>
350 <execution>
351 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
352 the apache parent POM under the apache-release profile -->
353 <id>source-release-assembly</id>
354 <phase>package</phase>
355 <goals>
356 <goal>single</goal>
357 </goals>
358 <!-- combine.self should be override to replace the configuration in the parent POM -->
359 <configuration combine.self="override">
360 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
361 <descriptors>
362 <descriptor>src/main/assembly/source.xml</descriptor>
363 </descriptors>
364 </configuration>
365 </execution>
366 </executions>
367 </plugin>
368 </plugins>
369 </build>
370 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700371 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400372 <id>coverage</id>
373 <activation>
374 <property>
375 <name>coverage</name>
376 </property>
377 </activation>
378 <build>
379 <plugins>
380 <plugin>
381 <groupId>org.jacoco</groupId>
382 <artifactId>jacoco-maven-plugin</artifactId>
383 <version>${jacoco.version}</version>
384 <executions>
385 <execution>
386 <id>default-prepare-agent</id>
387 <goals>
388 <goal>prepare-agent</goal>
389 </goals>
390 <configuration>
391 <propertyName>coverageArgLine</propertyName>
392 </configuration>
393 </execution>
394 <execution>
395 <id>default-prepare-agent-integration</id>
396 <goals>
397 <goal>prepare-agent-integration</goal>
398 </goals>
399 <configuration>
400 <propertyName>coverageArgLine</propertyName>
401 </configuration>
402 </execution>
403 </executions>
404 </plugin>
405 </plugins>
406 </build>
407 <properties>
408 <coverage/>
409 </properties>
410 </profile>
411 <profile>
412 <id>no-coverage</id>
413 <activation>
414 <property>
415 <name>!coverage</name>
416 </property>
417 </activation>
418 <properties>
419 <coverageArgLine/>
420 </properties>
421 </profile>
422 <profile>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700423 <id>java8</id>
424 <activation>
425 <jdk>1.8</jdk>
426 </activation>
427 <properties>
428 <jdk.version>1.8</jdk.version>
429 </properties>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700430 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800431 </profiles>
432
vinayakb8983d2b2012-10-29 11:04:49 +0000433 <repositories>
434 <repository>
Vinayak Borkar29502a02013-12-11 11:18:27 -0800435 <id>maven-central</id>
436 <url>http://repo1.maven.org/maven2/</url>
437 </repository>
438 <repository>
vinayakb8983d2b2012-10-29 11:04:49 +0000439 <id>hyracks-public</id>
440 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
441 </repository>
442 <repository>
443 <id>jboss-public</id>
444 <url>https://repository.jboss.org/nexus/content/groups/public/</url>
445 </repository>
446 </repositories>
447
448 <pluginRepositories>
449 <pluginRepository>
450 <id>hyracks-public</id>
451 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
452 <releases>
453 <updatePolicy>always</updatePolicy>
454 </releases>
455 </pluginRepository>
456 </pluginRepositories>
457
vinayakbe5add8a2012-10-06 19:00:14 +0000458 <modules>
459 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000460 <module>algebricks</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000461 </modules>
462</project>