blob: 1feb51b92884bd95c3a6f49fb3340879c4db1e46 [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 Maxon776894a2016-02-02 10:38:56 -080025 <version>0.2.17-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
29 <parent>
30 <groupId>org.apache</groupId>
31 <artifactId>apache</artifactId>
Ian Maxon776894a2016-02-02 10:38:56 -080032 <version>LATEST</version>
Ian Maxonc4821272015-08-21 16:08:01 -070033 </parent>
34
Iane82f8112014-11-19 12:31:18 -080035 <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
Chris Hillery4fc647c2014-02-13 14:49:58 -080044 <properties>
Ianeee859a2014-09-21 18:26:49 -070045 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Ian Maxon9e37c962015-11-25 07:38:37 -080046 <root.dir>${basedir}</root.dir>
Chris Hillery4fc647c2014-02-13 14:49:58 -080047 <jvm.extraargs />
Chris Hilleryc9d8f922014-03-06 01:44:19 -080048 <!-- Definition of tests in various categories which may be excluded -->
Yingyi Bu0622e8e2014-05-27 17:46:41 -070049 <hanging.pregelix.tests>**/pregelix/**/FailureRecovery*.java</hanging.pregelix.tests>
Chris Hillery1990ac32014-03-07 00:02:58 -080050 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
Chris Hilleryc48cc422014-03-21 22:47:23 -070051 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
52 <global.test.excludes>**/Abstract*.java,${hanging.pregelix.tests},${hivesterix.perf.tests}</global.test.excludes>
Ianeee859a2014-09-21 18:26:49 -070053 <!-- Versions under dependencymanagement or used in many projects via properties -->
54 <hadoop.version>2.2.0</hadoop.version>
55 <junit.version>4.8.1</junit.version>
56 <commons.io.version>2.4</commons.io.version>
Chris Hillery4fc647c2014-02-13 14:49:58 -080057 </properties>
Chris Hilleryb531ce32014-02-20 16:39:25 -080058 <dependencyManagement>
59 <dependencies>
60 <dependency>
61 <groupId>junit</groupId>
62 <artifactId>junit</artifactId>
Ianeee859a2014-09-21 18:26:49 -070063 <version>${junit.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -080064 </dependency>
Ianeee859a2014-09-21 18:26:49 -070065 <dependency>
66 <groupId>org.apache.hadoop</groupId>
67 <artifactId>hadoop-yarn-client</artifactId>
68 <version>${hadoop.version}</version>
69 </dependency>
70 <dependency>
71 <groupId>org.apache.hadoop</groupId>
72 <artifactId>hadoop-client</artifactId>
73 <version>${hadoop.version}</version>
74 </dependency>
75 <dependency>
76 <groupId>org.apache.hadoop</groupId>
77 <artifactId>hadoop-common</artifactId>
78 <version>${hadoop.version}</version>
79 </dependency>
80 <dependency>
81 <groupId>org.apache.hadoop</groupId>
82 <artifactId>hadoop-hdfs</artifactId>
83 <version>${hadoop.version}</version>
84 </dependency>
85 <dependency>
86 <groupId>org.apache.hadoop</groupId>
87 <artifactId>hadoop-minicluster</artifactId>
88 <version>${hadoop.version}</version>
89 </dependency>
90 <dependency>
91 <groupId>org.apache.hadoop</groupId>
92 <artifactId>hadoop-mapreduce-client-core</artifactId>
93 <version>${hadoop.version}</version>
94 </dependency>
95 <dependency>
96 <groupId>commons-io</groupId>
97 <artifactId>commons-io</artifactId>
98 <version>${commons.io.version}</version>
99 </dependency>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800100 </dependencies>
101 </dependencyManagement>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800102
vinayakbe5add8a2012-10-06 19:00:14 +0000103 <build>
104 <plugins>
105 <plugin>
Chris Hillery4fc647c2014-02-13 14:49:58 -0800106 <groupId>org.codehaus.mojo</groupId>
107 <artifactId>versions-maven-plugin</artifactId>
108 <version>1.2</version>
109 </plugin>
110 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700111 <groupId>org.apache.rat</groupId>
112 <artifactId>apache-rat-plugin</artifactId>
113 <version>0.11</version>
114 <executions>
115 <execution>
Ian Maxon9e37c962015-11-25 07:38:37 -0800116 <phase>validate</phase>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700117 <goals>
118 <goal>check</goal>
119 </goals>
120 </execution>
121 </executions>
122 <configuration>
123 <licenses>
124 <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
125 <licenseFamilyCategory>MIT</licenseFamilyCategory>
126 <licenseFamilyName>The MIT License</licenseFamilyName>
127 <notes>For JQuery MIT/GPL2 Dual License</notes>
128 <patterns>
129 <pattern>Dual licensed under the MIT or GPL Version 2 licenses.</pattern>
130 <pattern>Dual licensed under the MIT and GPL2 licenses.</pattern>
131 <pattern>http://jquery.org/license</pattern>
132 <pattern>Dual licensed under the MIT</pattern>
133 <pattern>Released under the MIT license by IOLA, December 2007.</pattern>
134 </patterns>
135 </license>
136 </licenses>
137 <licenseFamilies>
138 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
139 <familyName>The MIT License</familyName>
140 </licenseFamily>
141 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
142 <familyName>Apache License Version 2.0</familyName>
143 </licenseFamily>
144 </licenseFamilies>
Ian Maxon9e37c962015-11-25 07:38:37 -0800145 <excludeSubProjects>false</excludeSubProjects>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700146 <excludes>
Ian Maxon9e37c962015-11-25 07:38:37 -0800147 <exclude>**/target/**</exclude>
Ian Maxonec572922015-09-08 14:48:37 -0700148 <exclude>**/*.iml</exclude>
Ian Maxonbb5dc4c2016-02-02 18:16:30 -0800149 <exclude>**/.classpath</exclude>
150 <exclude>**/.project</exclude>
151 <exclude>**/.settings/**</exclude>
Ian Maxon9e37c962015-11-25 07:38:37 -0800152 <exclude>algebricks/algebricks-examples/piglet-example/testcases/*.piglet</exclude>
153 <exclude>algebricks/algebricks-tests/ClusterControllerService/logs/jobs/*.log</exclude>
154 <exclude>algebricks/algebricks-tests/data/simple/*.tbl</exclude>
155 <exclude>algebricks/algebricks-tests/data/tpch0.001/*.tbl</exclude>
156 <exclude>algebricks/algebricks-tests/data/tpch0.001/tpch.ddl</exclude>
157 <exclude>algebricks/algebricks-tests/src/test/resources/results/scanMicroSortWrite.out</exclude>
158 <exclude>ClusterControllerService/logs/jobs/*.log</exclude>
159 <exclude>hyracks/hyracks-client/ClusterControllerService/logs/jobs/*.log</exclude>
160 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/flot/*.js</exclude>
161 <exclude>hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/jsplumb/jquery.jsPlumb-1.3.5-all-min.js</exclude>
162 <exclude>hyracks/hyracks-dist/src/main/resources/conf/master</exclude>
163 <exclude>hyracks/hyracks-dist/src/main/resources/conf/slaves</exclude>
164 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/*.txt</exclude>
165 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/*.tbl</exclude>
166 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/tpch0.001/tpch.ddl</exclude>
167 <exclude>hyracks/hyracks-examples/hyracks-integration-tests/data/wordcount.tsv</exclude>
168 <exclude>hyracks/hyracks-examples/text-example/textserver/data/*.txt</exclude>
169 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/conf.xml</exclude>
170 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/actual/customer_result/part-0</exclude>
171 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/build/test/data/dfs/**</exclude>
172 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/ClusterControllerService/logs/jobs/*.log</exclude>
173 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/data/customer.tbl</exclude>
174 <exclude>hyracks/hyracks-hdfs/hyracks-hdfs-core/src/test/resources/expected/part-0</exclude>
175 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.first.cleaned</exclude>
176 <exclude>hyracks/hyracks-storage-am-common/src/main/resources/dist.all.last.cleaned</exclude>
Ian Maxonec572922015-09-08 14:48:37 -0700177 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700178 </configuration>
179 </plugin>
180 <plugin>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-surefire-plugin</artifactId>
183 <version>2.16</version>
184 <configuration>
185 <failIfNoTests>false</failIfNoTests>
186 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800187 <reuseForks>false</reuseForks>
Chris Hillery069f9502014-03-06 01:49:40 -0800188 <argLine>-enableassertions -Xmx2048m
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800189 -Dfile.encoding=UTF-8
190 -Djava.util.logging.config.file=${user.home}/logging.properties
191 -Xdebug
192 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n</argLine>
193 <includes>
Chris Hilleryc48cc422014-03-21 22:47:23 -0700194 <include>${global.test.includes},${test.includes}</include>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800195 </includes>
196 <excludes>
Chris Hilleryc48cc422014-03-21 22:47:23 -0700197 <exclude>${global.test.excludes},${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800198 </excludes>
199 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000200 </plugin>
Ian Maxona6b4b932015-09-01 09:23:18 -1000201 <plugin>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-assembly-plugin</artifactId>
204<!-- We override the configuration plugin to override the descriptor to use for building
205 the source release zip. Specifically, we would like to control the inclusions/exclusions.
206 For example, we exclude the KEYS file from the zip -->
207 <executions>
208 <execution>
209 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
210 the apache parent POM under the apache-release profile -->
211 <id>source-release-assembly</id>
212 <phase>package</phase>
213 <goals>
214 <goal>single</goal>
215 </goals>
216 <!-- combine.self should be override to replace the configuration in the parent POM -->
217 <configuration combine.self="override">
218 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
219 <descriptors>
220 <descriptor>src/main/assembly/source.xml</descriptor>
221 </descriptors>
222 </configuration>
223 </execution>
224 </executions>
225 </plugin>
Ian Maxon9e37c962015-11-25 07:38:37 -0800226 <plugin>
227 <artifactId>maven-resources-plugin</artifactId>
228 <version>2.7</version>
229 <executions>
230 <execution>
231 <id>copy-resources</id>
232 <phase>validate</phase>
233 <goals>
234 <goal>copy-resources</goal>
235 </goals>
236 <configuration>
237 <outputDirectory>target</outputDirectory>
238 <resources>
239 <resource>
240 <directory>${root.dir}/src/main/appended-resources</directory>
241 <!-- <filtering>true</filtering> -->
242 </resource>
243 </resources>
244 </configuration>
245 </execution>
246 </executions>
247 </plugin>
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-remote-resources-plugin</artifactId>
251 <executions>
252 <execution>
253 <goals>
254 <goal>process</goal>
255 </goals>
256 <configuration>
257 <resourceBundles combine.children="append">
258 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
259 <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
260 </resourceBundles>
261 </configuration>
262 </execution>
263 </executions>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-resources-plugin</artifactId>
268 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000269 </plugins>
270 </build>
271
272 <scm>
Ian Maxonc4821272015-08-21 16:08:01 -0700273 <connection>scm:git:https://github.com/apache/incubator-asterixdb-hyracks</connection>
Ian Maxon7c48a952014-07-11 20:00:13 -0700274 <developerConnection>scm:git:ssh://fulliautomatix.ics.uci.edu:29418/hyracks</developerConnection>
Ian Maxonc4821272015-08-21 16:08:01 -0700275 <url>https://github.com/apache/incubator-asterixdb-hyracks</url>
Ian Maxon776894a2016-02-02 10:38:56 -0800276 <tag>HEAD</tag>
vinayakbe5add8a2012-10-06 19:00:14 +0000277 </scm>
278
vinayakb8983d2b2012-10-29 11:04:49 +0000279
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800280 <profiles>
281 <profile>
282 <id>hanging-pregelix-tests</id>
283 <properties>
284 <hanging.pregelix.tests />
285 </properties>
286 </profile>
287 </profiles>
288
vinayakb8983d2b2012-10-29 11:04:49 +0000289 <repositories>
290 <repository>
Vinayak Borkar29502a02013-12-11 11:18:27 -0800291 <id>maven-central</id>
292 <url>http://repo1.maven.org/maven2/</url>
293 </repository>
294 <repository>
vinayakb8983d2b2012-10-29 11:04:49 +0000295 <id>hyracks-public</id>
296 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
297 </repository>
298 <repository>
299 <id>jboss-public</id>
300 <url>https://repository.jboss.org/nexus/content/groups/public/</url>
301 </repository>
302 </repositories>
303
304 <pluginRepositories>
305 <pluginRepository>
306 <id>hyracks-public</id>
307 <url>http://obelix.ics.uci.edu/nexus/content/groups/hyracks-public/</url>
308 <releases>
309 <updatePolicy>always</updatePolicy>
310 </releases>
311 </pluginRepository>
312 </pluginRepositories>
313
vinayakbe5add8a2012-10-06 19:00:14 +0000314 <modules>
315 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000316 <module>algebricks</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000317 </modules>
318</project>