blob: abf710e914192bdadd523771d65c4e95a167b052 [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>**/*.conf</exclude>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700152 <exclude>**/*.iml</exclude>
Till Westmann72f81a6f2016-05-17 20:37:00 -0700153 <exclude>**/*.job</exclude>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700154 <exclude>**/*.prefs</exclude>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700155 <exclude>**/.classpath</exclude>
156 <exclude>**/.project</exclude>
157 <exclude>**/.settings/**</exclude>
Till Westmann72f81a6f2016-05-17 20:37:00 -0700158 <exclude>**/actual/conf.xml</exclude>
159 <exclude>**/actual/customer_result/part-*</exclude>
160 <exclude>**/algebricks-tests/src/test/resources/results/**</exclude>
161 <exclude>**/ClusterControllerService/**</exclude>
162 <exclude>**/data/**/*.ddl</exclude>
163 <exclude>**/data/**/*.tbl</exclude>
164 <exclude>**/data/**/*.tsv</exclude>
165 <exclude>**/data/**/*.txt</exclude>
166 <exclude>**/data/*.txt</exclude>
167 <exclude>**/data/dfs/**</exclude>
168 <exclude>**/hyracks-dist/src/main/resources/conf/**</exclude>
169 <exclude>**/invIndex*/**</exclude>
170 <exclude>**/javascript/adminconsole/*.js</exclude>
171 <exclude>**/javascript/flot/*.js</exclude>
172 <exclude>**/javascript/jquery/*.js</exclude>
173 <exclude>**/javascript/jsplumb/*.js</exclude>
174 <exclude>**/output/**</exclude>
175 <exclude>**/src/main/resources/*.cleaned</exclude>
176 <exclude>**/src/main/resources/conf/*</exclude>
177 <exclude>**/src/test/resources/data/**</exclude>
178 <exclude>**/src/test/resources/expected/**</exclude>
179 <exclude>**/src/test/resources/results/**</exclude>
180 <exclude>**/stylesheet/jquery-ui/**</exclude>
181 <exclude>**/target/**</exclude>
182 <exclude>**/testcases/*.piglet</exclude>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700183 <exclude>algebricks/algebricks-examples/piglet-example/testcases/*.piglet</exclude>
184 <exclude>algebricks/algebricks-tests/ClusterControllerService/logs/jobs/*.log</exclude>
185 <exclude>algebricks/algebricks-tests/data/simple/*.tbl</exclude>
186 <exclude>algebricks/algebricks-tests/data/tpch0.001/*.tbl</exclude>
187 <exclude>algebricks/algebricks-tests/data/tpch0.001/tpch.ddl</exclude>
188 <exclude>algebricks/algebricks-tests/src/test/resources/results/scanMicroSortWrite.out</exclude>
189 <exclude>ClusterControllerService/logs/jobs/*.log</exclude>
190 <exclude>hyracks/hyracks-client/ClusterControllerService/logs/jobs/*.log</exclude>
191 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/flot/*.js</exclude>
192 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/jsplumb/jquery.jsPlumb-1.3.5-all-min.js</exclude>
Till Westmann72f81a6f2016-05-17 20:37:00 -0700193 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/stylesheet/json.human.css</exclude>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700194 <exclude>hyracks/hyracks-dist/src/main/resources/conf/master</exclude>
195 <exclude>hyracks/hyracks-dist/src/main/resources/conf/slaves</exclude>
196 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/*.txt</exclude>
197 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/*.tbl</exclude>
198 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/tpch.ddl</exclude>
199 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/wordcount.tsv</exclude>
200 <exclude>hyracks/hyracks-examples/text-example/textserver/data/*.txt</exclude>
201 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/conf.xml</exclude>
202 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/customer_result/part-0</exclude>
203 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/build/test/data/dfs/**</exclude>
204 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/ClusterControllerService/logs/jobs/*.log</exclude>
205 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/data/customer.tbl</exclude>
206 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/expected/part-0</exclude>
207 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.first.cleaned</exclude>
208 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.last.cleaned</exclude>
209 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700210 </configuration>
211 </plugin>
212 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-surefire-plugin</artifactId>
215 <version>2.16</version>
216 <configuration>
217 <failIfNoTests>false</failIfNoTests>
218 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800219 <reuseForks>false</reuseForks>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700220 <argLine>-enableassertions -Xmx2048m
221 -Dfile.encoding=UTF-8
222 -Djava.util.logging.config.file=${user.home}/logging.properties
223 -Xdebug
224 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
225 ${coverageArgLine}
226 </argLine>
227 <includes>
228 <include>${global.test.includes},${test.includes}</include>
229 </includes>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800230 <excludes>
Chris Hilleryc48cc422014-03-21 22:47:23 -0700231 <exclude>${global.test.excludes},${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800232 </excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700233 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700234 </plugin>
235 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700236 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700237 <artifactId>maven-compiler-plugin</artifactId>
238 <version>3.1</version>
239 <configuration>
240 <source>${jdk.version}</source>
241 <target>${jdk.version}</target>
242 <compilerArgument>-Xlint:all</compilerArgument>
243 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000244 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700245 <plugin>
Ian Maxon9e37c962015-11-25 07:38:37 -0800246 <artifactId>maven-resources-plugin</artifactId>
247 <version>2.7</version>
248 <executions>
249 <execution>
250 <id>copy-resources</id>
251 <phase>validate</phase>
252 <goals>
253 <goal>copy-resources</goal>
254 </goals>
255 <configuration>
256 <outputDirectory>target</outputDirectory>
257 <resources>
258 <resource>
259 <directory>${root.dir}/src/main/appended-resources</directory>
260 <!-- <filtering>true</filtering> -->
261 </resource>
262 </resources>
263 </configuration>
264 </execution>
265 </executions>
266 </plugin>
267 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-remote-resources-plugin</artifactId>
270 <executions>
271 <execution>
272 <goals>
273 <goal>process</goal>
274 </goals>
275 <configuration>
276 <resourceBundles combine.children="append">
277 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
278 <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
279 </resourceBundles>
280 </configuration>
281 </execution>
282 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800283 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000284 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700285 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700286 <plugins>
287 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
288 <plugin>
289 <groupId>org.eclipse.m2e</groupId>
290 <artifactId>lifecycle-mapping</artifactId>
291 <version>1.0.0</version>
292 <configuration>
293 <lifecycleMappingMetadata>
294 <pluginExecutions>
295 <pluginExecution>
296 <pluginExecutionFilter>
297 <groupId>org.apache.rat</groupId>
298 <artifactId>apache-rat-plugin</artifactId>
299 <versionRange>[0.11,)</versionRange>
300 <goals>
301 <goal>check</goal>
302 </goals>
303 </pluginExecutionFilter>
304 <action>
305 <ignore></ignore>
306 </action>
307 </pluginExecution>
308 </pluginExecutions>
309 </lifecycleMappingMetadata>
310 </configuration>
311 </plugin>
312 </plugins>
313 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000314 </build>
315
316 <scm>
Ian Maxonc4821272015-08-21 16:08:01 -0700317 <connection>scm:git:https://github.com/apache/incubator-asterixdb-hyracks</connection>
Ian Maxon7c48a952014-07-11 20:00:13 -0700318 <developerConnection>scm:git:ssh://fulliautomatix.ics.uci.edu:29418/hyracks</developerConnection>
Ian Maxonc4821272015-08-21 16:08:01 -0700319 <url>https://github.com/apache/incubator-asterixdb-hyracks</url>
Ian Maxond4daeb42015-09-15 14:31:32 -0700320 <tag>HEAD</tag>
vinayakbe5add8a2012-10-06 19:00:14 +0000321 </scm>
322
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800323 <profiles>
324 <profile>
325 <id>hanging-pregelix-tests</id>
326 <properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700327 <hanging.pregelix.tests/>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800328 </properties>
329 </profile>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700330 <profile>
331 <id>asterix-release</id>
Michael Blow1e34ec22016-05-15 19:15:40 -0700332 <activation>
333 <file>
334 <exists>src/main/assembly/source.xml</exists>
335 </file>
336 </activation>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700337 <build>
338 <plugins>
339 <plugin>
340 <groupId>org.apache.maven.plugins</groupId>
341 <artifactId>maven-assembly-plugin</artifactId>
342 <!-- We override the configuration plugin to override the descriptor to use for building
343 the source release zip. Specifically, we would like to control the inclusions/exclusions.
344 For example, we exclude the KEYS file from the zip -->
345 <executions>
346 <execution>
347 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
348 the apache parent POM under the apache-release profile -->
349 <id>source-release-assembly</id>
350 <phase>package</phase>
351 <goals>
352 <goal>single</goal>
353 </goals>
354 <!-- combine.self should be override to replace the configuration in the parent POM -->
355 <configuration combine.self="override">
356 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
357 <descriptors>
358 <descriptor>src/main/assembly/source.xml</descriptor>
359 </descriptors>
360 </configuration>
361 </execution>
362 </executions>
363 </plugin>
364 </plugins>
365 </build>
366 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700367 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400368 <id>coverage</id>
369 <activation>
370 <property>
371 <name>coverage</name>
372 </property>
373 </activation>
374 <build>
375 <plugins>
376 <plugin>
377 <groupId>org.jacoco</groupId>
378 <artifactId>jacoco-maven-plugin</artifactId>
379 <version>${jacoco.version}</version>
380 <executions>
381 <execution>
382 <id>default-prepare-agent</id>
383 <goals>
384 <goal>prepare-agent</goal>
385 </goals>
386 <configuration>
387 <propertyName>coverageArgLine</propertyName>
388 </configuration>
389 </execution>
390 <execution>
391 <id>default-prepare-agent-integration</id>
392 <goals>
393 <goal>prepare-agent-integration</goal>
394 </goals>
395 <configuration>
396 <propertyName>coverageArgLine</propertyName>
397 </configuration>
398 </execution>
399 </executions>
400 </plugin>
401 </plugins>
402 </build>
403 <properties>
404 <coverage/>
405 </properties>
406 </profile>
407 <profile>
408 <id>no-coverage</id>
409 <activation>
410 <property>
411 <name>!coverage</name>
412 </property>
413 </activation>
414 <properties>
415 <coverageArgLine/>
416 </properties>
417 </profile>
418 <profile>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700419 <id>java8</id>
420 <activation>
421 <jdk>1.8</jdk>
422 </activation>
423 <properties>
424 <jdk.version>1.8</jdk.version>
425 </properties>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700426 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800427 </profiles>
428
vinayakb8983d2b2012-10-29 11:04:49 +0000429 <repositories>
430 <repository>
Vinayak Borkar29502a02013-12-11 11:18:27 -0800431 <id>maven-central</id>
432 <url>http://repo1.maven.org/maven2/</url>
433 </repository>
434 <repository>
vinayakb8983d2b2012-10-29 11:04:49 +0000435 <id>hyracks-public</id>
436 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
437 </repository>
438 <repository>
439 <id>jboss-public</id>
440 <url>https://repository.jboss.org/nexus/content/groups/public/</url>
441 </repository>
442 </repositories>
443
444 <pluginRepositories>
445 <pluginRepository>
446 <id>hyracks-public</id>
447 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
448 <releases>
449 <updatePolicy>always</updatePolicy>
450 </releases>
451 </pluginRepository>
452 </pluginRepositories>
453
vinayakbe5add8a2012-10-06 19:00:14 +0000454 <modules>
455 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000456 <module>algebricks</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000457 </modules>
458</project>