blob: 5ff5b35b78bbc66ea7d6cd03e6856b5b1232d693 [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001<?xml version="1.0" encoding="UTF-8"?>
Till Westmannea8ab392013-06-05 15:17:08 -07002<!--
Ian Maxon928bbd12015-09-14 17:12:48 -07003 ! Licensed to the Apache Software Foundation (ASF) under one
4 ! or more contributor license agreements. See the NOTICE file
5 ! distributed with this work for additional information
6 ! regarding copyright ownership. The ASF licenses this file
7 ! to you under the Apache License, Version 2.0 (the
8 ! "License"); you may not use this file except in compliance
9 ! with the License. You may obtain a copy of the License at
10 !
11 ! http://www.apache.org/licenses/LICENSE-2.0
12 !
13 ! Unless required by applicable law or agreed to in writing,
14 ! software distributed under the License is distributed on an
15 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 ! KIND, either express or implied. See the License for the
17 ! specific language governing permissions and limitations
18 ! under the License.
Till Westmannea8ab392013-06-05 15:17:08 -070019 !-->
Eldon Carman0228b9c2014-11-25 18:13:46 -080020<project
21 xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24 <modelVersion>4.0.0</modelVersion>
Ian Maxonf18bba22015-08-21 12:35:14 -070025 <groupId>org.apache.asterix</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -080026 <artifactId>asterix</artifactId>
27 <version>0.8.7-SNAPSHOT</version>
28 <packaging>pom</packaging>
29
Ian Maxon5c058c62015-08-21 16:06:15 -070030 <parent>
31 <groupId>org.apache</groupId>
32 <artifactId>apache</artifactId>
33 <version>LATEST</version>
34 </parent>
35
Ian4a816dc2014-11-26 15:46:32 -080036 <licenses>
Preston Carmanc66d23a2015-07-08 23:44:13 -070037 <license>
38 <name>Apache License, Version 2.0</name>
39 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
40 <distribution>repo</distribution>
41 <comments>A business-friendly OSS license</comments>
42 </license>
Ian4a816dc2014-11-26 15:46:32 -080043 </licenses>
44
Eldon Carman0228b9c2014-11-25 18:13:46 -080045 <properties>
46 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47 <jvm.extraargs />
48 <runSlowAQLTests>false</runSlowAQLTests>
Chris Hilleryb5c85ac2014-02-21 02:33:37 -080049
50 <!-- Definition of tests in various categories which may be excluded -->
Eldon Carman0228b9c2014-11-25 18:13:46 -080051 <optimizer.tests>**/optimizer/**/*Test.java</optimizer.tests>
52 <metadata.tests>**/metadata/*Test.java</metadata.tests>
53 <execution.tests>**/ExecutionTest.java</execution.tests>
Ian Maxonc9a3a9b2015-07-31 15:27:39 -070054 <repeated.tests>**/RepeatedTest.java</repeated.tests>
Eldon Carman0228b9c2014-11-25 18:13:46 -080055 <invalid.tests>**/DmlTest.java</invalid.tests>
56 <global.test.includes>**/*TestSuite.java,**/*Test.java,${execution.tests}</global.test.includes>
Preston Carmanc66d23a2015-07-08 23:44:13 -070057 <global.test.excludes>${optimizer.tests},${metadata.tests},${invalid.tests},${repeated.tests}</global.test.excludes>
Ian18997ce2014-09-22 16:14:39 -070058 <!-- Versions under dependencymanagement or used in many projects via properties -->
Ildar Absalyamov6ad223f2015-10-09 10:21:07 -070059 <algebricks.version>0.2.17-SNAPSHOT</algebricks.version>
60 <hyracks.version>0.2.17-SNAPSHOT</hyracks.version>
Eldon Carman0228b9c2014-11-25 18:13:46 -080061 <hadoop.version>2.2.0</hadoop.version>
Ian Maxon69375a12015-06-29 16:12:53 -070062 <junit.version>4.11</junit.version>
Eldon Carman0228b9c2014-11-25 18:13:46 -080063 <commons.io.version>2.4</commons.io.version>
64 <servlet.api.version>2.5</servlet.api.version>
65 <json.version>20090211</json.version>
66 </properties>
vinayakb5ee049d2013-04-06 21:21:29 +000067
Eldon Carman0228b9c2014-11-25 18:13:46 -080068 <build>
69 <plugins>
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -080072 <artifactId>maven-surefire-plugin</artifactId>
73 <version>2.16</version>
74 <configuration>
75 <failIfNoTests>false</failIfNoTests>
76 <systemPropertyVariables>
77 <skipFredSlowTests>true</skipFredSlowTests>
78 </systemPropertyVariables>
79 <forkCount>1</forkCount>
80 <reuseForks>false</reuseForks>
81 <argLine>-enableassertions -Xmx${test.heap.size}m
82 -Dfile.encoding=UTF-8
83 -Djava.util.logging.config.file=${user.home}/logging.properties
84 -DrunSlowAQLTests=${runSlowAQLTests}
85 -Xdebug
86 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n</argLine>
87 <includes>
88 <include>${global.test.includes},${test.includes}</include>
89 </includes>
90 <excludes>
91 <exclude>${global.test.excludes},${test.excludes}</exclude>
92 </excludes>
93 </configuration>
94 </plugin>
Preston Carmanc66d23a2015-07-08 23:44:13 -070095 <plugin>
96 <groupId>org.apache.rat</groupId>
97 <artifactId>apache-rat-plugin</artifactId>
98 <version>0.11</version>
99 <executions>
100 <execution>
101 <phase>verify</phase>
102 <goals>
103 <goal>check</goal>
104 </goals>
105 </execution>
106 </executions>
107 <configuration>
108 <excludeSubProjects>true</excludeSubProjects>
109 <licenses>
110 <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
111 <licenseFamilyCategory>MIT</licenseFamilyCategory>
112 <licenseFamilyName>The MIT License</licenseFamilyName>
113 <notes>For JQuery MIT/GPL2 Dual License</notes>
114 <patterns>
115 <pattern>Dual licensed under the MIT or GPL Version 2 licenses.</pattern>
116 <pattern>Dual licensed under the MIT and GPL2 licenses.</pattern>
117 <pattern>http://jquery.org/license</pattern>
118 <pattern>Dual licensed under the MIT</pattern>
119 <pattern>Released under the MIT license by IOLA, December 2007.</pattern>
120 </patterns>
121 </license>
122 </licenses>
123 <licenseFamilies>
124 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
125 <familyName>The MIT License</familyName>
126 </licenseFamily>
127 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
128 <familyName>Apache License Version 2.0</familyName>
129 </licenseFamily>
130 </licenseFamilies>
131 <excludes>
132 <exclude>**/*.adm</exclude>
133 <exclude>**/*.aql</exclude>
134 <exclude>**/*.csv</exclude>
135 <exclude>**/*.ddl</exclude>
136 <exclude>**/*.iml</exclude>
137 <exclude>**/*.out</exclude>
138 <exclude>**/*.tbl</exclude>
139 <exclude>**/*.tsv</exclude>
140 <exclude>**/*.txt</exclude>
141 <exclude>**/*.xsd</exclude>
142 </excludes>
143 <includes>
144 <include>**/asterix-*</include>
145 <include>**/*.java</include>
146 </includes>
147 </configuration>
148 </plugin>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800149 </plugins>
150 </build>
vinayakb38b7ca42012-03-05 05:44:15 +0000151
Eldon Carman0228b9c2014-11-25 18:13:46 -0800152 <scm>
Ian Maxon5c058c62015-08-21 16:06:15 -0700153 <connection>scm:git:https://github.com/apache/incubator-asterixdb</connection>
154 <developerConnection>scm:git:ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb</developerConnection>
155 <url>https://github.com/apache/incubator-asterixdb</url>
vinayakb38b7ca42012-03-05 05:44:15 +0000156
Ian Maxon5c058c62015-08-21 16:06:15 -0700157 </scm>
vinayakb38b7ca42012-03-05 05:44:15 +0000158
159 <profiles>
160 <profile>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800161 <id>slow-aql-tests</id>
162 <properties>
163 <runSlowAQLTests>true</runSlowAQLTests>
164 </properties>
165 </profile>
166 <profile>
167 <id>optimizer-tests</id>
168 <properties>
169 <optimizer.tests />
170 </properties>
171 </profile>
172 <profile>
173 <id>metadata-tests</id>
174 <properties>
175 <metadata.tests />
176 </properties>
177 </profile>
178 <profile>
179 <id>execution-tests</id>
180 <properties>
181 <execution.tests />
182 </properties>
183 </profile>
184 <profile>
185 <id>invalid-tests</id>
186 <properties>
187 <invalid.tests />
188 </properties>
189 </profile>
190 <profile>
191 <id>32bitvm</id>
192 <activation>
193 <property>
194 <name>sun.arch.data.model</name>
195 <value>32</value>
196 </property>
197 </activation>
198 <properties>
199 <test.heap.size>2048</test.heap.size>
200 </properties>
vinayakb38b7ca42012-03-05 05:44:15 +0000201 </profile>
202
203 <profile>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800204 <id>64bitvm</id>
205 <activation>
206 <property>
207 <name>sun.arch.data.model</name>
208 <value>64</value>
209 </property>
210 </activation>
211 <properties>
212 <test.heap.size>3072</test.heap.size>
213 </properties>
vinayakb38b7ca42012-03-05 05:44:15 +0000214 </profile>
Chris Hillery79dfcfc2015-10-02 17:14:25 -0700215 <profile>
216 <id>asterix-release</id>
217 <build>
218 <plugins>
219 <plugin>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-assembly-plugin</artifactId>
222 <!-- We override the configuration plugin to override the descriptor to use for building
223 the source release zip. Specifically, we would like to control the inclusions/exclusions.
224 For example, we exclude the KEYS file from the zip -->
225 <executions>
226 <execution>
227 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
228 the apache parent POM under the apache-release profile -->
229 <id>source-release-assembly</id>
230 <phase>package</phase>
231 <goals>
232 <goal>single</goal>
233 </goals>
234 <!-- combine.self should be override to replace the configuration in the parent POM -->
235 <configuration combine.self="override">
236 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
237 <descriptors>
238 <descriptor>src/main/assembly/source.xml</descriptor>
239 </descriptors>
240 </configuration>
241 </execution>
242 </executions>
243 </plugin>
244 </plugins>
245 </build>
246 </profile>
vinayakb38b7ca42012-03-05 05:44:15 +0000247 </profiles>
248
Eldon Carman0228b9c2014-11-25 18:13:46 -0800249 <modules>
250 <module>asterix-common</module>
251 <module>asterix-algebra</module>
252 <module>asterix-app</module>
253 <module>asterix-tools</module>
254 <module>asterix-transactions</module>
255 <module>asterix-runtime</module>
256 <module>asterix-om</module>
257 <module>asterix-aql</module>
zheilbron738005d2014-03-21 14:50:17 -0700258 <module>asterix-external-data</module>
259 <module>asterix-examples</module>
260 <module>asterix-metadata</module>
261 <module>asterix-test-framework</module>
262 <module>asterix-maven-plugins</module>
263 <module>asterix-server</module>
264 <module>asterix-installer</module>
265 <module>asterix-events</module>
266 <module>asterix-doc</module>
267 <module>asterix-fuzzyjoin</module>
Ian Maxon69375a12015-06-29 16:12:53 -0700268 <module>asterix-yarn</module>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800269 </modules>
vinayakb38b7ca42012-03-05 05:44:15 +0000270
Eldon Carman0228b9c2014-11-25 18:13:46 -0800271 <repositories>
272 <repository>
273 <releases>
274 <enabled>true</enabled>
275 <updatePolicy>always</updatePolicy>
276 <checksumPolicy>warn</checksumPolicy>
277 </releases>
278 <snapshots>
279 <enabled>true</enabled>
280 <updatePolicy>always</updatePolicy>
281 <checksumPolicy>fail</checksumPolicy>
282 </snapshots>
283 <id>asterix-public</id>
284 <url>http://obelix.ics.uci.edu/nexus/content/groups/asterix-public/</url>
285 </repository>
286 <repository>
287 <releases>
288 <enabled>true</enabled>
289 <updatePolicy>always</updatePolicy>
290 <checksumPolicy>warn</checksumPolicy>
291 </releases>
292 <snapshots>
293 <enabled>true</enabled>
294 <updatePolicy>always</updatePolicy>
295 <checksumPolicy>fail</checksumPolicy>
296 </snapshots>
297 <id>third-party</id>
298 <url>http://obelix.ics.uci.edu/nexus/content/repositories/third-party/</url>
299 </repository>
300 <repository>
301 <releases>
302 <enabled>true</enabled>
303 <updatePolicy>always</updatePolicy>
304 <checksumPolicy>warn</checksumPolicy>
305 </releases>
306 <id>algebricks-releases</id>
307 <url>http://obelix.ics.uci.edu/nexus/content/repositories/algebricks-releases/</url>
308 </repository>
309 <repository>
310 <snapshots>
311 <enabled>true</enabled>
312 <updatePolicy>always</updatePolicy>
313 <checksumPolicy>fail</checksumPolicy>
314 </snapshots>
315 <id>algebricks-snapshots</id>
316 <url>http://obelix.ics.uci.edu/nexus/content/repositories/algebricks-snapshots/</url>
317 </repository>
318 </repositories>
319 <dependencyManagement>
320 <dependencies>
321 <dependency>
322 <groupId>junit</groupId>
323 <artifactId>junit</artifactId>
324 <version>${junit.version}</version>
325 </dependency>
326 <dependency>
327 <groupId>org.apache.maven</groupId>
328 <artifactId>maven-plugin-api</artifactId>
329 <version>2.2.1</version>
330 </dependency>
331 <dependency>
332 <groupId>org.apache.hadoop</groupId>
333 <artifactId>hadoop-yarn-common</artifactId>
334 <version>${hadoop.version}</version>
335 </dependency>
336 <dependency>
337 <groupId>org.apache.hadoop</groupId>
338 <artifactId>hadoop-yarn-client</artifactId>
339 <version>${hadoop.version}</version>
340 </dependency>
341 <dependency>
342 <groupId>org.apache.hadoop</groupId>
343 <artifactId>hadoop-client</artifactId>
344 <version>${hadoop.version}</version>
345 </dependency>
346 <dependency>
347 <groupId>org.apache.hadoop</groupId>
348 <artifactId>hadoop-hdfs</artifactId>
349 <version>${hadoop.version}</version>
350 </dependency>
351 <dependency>
352 <groupId>org.apache.hadoop</groupId>
353 <artifactId>hadoop-common</artifactId>
354 <version>${hadoop.version}</version>
355 </dependency>
356 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700357 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800358 <artifactId>algebricks-compiler</artifactId>
359 <version>${algebricks.version}</version>
360 </dependency>
361 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700362 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800363 <artifactId>hyracks-api</artifactId>
364 <version>${hyracks.version}</version>
365 </dependency>
366 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700367 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800368 <artifactId>hyracks-dataflow-std</artifactId>
369 <version>${hyracks.version}</version>
370 </dependency>
371 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700372 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800373 <artifactId>hyracks-control-cc</artifactId>
374 <version>${hyracks.version}</version>
375 </dependency>
376 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700377 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800378 <artifactId>hyracks-control-nc</artifactId>
379 <version>${hyracks.version}</version>
380 </dependency>
381 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700382 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800383 <artifactId>hyracks-server</artifactId>
384 <version>${hyracks.version}</version>
385 </dependency>
386 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700387 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800388 <artifactId>hyracks-cli</artifactId>
389 <version>${hyracks.version}</version>
390 </dependency>
391 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700392 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800393 <artifactId>hyracks-dataflow-hadoop</artifactId>
394 <version>${hyracks.version}</version>
395 </dependency>
396 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700397 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800398 <artifactId>hyracks-storage-am-btree</artifactId>
399 <version>${hyracks.version}</version>
400 </dependency>
401 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700402 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800403 <artifactId>hyracks-storage-am-rtree</artifactId>
404 <version>${hyracks.version}</version>
405 </dependency>
406 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700407 <groupId>org.apache.hyracks</groupId>
Preston Carmanc66d23a2015-07-08 23:44:13 -0700408 <artifactId>hyracks-storage-am-invertedindex</artifactId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800409 <version>${hyracks.version}</version>
410 </dependency>
411 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700412 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800413 <artifactId>hyracks-storage-am-common</artifactId>
414 <version>${hyracks.version}</version>
415 </dependency>
416 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700417 <groupId>org.apache.hyracks</groupId>
vinayakb5ee049d2013-04-06 21:21:29 +0000418 <artifactId>hyracks-client</artifactId>
419 <version>${hyracks.version}</version>
420 </dependency>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800421 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700422 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800423 <artifactId>hyracks-storage-am-lsm-common</artifactId>
424 <version>${hyracks.version}</version>
425 </dependency>
426 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700427 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800428 <artifactId>hyracks-storage-am-lsm-btree</artifactId>
429 <version>${hyracks.version}</version>
430 </dependency>
431 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700432 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800433 <artifactId>hyracks-storage-am-lsm-rtree</artifactId>
434 <version>${hyracks.version}</version>
435 </dependency>
436 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700437 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800438 <artifactId>hyracks-storage-am-lsm-invertedindex</artifactId>
439 <version>${hyracks.version}</version>
440 </dependency>
441 <dependency>
442 <groupId>org.json</groupId>
443 <artifactId>json</artifactId>
444 <version>${json.version}</version>
445 <type>jar</type>
446 </dependency>
447 <dependency>
448 <groupId>javax.servlet</groupId>
449 <artifactId>servlet-api</artifactId>
450 <version>${servlet.api.version}</version>
451 <type>jar</type>
452 </dependency>
453 <dependency>
454 <groupId>commons-io</groupId>
455 <artifactId>commons-io</artifactId>
456 <version>${commons.io.version}</version>
457 </dependency>
458 </dependencies>
vinayakb5ee049d2013-04-06 21:21:29 +0000459 </dependencyManagement>
vinayakb38b7ca42012-03-05 05:44:15 +0000460</project>