blob: 8d11476e79176a7615c8a10a323fbb53acc0ddf8 [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 !-->
Ian Maxonfdcafe02015-10-05 10:42:22 -070020<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">
Eldon Carman0228b9c2014-11-25 18:13:46 -080024 <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>
Ian Maxonfdcafe02015-10-05 10:42:22 -070027 <version>0.8.7-SNAPSHOT</version>
Eldon Carman0228b9c2014-11-25 18:13:46 -080028 <packaging>pom</packaging>
29
Ian Maxon5c058c62015-08-21 16:06:15 -070030 <parent>
31 <groupId>org.apache</groupId>
32 <artifactId>apache</artifactId>
Ian Maxonfdcafe02015-10-05 10:42:22 -070033 <version>LATEST</version>
Ian Maxon5c058c62015-08-21 16:06:15 -070034 </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 -->
Ian Maxonfc738fd2015-09-02 20:42:09 -100059 <algebricks.version>0.2.16-incubating</algebricks.version>
60 <hyracks.version>0.2.16-incubating</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>
Ian Maxonfc738fd2015-09-02 20:42:09 -1000149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-assembly-plugin</artifactId>
152 <!-- We override the configuration plugin to override the descriptor to use for building
153 the source release zip. Specifically, we would like to control the inclusions/exclusions.
154 For example, we exclude the KEYS file from the zip -->
155 <executions>
156 <execution>
157 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
158 the apache parent POM under the apache-release profile -->
159 <id>source-release-assembly</id>
160 <phase>package</phase>
161 <goals>
162 <goal>single</goal>
163 </goals>
164 <!-- combine.self should be override to replace the configuration in the parent POM -->
165 <configuration combine.self="override">
166 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
167 <descriptors>
168 <descriptor>src/main/assembly/source.xml</descriptor>
169 </descriptors>
170 </configuration>
171 </execution>
172 </executions>
173 </plugin>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800174 </plugins>
175 </build>
vinayakb38b7ca42012-03-05 05:44:15 +0000176
Eldon Carman0228b9c2014-11-25 18:13:46 -0800177 <scm>
Ian Maxon5c058c62015-08-21 16:06:15 -0700178 <connection>scm:git:https://github.com/apache/incubator-asterixdb</connection>
179 <developerConnection>scm:git:ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb</developerConnection>
180 <url>https://github.com/apache/incubator-asterixdb</url>
vinayakb38b7ca42012-03-05 05:44:15 +0000181
Ian Maxonfdcafe02015-10-05 10:42:22 -0700182 </scm>
vinayakb38b7ca42012-03-05 05:44:15 +0000183
184 <profiles>
185 <profile>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800186 <id>slow-aql-tests</id>
187 <properties>
188 <runSlowAQLTests>true</runSlowAQLTests>
189 </properties>
190 </profile>
191 <profile>
192 <id>optimizer-tests</id>
193 <properties>
194 <optimizer.tests />
195 </properties>
196 </profile>
197 <profile>
198 <id>metadata-tests</id>
199 <properties>
200 <metadata.tests />
201 </properties>
202 </profile>
203 <profile>
204 <id>execution-tests</id>
205 <properties>
206 <execution.tests />
207 </properties>
208 </profile>
209 <profile>
210 <id>invalid-tests</id>
211 <properties>
212 <invalid.tests />
213 </properties>
214 </profile>
215 <profile>
216 <id>32bitvm</id>
217 <activation>
218 <property>
219 <name>sun.arch.data.model</name>
220 <value>32</value>
221 </property>
222 </activation>
223 <properties>
224 <test.heap.size>2048</test.heap.size>
225 </properties>
vinayakb38b7ca42012-03-05 05:44:15 +0000226 </profile>
227
228 <profile>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800229 <id>64bitvm</id>
230 <activation>
231 <property>
232 <name>sun.arch.data.model</name>
233 <value>64</value>
234 </property>
235 </activation>
236 <properties>
237 <test.heap.size>3072</test.heap.size>
238 </properties>
vinayakb38b7ca42012-03-05 05:44:15 +0000239 </profile>
Chris Hillerycdfcb922014-02-07 03:05:02 -0800240
vinayakb38b7ca42012-03-05 05:44:15 +0000241 </profiles>
242
Eldon Carman0228b9c2014-11-25 18:13:46 -0800243 <modules>
244 <module>asterix-common</module>
245 <module>asterix-algebra</module>
246 <module>asterix-app</module>
247 <module>asterix-tools</module>
248 <module>asterix-transactions</module>
249 <module>asterix-runtime</module>
250 <module>asterix-om</module>
251 <module>asterix-aql</module>
zheilbron738005d2014-03-21 14:50:17 -0700252 <module>asterix-external-data</module>
253 <module>asterix-examples</module>
254 <module>asterix-metadata</module>
255 <module>asterix-test-framework</module>
256 <module>asterix-maven-plugins</module>
257 <module>asterix-server</module>
258 <module>asterix-installer</module>
259 <module>asterix-events</module>
260 <module>asterix-doc</module>
261 <module>asterix-fuzzyjoin</module>
Ian Maxon69375a12015-06-29 16:12:53 -0700262 <module>asterix-yarn</module>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800263 </modules>
vinayakb38b7ca42012-03-05 05:44:15 +0000264
Eldon Carman0228b9c2014-11-25 18:13:46 -0800265 <repositories>
266 <repository>
267 <releases>
268 <enabled>true</enabled>
269 <updatePolicy>always</updatePolicy>
270 <checksumPolicy>warn</checksumPolicy>
271 </releases>
272 <snapshots>
273 <enabled>true</enabled>
274 <updatePolicy>always</updatePolicy>
275 <checksumPolicy>fail</checksumPolicy>
276 </snapshots>
277 <id>asterix-public</id>
278 <url>http://obelix.ics.uci.edu/nexus/content/groups/asterix-public/</url>
279 </repository>
280 <repository>
281 <releases>
282 <enabled>true</enabled>
283 <updatePolicy>always</updatePolicy>
284 <checksumPolicy>warn</checksumPolicy>
285 </releases>
286 <snapshots>
287 <enabled>true</enabled>
288 <updatePolicy>always</updatePolicy>
289 <checksumPolicy>fail</checksumPolicy>
290 </snapshots>
291 <id>third-party</id>
292 <url>http://obelix.ics.uci.edu/nexus/content/repositories/third-party/</url>
293 </repository>
294 <repository>
295 <releases>
296 <enabled>true</enabled>
297 <updatePolicy>always</updatePolicy>
298 <checksumPolicy>warn</checksumPolicy>
299 </releases>
300 <id>algebricks-releases</id>
301 <url>http://obelix.ics.uci.edu/nexus/content/repositories/algebricks-releases/</url>
302 </repository>
303 <repository>
304 <snapshots>
305 <enabled>true</enabled>
306 <updatePolicy>always</updatePolicy>
307 <checksumPolicy>fail</checksumPolicy>
308 </snapshots>
309 <id>algebricks-snapshots</id>
310 <url>http://obelix.ics.uci.edu/nexus/content/repositories/algebricks-snapshots/</url>
311 </repository>
312 </repositories>
313 <dependencyManagement>
314 <dependencies>
315 <dependency>
316 <groupId>junit</groupId>
317 <artifactId>junit</artifactId>
318 <version>${junit.version}</version>
319 </dependency>
320 <dependency>
321 <groupId>org.apache.maven</groupId>
322 <artifactId>maven-plugin-api</artifactId>
323 <version>2.2.1</version>
324 </dependency>
325 <dependency>
326 <groupId>org.apache.hadoop</groupId>
327 <artifactId>hadoop-yarn-common</artifactId>
328 <version>${hadoop.version}</version>
329 </dependency>
330 <dependency>
331 <groupId>org.apache.hadoop</groupId>
332 <artifactId>hadoop-yarn-client</artifactId>
333 <version>${hadoop.version}</version>
334 </dependency>
335 <dependency>
336 <groupId>org.apache.hadoop</groupId>
337 <artifactId>hadoop-client</artifactId>
338 <version>${hadoop.version}</version>
339 </dependency>
340 <dependency>
341 <groupId>org.apache.hadoop</groupId>
342 <artifactId>hadoop-hdfs</artifactId>
343 <version>${hadoop.version}</version>
344 </dependency>
345 <dependency>
346 <groupId>org.apache.hadoop</groupId>
347 <artifactId>hadoop-common</artifactId>
348 <version>${hadoop.version}</version>
349 </dependency>
350 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700351 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800352 <artifactId>algebricks-compiler</artifactId>
353 <version>${algebricks.version}</version>
354 </dependency>
355 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700356 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800357 <artifactId>hyracks-api</artifactId>
358 <version>${hyracks.version}</version>
359 </dependency>
360 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700361 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800362 <artifactId>hyracks-dataflow-std</artifactId>
363 <version>${hyracks.version}</version>
364 </dependency>
365 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700366 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800367 <artifactId>hyracks-control-cc</artifactId>
368 <version>${hyracks.version}</version>
369 </dependency>
370 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700371 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800372 <artifactId>hyracks-control-nc</artifactId>
373 <version>${hyracks.version}</version>
374 </dependency>
375 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700376 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800377 <artifactId>hyracks-server</artifactId>
378 <version>${hyracks.version}</version>
379 </dependency>
380 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700381 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800382 <artifactId>hyracks-cli</artifactId>
383 <version>${hyracks.version}</version>
384 </dependency>
385 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700386 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800387 <artifactId>hyracks-dataflow-hadoop</artifactId>
388 <version>${hyracks.version}</version>
389 </dependency>
390 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700391 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800392 <artifactId>hyracks-storage-am-btree</artifactId>
393 <version>${hyracks.version}</version>
394 </dependency>
395 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700396 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800397 <artifactId>hyracks-storage-am-rtree</artifactId>
398 <version>${hyracks.version}</version>
399 </dependency>
400 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700401 <groupId>org.apache.hyracks</groupId>
Preston Carmanc66d23a2015-07-08 23:44:13 -0700402 <artifactId>hyracks-storage-am-invertedindex</artifactId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800403 <version>${hyracks.version}</version>
404 </dependency>
405 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700406 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800407 <artifactId>hyracks-storage-am-common</artifactId>
408 <version>${hyracks.version}</version>
409 </dependency>
410 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700411 <groupId>org.apache.hyracks</groupId>
vinayakb5ee049d2013-04-06 21:21:29 +0000412 <artifactId>hyracks-client</artifactId>
413 <version>${hyracks.version}</version>
414 </dependency>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800415 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700416 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800417 <artifactId>hyracks-storage-am-lsm-common</artifactId>
418 <version>${hyracks.version}</version>
419 </dependency>
420 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700421 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800422 <artifactId>hyracks-storage-am-lsm-btree</artifactId>
423 <version>${hyracks.version}</version>
424 </dependency>
425 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700426 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800427 <artifactId>hyracks-storage-am-lsm-rtree</artifactId>
428 <version>${hyracks.version}</version>
429 </dependency>
430 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700431 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800432 <artifactId>hyracks-storage-am-lsm-invertedindex</artifactId>
433 <version>${hyracks.version}</version>
434 </dependency>
435 <dependency>
436 <groupId>org.json</groupId>
437 <artifactId>json</artifactId>
438 <version>${json.version}</version>
439 <type>jar</type>
440 </dependency>
441 <dependency>
442 <groupId>javax.servlet</groupId>
443 <artifactId>servlet-api</artifactId>
444 <version>${servlet.api.version}</version>
445 <type>jar</type>
446 </dependency>
447 <dependency>
448 <groupId>commons-io</groupId>
449 <artifactId>commons-io</artifactId>
450 <version>${commons.io.version}</version>
451 </dependency>
452 </dependencies>
vinayakb5ee049d2013-04-06 21:21:29 +0000453 </dependencyManagement>
vinayakb38b7ca42012-03-05 05:44:15 +0000454</project>