blob: 7699520606a348b134124909d9d5adb4fd93f14d [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>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700240 <artifactId>maven-compiler-plugin</artifactId>
241 <version>3.1</version>
242 <configuration>
243 <source>${jdk.version}</source>
244 <target>${jdk.version}</target>
245 <compilerArgument>-Xlint:all</compilerArgument>
246 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000247 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700248 <plugin>
Ian Maxon9e37c962015-11-25 07:38:37 -0800249 <artifactId>maven-resources-plugin</artifactId>
250 <version>2.7</version>
251 <executions>
252 <execution>
253 <id>copy-resources</id>
254 <phase>validate</phase>
255 <goals>
256 <goal>copy-resources</goal>
257 </goals>
258 <configuration>
259 <outputDirectory>target</outputDirectory>
260 <resources>
261 <resource>
262 <directory>${root.dir}/src/main/appended-resources</directory>
263 <!-- <filtering>true</filtering> -->
264 </resource>
265 </resources>
266 </configuration>
267 </execution>
268 </executions>
269 </plugin>
270 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-remote-resources-plugin</artifactId>
273 <executions>
274 <execution>
275 <goals>
276 <goal>process</goal>
277 </goals>
278 <configuration>
279 <resourceBundles combine.children="append">
280 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
281 <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
282 </resourceBundles>
283 </configuration>
284 </execution>
285 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800286 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000287 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700288 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700289 <plugins>
290 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
291 <plugin>
292 <groupId>org.eclipse.m2e</groupId>
293 <artifactId>lifecycle-mapping</artifactId>
294 <version>1.0.0</version>
295 <configuration>
296 <lifecycleMappingMetadata>
297 <pluginExecutions>
298 <pluginExecution>
299 <pluginExecutionFilter>
300 <groupId>org.apache.rat</groupId>
301 <artifactId>apache-rat-plugin</artifactId>
302 <versionRange>[0.11,)</versionRange>
303 <goals>
304 <goal>check</goal>
305 </goals>
306 </pluginExecutionFilter>
307 <action>
308 <ignore></ignore>
309 </action>
310 </pluginExecution>
311 </pluginExecutions>
312 </lifecycleMappingMetadata>
313 </configuration>
314 </plugin>
315 </plugins>
316 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000317 </build>
318
319 <scm>
Ian Maxonc4821272015-08-21 16:08:01 -0700320 <connection>scm:git:https://github.com/apache/incubator-asterixdb-hyracks</connection>
Ian Maxon7c48a952014-07-11 20:00:13 -0700321 <developerConnection>scm:git:ssh://fulliautomatix.ics.uci.edu:29418/hyracks</developerConnection>
Ian Maxonc4821272015-08-21 16:08:01 -0700322 <url>https://github.com/apache/incubator-asterixdb-hyracks</url>
Ian Maxond4daeb42015-09-15 14:31:32 -0700323 <tag>HEAD</tag>
vinayakbe5add8a2012-10-06 19:00:14 +0000324 </scm>
325
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800326 <profiles>
327 <profile>
328 <id>hanging-pregelix-tests</id>
329 <properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700330 <hanging.pregelix.tests/>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800331 </properties>
332 </profile>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700333 <profile>
334 <id>asterix-release</id>
Michael Blow1e34ec22016-05-15 19:15:40 -0700335 <activation>
336 <file>
337 <exists>src/main/assembly/source.xml</exists>
338 </file>
339 </activation>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700340 <build>
341 <plugins>
342 <plugin>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-assembly-plugin</artifactId>
345 <!-- We override the configuration plugin to override the descriptor to use for building
346 the source release zip. Specifically, we would like to control the inclusions/exclusions.
347 For example, we exclude the KEYS file from the zip -->
348 <executions>
349 <execution>
350 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
351 the apache parent POM under the apache-release profile -->
352 <id>source-release-assembly</id>
353 <phase>package</phase>
354 <goals>
355 <goal>single</goal>
356 </goals>
357 <!-- combine.self should be override to replace the configuration in the parent POM -->
358 <configuration combine.self="override">
359 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
360 <descriptors>
361 <descriptor>src/main/assembly/source.xml</descriptor>
362 </descriptors>
363 </configuration>
364 </execution>
365 </executions>
366 </plugin>
367 </plugins>
368 </build>
369 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700370 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400371 <id>coverage</id>
372 <activation>
373 <property>
374 <name>coverage</name>
375 </property>
376 </activation>
377 <build>
378 <plugins>
379 <plugin>
380 <groupId>org.jacoco</groupId>
381 <artifactId>jacoco-maven-plugin</artifactId>
382 <version>${jacoco.version}</version>
383 <executions>
384 <execution>
385 <id>default-prepare-agent</id>
386 <goals>
387 <goal>prepare-agent</goal>
388 </goals>
389 <configuration>
390 <propertyName>coverageArgLine</propertyName>
391 </configuration>
392 </execution>
393 <execution>
394 <id>default-prepare-agent-integration</id>
395 <goals>
396 <goal>prepare-agent-integration</goal>
397 </goals>
398 <configuration>
399 <propertyName>coverageArgLine</propertyName>
400 </configuration>
401 </execution>
402 </executions>
403 </plugin>
404 </plugins>
405 </build>
406 <properties>
407 <coverage/>
408 </properties>
409 </profile>
410 <profile>
411 <id>no-coverage</id>
412 <activation>
413 <property>
414 <name>!coverage</name>
415 </property>
416 </activation>
417 <properties>
418 <coverageArgLine/>
419 </properties>
420 </profile>
421 <profile>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700422 <id>java8</id>
423 <activation>
424 <jdk>1.8</jdk>
425 </activation>
426 <properties>
427 <jdk.version>1.8</jdk.version>
428 </properties>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700429 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800430 </profiles>
431
vinayakb8983d2b2012-10-29 11:04:49 +0000432 <repositories>
433 <repository>
Vinayak Borkar29502a02013-12-11 11:18:27 -0800434 <id>maven-central</id>
435 <url>http://repo1.maven.org/maven2/</url>
436 </repository>
437 <repository>
vinayakb8983d2b2012-10-29 11:04:49 +0000438 <id>hyracks-public</id>
439 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
440 </repository>
441 <repository>
442 <id>jboss-public</id>
443 <url>https://repository.jboss.org/nexus/content/groups/public/</url>
444 </repository>
445 </repositories>
446
447 <pluginRepositories>
448 <pluginRepository>
449 <id>hyracks-public</id>
450 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
451 <releases>
452 <updatePolicy>always</updatePolicy>
453 </releases>
454 </pluginRepository>
455 </pluginRepositories>
456
vinayakbe5add8a2012-10-06 19:00:14 +0000457 <modules>
458 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000459 <module>algebricks</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000460 </modules>
461</project>