blob: f2e0eeaa5387091c9d884fccbc1d10ce8034011f [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
Ian Maxond8857792015-09-11 14:19:53 -070020
vinayakbe5add8a2012-10-06 19:00:14 +000021<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">
22 <modelVersion>4.0.0</modelVersion>
Ian Maxone915e8c2015-07-01 17:03:31 -070023 <groupId>org.apache.hyracks</groupId>
Ian Maxon2378ed62015-11-24 13:04:19 -080024 <artifactId>apache-asterixdb-hyracks</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -080025 <version>0.2.18-SNAPSHOT</version>
vinayakbe5add8a2012-10-06 19:00:14 +000026 <packaging>pom</packaging>
buyingyi7f356c12012-10-07 00:23:17 +000027 <name>hyracks-ecosystem-full-stack</name>
Ian Maxonc4821272015-08-21 16:08:01 -070028
JavierJia26c3b532015-10-23 13:49:32 -070029 <parent>
30 <groupId>org.apache</groupId>
31 <artifactId>apache</artifactId>
32 <version>LATEST</version>
33 </parent>
Ian Maxonc4821272015-08-21 16:08:01 -070034
JavierJia26c3b532015-10-23 13:49:32 -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
JavierJia26c3b532015-10-23 13:49:32 -070044 <properties>
45 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Ian Maxoned5825d2015-12-09 12:35:33 -080046 <jdk.version>1.8</jdk.version>
JavierJia26c3b532015-10-23 13:49:32 -070047 <jvm.extraargs/>
48 <!-- Definition of tests in various categories which may be excluded -->
49 <hanging.pregelix.tests>**/pregelix/**/FailureRecovery*.java</hanging.pregelix.tests>
50 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
51 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
52 <global.test.excludes>**/Abstract*.java,${hanging.pregelix.tests},${hivesterix.perf.tests}
53 </global.test.excludes>
54 <!-- Versions under dependencymanagement or used in many projects via properties -->
55 <hadoop.version>2.2.0</hadoop.version>
56 <junit.version>4.8.1</junit.version>
57 <commons.io.version>2.4</commons.io.version>
58 </properties>
59 <dependencyManagement>
60 <dependencies>
61 <dependency>
62 <groupId>junit</groupId>
63 <artifactId>junit</artifactId>
64 <version>${junit.version}</version>
65 </dependency>
66 <dependency>
67 <groupId>org.apache.hadoop</groupId>
68 <artifactId>hadoop-yarn-client</artifactId>
69 <version>${hadoop.version}</version>
70 </dependency>
71 <dependency>
72 <groupId>org.apache.hadoop</groupId>
73 <artifactId>hadoop-client</artifactId>
74 <version>${hadoop.version}</version>
75 </dependency>
76 <dependency>
77 <groupId>org.apache.hadoop</groupId>
78 <artifactId>hadoop-common</artifactId>
79 <version>${hadoop.version}</version>
80 </dependency>
81 <dependency>
82 <groupId>org.apache.hadoop</groupId>
83 <artifactId>hadoop-hdfs</artifactId>
84 <version>${hadoop.version}</version>
85 </dependency>
86 <dependency>
87 <groupId>org.apache.hadoop</groupId>
88 <artifactId>hadoop-minicluster</artifactId>
89 <version>${hadoop.version}</version>
90 </dependency>
91 <dependency>
92 <groupId>org.apache.hadoop</groupId>
93 <artifactId>hadoop-mapreduce-client-core</artifactId>
94 <version>${hadoop.version}</version>
95 </dependency>
96 <dependency>
97 <groupId>commons-io</groupId>
98 <artifactId>commons-io</artifactId>
99 <version>${commons.io.version}</version>
100 </dependency>
101 </dependencies>
102 </dependencyManagement>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800103
vinayakbe5add8a2012-10-06 19:00:14 +0000104 <build>
105 <plugins>
106 <plugin>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800107 <groupId>org.codehaus.mojo</groupId>
108 <artifactId>versions-maven-plugin</artifactId>
109 <version>1.2</version>
110 </plugin>
111 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700112 <groupId>org.apache.rat</groupId>
113 <artifactId>apache-rat-plugin</artifactId>
114 <version>0.11</version>
115 <executions>
116 <execution>
Ian Maxon9e37c962015-11-25 07:38:37 -0800117 <phase>validate</phase>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700118 <goals>
119 <goal>check</goal>
120 </goals>
121 </execution>
122 </executions>
123 <configuration>
124 <licenses>
125 <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
126 <licenseFamilyCategory>MIT</licenseFamilyCategory>
127 <licenseFamilyName>The MIT License</licenseFamilyName>
128 <notes>For JQuery MIT/GPL2 Dual License</notes>
129 <patterns>
130 <pattern>Dual licensed under the MIT or GPL Version 2 licenses.</pattern>
131 <pattern>Dual licensed under the MIT and GPL2 licenses.</pattern>
132 <pattern>http://jquery.org/license</pattern>
133 <pattern>Dual licensed under the MIT</pattern>
134 <pattern>Released under the MIT license by IOLA, December 2007.</pattern>
135 </patterns>
136 </license>
137 </licenses>
138 <licenseFamilies>
139 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
140 <familyName>The MIT License</familyName>
141 </licenseFamily>
142 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
143 <familyName>Apache License Version 2.0</familyName>
144 </licenseFamily>
145 </licenseFamilies>
Ian Maxon9e37c962015-11-25 07:38:37 -0800146 <excludeSubProjects>false</excludeSubProjects>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700147 <excludes>
Ian Maxonec572922015-09-08 14:48:37 -0700148 <exclude>**/algebricks-tests/src/test/resources/results/**</exclude>
149 <exclude>**/javascript/flot/*.js</exclude>
150 <exclude>**/javascript/jsplumb/*.js</exclude>
151 <exclude>**/javascript/jquery/*.js</exclude>
152 <exclude>**/javascript/adminconsole/*.js</exclude>
153 <exclude>**/stylesheet/jquery-ui/**</exclude>
154 <exclude>**/hyracks-dist/src/main/resources/conf/**</exclude>
155 <exclude>**/src/test/resources/data/**</exclude>
156 <exclude>**/src/test/resources/results/**</exclude>
157 <exclude>**/src/test/resources/expected/**</exclude>
158 <exclude>**/testcases/*.piglet</exclude>
Ian Maxonec572922015-09-08 14:48:37 -0700159 <exclude>**/data/**/*.tbl</exclude>
160 <exclude>**/data/**/*.ddl</exclude>
161 <exclude>**/data/**/*.tsv</exclude>
162 <exclude>**/actual/conf.xml</exclude>
163 <exclude>**/actual/customer_result/part-*</exclude>
164 <exclude>**/src/main/resources/conf/*</exclude>
165 <exclude>**/data/dfs/**</exclude>
166 <exclude>**/invIndex*/**</exclude>
167 <exclude>**/*.job</exclude>
168 <exclude>**/*.conf</exclude>
169 <exclude>**/src/main/resources/*.cleaned</exclude>
170 <exclude>**/ClusterControllerService/**</exclude>
JavierJia26c3b532015-10-23 13:49:32 -0700171 <exclude>**/target/**</exclude>
Ian Maxonec572922015-09-08 14:48:37 -0700172 <exclude>**/output/**</exclude>
Jianfeng Jia6abc63e2016-02-25 18:28:20 -0800173 <exclude>**/target/**</exclude>
Ian Maxonec572922015-09-08 14:48:37 -0700174 <exclude>**/*.iml</exclude>
Abdullah Alamoudif6b9f1f2016-01-02 12:55:12 +0300175 <exclude>**/*.prefs</exclude>
Abdullah Alamoudi7dabc192016-03-16 01:58:46 +0300176 <exclude>**/data/*.txt</exclude>
177 <exclude>**/data/**/*.txt</exclude>
Abdullah Alamoudif6b9f1f2016-01-02 12:55:12 +0300178 <exclude>**/.classpath</exclude>
179 <exclude>**/.project</exclude>
Ian Maxon9e37c962015-11-25 07:38:37 -0800180 <exclude>**/target/**</exclude>
Ian Maxonec572922015-09-08 14:48:37 -0700181 <exclude>**/*.iml</exclude>
Ian Maxonbb5dc4c2016-02-02 18:16:30 -0800182 <exclude>**/.classpath</exclude>
183 <exclude>**/.project</exclude>
184 <exclude>**/.settings/**</exclude>
Ian Maxon9e37c962015-11-25 07:38:37 -0800185 <exclude>algebricks/algebricks-examples/piglet-example/testcases/*.piglet</exclude>
186 <exclude>algebricks/algebricks-tests/ClusterControllerService/logs/jobs/*.log</exclude>
187 <exclude>algebricks/algebricks-tests/data/simple/*.tbl</exclude>
188 <exclude>algebricks/algebricks-tests/data/tpch0.001/*.tbl</exclude>
189 <exclude>algebricks/algebricks-tests/data/tpch0.001/tpch.ddl</exclude>
190 <exclude>algebricks/algebricks-tests/src/test/resources/results/scanMicroSortWrite.out</exclude>
191 <exclude>ClusterControllerService/logs/jobs/*.log</exclude>
192 <exclude>hyracks/hyracks-client/ClusterControllerService/logs/jobs/*.log</exclude>
193 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/flot/*.js</exclude>
194 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/jsplumb/jquery.jsPlumb-1.3.5-all-min.js</exclude>
195 <exclude>hyracks/hyracks-dist/src/main/resources/conf/master</exclude>
196 <exclude>hyracks/hyracks-dist/src/main/resources/conf/slaves</exclude>
197 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/*.txt</exclude>
198 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/*.tbl</exclude>
199 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/tpch.ddl</exclude>
200 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/wordcount.tsv</exclude>
201 <exclude>hyracks/hyracks-examples/text-example/textserver/data/*.txt</exclude>
202 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/conf.xml</exclude>
203 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/customer_result/part-0</exclude>
204 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/build/test/data/dfs/**</exclude>
205 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/ClusterControllerService/logs/jobs/*.log</exclude>
206 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/data/customer.tbl</exclude>
207 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/expected/part-0</exclude>
208 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.first.cleaned</exclude>
209 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.last.cleaned</exclude>
Ian Maxonec572922015-09-08 14:48:37 -0700210 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700211 </configuration>
212 </plugin>
213 <plugin>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-surefire-plugin</artifactId>
216 <version>2.16</version>
217 <configuration>
218 <failIfNoTests>false</failIfNoTests>
219 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800220 <reuseForks>false</reuseForks>
Chris Hillery069f9502014-03-06 01:49:40 -0800221 <argLine>-enableassertions -Xmx2048m
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800222 -Dfile.encoding=UTF-8
223 -Djava.util.logging.config.file=${user.home}/logging.properties
224 -Xdebug
225 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n</argLine>
226 <includes>
Chris Hilleryc48cc422014-03-21 22:47:23 -0700227 <include>${global.test.includes},${test.includes}</include>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800228 </includes>
229 <excludes>
Chris Hilleryc48cc422014-03-21 22:47:23 -0700230 <exclude>${global.test.excludes},${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800231 </excludes>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700232 </configuration>
233 </plugin>
234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-assembly-plugin</artifactId>
237 <!-- We override the configuration plugin to override the descriptor to use for building
238 the source release zip. Specifically, we would like to control the inclusions/exclusions.
239 For example, we exclude the KEYS file from the zip -->
240 <executions>
241 <execution>
242 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
243 the apache parent POM under the apache-release profile -->
244 <id>source-release-assembly</id>
245 <phase>package</phase>
246 <goals>
247 <goal>single</goal>
248 </goals>
249 <!-- combine.self should be override to replace the configuration in the parent POM -->
250 <configuration combine.self="override">
251 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
252 <descriptors>
253 <descriptor>src/main/assembly/source.xml</descriptor>
254 </descriptors>
255 </configuration>
256 </execution>
257 </executions>
258 </plugin>
259 <plugin>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-compiler-plugin</artifactId>
262 <version>3.1</version>
263 <configuration>
264 <source>${jdk.version}</source>
265 <target>${jdk.version}</target>
266 <compilerArgument>-Xlint:all</compilerArgument>
267 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000268 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700269 <plugin>
Ian Maxon9e37c962015-11-25 07:38:37 -0800270 <artifactId>maven-resources-plugin</artifactId>
271 <version>2.7</version>
272 <executions>
273 <execution>
274 <id>copy-resources</id>
275 <phase>validate</phase>
276 <goals>
277 <goal>copy-resources</goal>
278 </goals>
279 <configuration>
280 <outputDirectory>target</outputDirectory>
281 <resources>
282 <resource>
283 <directory>${root.dir}/src/main/appended-resources</directory>
284 <!-- <filtering>true</filtering> -->
285 </resource>
286 </resources>
287 </configuration>
288 </execution>
289 </executions>
290 </plugin>
291 <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-remote-resources-plugin</artifactId>
294 <executions>
295 <execution>
296 <goals>
297 <goal>process</goal>
298 </goals>
299 <configuration>
300 <resourceBundles combine.children="append">
301 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
302 <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
303 </resourceBundles>
304 </configuration>
305 </execution>
306 </executions>
307 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000308 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700309 <pluginManagement>
310 <plugins>
311 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
312 <plugin>
313 <groupId>org.eclipse.m2e</groupId>
314 <artifactId>lifecycle-mapping</artifactId>
315 <version>1.0.0</version>
316 <configuration>
317 <lifecycleMappingMetadata>
318 <pluginExecutions>
319 <pluginExecution>
320 <pluginExecutionFilter>
321 <groupId>org.apache.rat</groupId>
322 <artifactId>apache-rat-plugin</artifactId>
323 <versionRange>[0.11,)</versionRange>
324 <goals>
325 <goal>check</goal>
326 </goals>
327 </pluginExecutionFilter>
328 <action>
329 <ignore></ignore>
330 </action>
331 </pluginExecution>
332 </pluginExecutions>
333 </lifecycleMappingMetadata>
334 </configuration>
335 </plugin>
336 </plugins>
337 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000338 </build>
339
340 <scm>
Ian Maxonc4821272015-08-21 16:08:01 -0700341 <connection>scm:git:https://github.com/apache/incubator-asterixdb-hyracks</connection>
Ian Maxon7c48a952014-07-11 20:00:13 -0700342 <developerConnection>scm:git:ssh://fulliautomatix.ics.uci.edu:29418/hyracks</developerConnection>
Ian Maxonc4821272015-08-21 16:08:01 -0700343 <url>https://github.com/apache/incubator-asterixdb-hyracks</url>
Ian Maxond4daeb42015-09-15 14:31:32 -0700344 <tag>HEAD</tag>
vinayakbe5add8a2012-10-06 19:00:14 +0000345 </scm>
346
vinayakb8983d2b2012-10-29 11:04:49 +0000347
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800348 <profiles>
349 <profile>
350 <id>hanging-pregelix-tests</id>
351 <properties>
352 <hanging.pregelix.tests />
353 </properties>
354 </profile>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700355 <profile>
356 <id>asterix-release</id>
357 <build>
358 <plugins>
359 <plugin>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-assembly-plugin</artifactId>
362 <!-- We override the configuration plugin to override the descriptor to use for building
363 the source release zip. Specifically, we would like to control the inclusions/exclusions.
364 For example, we exclude the KEYS file from the zip -->
365 <executions>
366 <execution>
367 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
368 the apache parent POM under the apache-release profile -->
369 <id>source-release-assembly</id>
370 <phase>package</phase>
371 <goals>
372 <goal>single</goal>
373 </goals>
374 <!-- combine.self should be override to replace the configuration in the parent POM -->
375 <configuration combine.self="override">
376 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
377 <descriptors>
378 <descriptor>src/main/assembly/source.xml</descriptor>
379 </descriptors>
380 </configuration>
381 </execution>
382 </executions>
383 </plugin>
384 </plugins>
385 </build>
386 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700387 <profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700388 <id>java8</id>
389 <activation>
390 <jdk>1.8</jdk>
391 </activation>
392 <properties>
393 <jdk.version>1.8</jdk.version>
394 </properties>
395 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800396 </profiles>
397
vinayakb8983d2b2012-10-29 11:04:49 +0000398 <repositories>
399 <repository>
Vinayak Borkar29502a02013-12-11 11:18:27 -0800400 <id>maven-central</id>
401 <url>http://repo1.maven.org/maven2/</url>
402 </repository>
403 <repository>
vinayakb8983d2b2012-10-29 11:04:49 +0000404 <id>hyracks-public</id>
405 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
406 </repository>
407 <repository>
408 <id>jboss-public</id>
409 <url>https://repository.jboss.org/nexus/content/groups/public/</url>
410 </repository>
411 </repositories>
412
413 <pluginRepositories>
414 <pluginRepository>
415 <id>hyracks-public</id>
416 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
417 <releases>
418 <updatePolicy>always</updatePolicy>
419 </releases>
420 </pluginRepository>
421 </pluginRepositories>
422
vinayakbe5add8a2012-10-06 19:00:14 +0000423 <modules>
424 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000425 <module>algebricks</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000426 </modules>
427</project>