blob: 22113e8fd0a3b8e746c80b919dca1a26a3e9876e [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<!--
3 ! Copyright 2009-2013 by The Regents of the University of California
4 ! Licensed under the Apache License, Version 2.0 (the "License");
5 ! you may not use this file except in compliance with the License.
6 ! you may obtain a copy of the License from
7 !
8 ! http://www.apache.org/licenses/LICENSE-2.0
9 !
10 ! Unless required by applicable law or agreed to in writing, software
11 ! distributed under the License is distributed on an "AS IS" BASIS,
12 ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ! See the License for the specific language governing permissions and
14 ! limitations under the License.
15 !-->
Eldon Carman0228b9c2014-11-25 18:13:46 -080016<project
17 xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
Ian Maxonf18bba22015-08-21 12:35:14 -070021 <groupId>org.apache.asterix</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -080022 <artifactId>asterix</artifactId>
23 <version>0.8.7-SNAPSHOT</version>
24 <packaging>pom</packaging>
25
Ian Maxon5c058c62015-08-21 16:06:15 -070026 <parent>
27 <groupId>org.apache</groupId>
28 <artifactId>apache</artifactId>
29 <version>LATEST</version>
30 </parent>
31
Ian4a816dc2014-11-26 15:46:32 -080032 <licenses>
Preston Carmanc66d23a2015-07-08 23:44:13 -070033 <license>
34 <name>Apache License, Version 2.0</name>
35 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
36 <distribution>repo</distribution>
37 <comments>A business-friendly OSS license</comments>
38 </license>
Ian4a816dc2014-11-26 15:46:32 -080039 </licenses>
40
Eldon Carman0228b9c2014-11-25 18:13:46 -080041 <properties>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <jvm.extraargs />
44 <runSlowAQLTests>false</runSlowAQLTests>
Chris Hilleryb5c85ac2014-02-21 02:33:37 -080045
46 <!-- Definition of tests in various categories which may be excluded -->
Eldon Carman0228b9c2014-11-25 18:13:46 -080047 <optimizer.tests>**/optimizer/**/*Test.java</optimizer.tests>
48 <metadata.tests>**/metadata/*Test.java</metadata.tests>
49 <execution.tests>**/ExecutionTest.java</execution.tests>
Ian Maxonc9a3a9b2015-07-31 15:27:39 -070050 <repeated.tests>**/RepeatedTest.java</repeated.tests>
Eldon Carman0228b9c2014-11-25 18:13:46 -080051 <invalid.tests>**/DmlTest.java</invalid.tests>
52 <global.test.includes>**/*TestSuite.java,**/*Test.java,${execution.tests}</global.test.includes>
Preston Carmanc66d23a2015-07-08 23:44:13 -070053 <global.test.excludes>${optimizer.tests},${metadata.tests},${invalid.tests},${repeated.tests}</global.test.excludes>
Ian18997ce2014-09-22 16:14:39 -070054 <!-- Versions under dependencymanagement or used in many projects via properties -->
Ian Maxonfc738fd2015-09-02 20:42:09 -100055 <algebricks.version>0.2.16-incubating</algebricks.version>
56 <hyracks.version>0.2.16-incubating</hyracks.version>
Eldon Carman0228b9c2014-11-25 18:13:46 -080057 <hadoop.version>2.2.0</hadoop.version>
Ian Maxon69375a12015-06-29 16:12:53 -070058 <junit.version>4.11</junit.version>
Eldon Carman0228b9c2014-11-25 18:13:46 -080059 <commons.io.version>2.4</commons.io.version>
60 <servlet.api.version>2.5</servlet.api.version>
61 <json.version>20090211</json.version>
62 </properties>
vinayakb5ee049d2013-04-06 21:21:29 +000063
Eldon Carman0228b9c2014-11-25 18:13:46 -080064 <build>
65 <plugins>
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -080068 <artifactId>maven-surefire-plugin</artifactId>
69 <version>2.16</version>
70 <configuration>
71 <failIfNoTests>false</failIfNoTests>
72 <systemPropertyVariables>
73 <skipFredSlowTests>true</skipFredSlowTests>
74 </systemPropertyVariables>
75 <forkCount>1</forkCount>
76 <reuseForks>false</reuseForks>
77 <argLine>-enableassertions -Xmx${test.heap.size}m
78 -Dfile.encoding=UTF-8
79 -Djava.util.logging.config.file=${user.home}/logging.properties
80 -DrunSlowAQLTests=${runSlowAQLTests}
81 -Xdebug
82 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n</argLine>
83 <includes>
84 <include>${global.test.includes},${test.includes}</include>
85 </includes>
86 <excludes>
87 <exclude>${global.test.excludes},${test.excludes}</exclude>
88 </excludes>
89 </configuration>
90 </plugin>
Preston Carmanc66d23a2015-07-08 23:44:13 -070091 <plugin>
92 <groupId>org.apache.rat</groupId>
93 <artifactId>apache-rat-plugin</artifactId>
94 <version>0.11</version>
95 <executions>
96 <execution>
97 <phase>verify</phase>
98 <goals>
99 <goal>check</goal>
100 </goals>
101 </execution>
102 </executions>
103 <configuration>
104 <excludeSubProjects>true</excludeSubProjects>
105 <licenses>
106 <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
107 <licenseFamilyCategory>MIT</licenseFamilyCategory>
108 <licenseFamilyName>The MIT License</licenseFamilyName>
109 <notes>For JQuery MIT/GPL2 Dual License</notes>
110 <patterns>
111 <pattern>Dual licensed under the MIT or GPL Version 2 licenses.</pattern>
112 <pattern>Dual licensed under the MIT and GPL2 licenses.</pattern>
113 <pattern>http://jquery.org/license</pattern>
114 <pattern>Dual licensed under the MIT</pattern>
115 <pattern>Released under the MIT license by IOLA, December 2007.</pattern>
116 </patterns>
117 </license>
118 </licenses>
119 <licenseFamilies>
120 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
121 <familyName>The MIT License</familyName>
122 </licenseFamily>
123 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
124 <familyName>Apache License Version 2.0</familyName>
125 </licenseFamily>
126 </licenseFamilies>
127 <excludes>
128 <exclude>**/*.adm</exclude>
129 <exclude>**/*.aql</exclude>
130 <exclude>**/*.csv</exclude>
131 <exclude>**/*.ddl</exclude>
132 <exclude>**/*.iml</exclude>
133 <exclude>**/*.out</exclude>
134 <exclude>**/*.tbl</exclude>
135 <exclude>**/*.tsv</exclude>
136 <exclude>**/*.txt</exclude>
137 <exclude>**/*.xsd</exclude>
138 </excludes>
139 <includes>
140 <include>**/asterix-*</include>
141 <include>**/*.java</include>
142 </includes>
143 </configuration>
144 </plugin>
Ian Maxonfc738fd2015-09-02 20:42:09 -1000145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-assembly-plugin</artifactId>
148 <!-- We override the configuration plugin to override the descriptor to use for building
149 the source release zip. Specifically, we would like to control the inclusions/exclusions.
150 For example, we exclude the KEYS file from the zip -->
151 <executions>
152 <execution>
153 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
154 the apache parent POM under the apache-release profile -->
155 <id>source-release-assembly</id>
156 <phase>package</phase>
157 <goals>
158 <goal>single</goal>
159 </goals>
160 <!-- combine.self should be override to replace the configuration in the parent POM -->
161 <configuration combine.self="override">
162 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
163 <descriptors>
164 <descriptor>src/main/assembly/source.xml</descriptor>
165 </descriptors>
166 </configuration>
167 </execution>
168 </executions>
169 </plugin>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800170 </plugins>
171 </build>
vinayakb38b7ca42012-03-05 05:44:15 +0000172
Eldon Carman0228b9c2014-11-25 18:13:46 -0800173 <scm>
Ian Maxon5c058c62015-08-21 16:06:15 -0700174 <connection>scm:git:https://github.com/apache/incubator-asterixdb</connection>
175 <developerConnection>scm:git:ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb</developerConnection>
176 <url>https://github.com/apache/incubator-asterixdb</url>
vinayakb38b7ca42012-03-05 05:44:15 +0000177
Ian Maxon5c058c62015-08-21 16:06:15 -0700178 </scm>
vinayakb38b7ca42012-03-05 05:44:15 +0000179
180 <profiles>
181 <profile>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800182 <id>slow-aql-tests</id>
183 <properties>
184 <runSlowAQLTests>true</runSlowAQLTests>
185 </properties>
186 </profile>
187 <profile>
188 <id>optimizer-tests</id>
189 <properties>
190 <optimizer.tests />
191 </properties>
192 </profile>
193 <profile>
194 <id>metadata-tests</id>
195 <properties>
196 <metadata.tests />
197 </properties>
198 </profile>
199 <profile>
200 <id>execution-tests</id>
201 <properties>
202 <execution.tests />
203 </properties>
204 </profile>
205 <profile>
206 <id>invalid-tests</id>
207 <properties>
208 <invalid.tests />
209 </properties>
210 </profile>
211 <profile>
212 <id>32bitvm</id>
213 <activation>
214 <property>
215 <name>sun.arch.data.model</name>
216 <value>32</value>
217 </property>
218 </activation>
219 <properties>
220 <test.heap.size>2048</test.heap.size>
221 </properties>
vinayakb38b7ca42012-03-05 05:44:15 +0000222 </profile>
223
224 <profile>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800225 <id>64bitvm</id>
226 <activation>
227 <property>
228 <name>sun.arch.data.model</name>
229 <value>64</value>
230 </property>
231 </activation>
232 <properties>
233 <test.heap.size>3072</test.heap.size>
234 </properties>
vinayakb38b7ca42012-03-05 05:44:15 +0000235 </profile>
Chris Hillerycdfcb922014-02-07 03:05:02 -0800236
vinayakb38b7ca42012-03-05 05:44:15 +0000237 </profiles>
238
Eldon Carman0228b9c2014-11-25 18:13:46 -0800239 <modules>
240 <module>asterix-common</module>
241 <module>asterix-algebra</module>
242 <module>asterix-app</module>
243 <module>asterix-tools</module>
244 <module>asterix-transactions</module>
245 <module>asterix-runtime</module>
246 <module>asterix-om</module>
247 <module>asterix-aql</module>
zheilbron738005d2014-03-21 14:50:17 -0700248 <module>asterix-external-data</module>
249 <module>asterix-examples</module>
250 <module>asterix-metadata</module>
251 <module>asterix-test-framework</module>
252 <module>asterix-maven-plugins</module>
253 <module>asterix-server</module>
254 <module>asterix-installer</module>
255 <module>asterix-events</module>
256 <module>asterix-doc</module>
257 <module>asterix-fuzzyjoin</module>
Ian Maxon69375a12015-06-29 16:12:53 -0700258 <module>asterix-yarn</module>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800259 </modules>
vinayakb38b7ca42012-03-05 05:44:15 +0000260
Eldon Carman0228b9c2014-11-25 18:13:46 -0800261 <repositories>
262 <repository>
263 <releases>
264 <enabled>true</enabled>
265 <updatePolicy>always</updatePolicy>
266 <checksumPolicy>warn</checksumPolicy>
267 </releases>
268 <snapshots>
269 <enabled>true</enabled>
270 <updatePolicy>always</updatePolicy>
271 <checksumPolicy>fail</checksumPolicy>
272 </snapshots>
273 <id>asterix-public</id>
274 <url>http://obelix.ics.uci.edu/nexus/content/groups/asterix-public/</url>
275 </repository>
276 <repository>
277 <releases>
278 <enabled>true</enabled>
279 <updatePolicy>always</updatePolicy>
280 <checksumPolicy>warn</checksumPolicy>
281 </releases>
282 <snapshots>
283 <enabled>true</enabled>
284 <updatePolicy>always</updatePolicy>
285 <checksumPolicy>fail</checksumPolicy>
286 </snapshots>
287 <id>third-party</id>
288 <url>http://obelix.ics.uci.edu/nexus/content/repositories/third-party/</url>
289 </repository>
290 <repository>
291 <releases>
292 <enabled>true</enabled>
293 <updatePolicy>always</updatePolicy>
294 <checksumPolicy>warn</checksumPolicy>
295 </releases>
296 <id>algebricks-releases</id>
297 <url>http://obelix.ics.uci.edu/nexus/content/repositories/algebricks-releases/</url>
298 </repository>
299 <repository>
300 <snapshots>
301 <enabled>true</enabled>
302 <updatePolicy>always</updatePolicy>
303 <checksumPolicy>fail</checksumPolicy>
304 </snapshots>
305 <id>algebricks-snapshots</id>
306 <url>http://obelix.ics.uci.edu/nexus/content/repositories/algebricks-snapshots/</url>
307 </repository>
Ian Maxonfc738fd2015-09-02 20:42:09 -1000308 <repository>
309 <snapshots>
310 <enabled>true</enabled>
311 <updatePolicy>always</updatePolicy>
312 <checksumPolicy>fail</checksumPolicy>
313 </snapshots>
314 <id>apache-staging</id>
315 <url>https://repository.apache.org/content/repositories/orgapacheasterix-1005/</url>
316 </repository>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800317 </repositories>
318 <dependencyManagement>
319 <dependencies>
320 <dependency>
321 <groupId>junit</groupId>
322 <artifactId>junit</artifactId>
323 <version>${junit.version}</version>
324 </dependency>
325 <dependency>
326 <groupId>org.apache.maven</groupId>
327 <artifactId>maven-plugin-api</artifactId>
328 <version>2.2.1</version>
329 </dependency>
330 <dependency>
331 <groupId>org.apache.hadoop</groupId>
332 <artifactId>hadoop-yarn-common</artifactId>
333 <version>${hadoop.version}</version>
334 </dependency>
335 <dependency>
336 <groupId>org.apache.hadoop</groupId>
337 <artifactId>hadoop-yarn-client</artifactId>
338 <version>${hadoop.version}</version>
339 </dependency>
340 <dependency>
341 <groupId>org.apache.hadoop</groupId>
342 <artifactId>hadoop-client</artifactId>
343 <version>${hadoop.version}</version>
344 </dependency>
345 <dependency>
346 <groupId>org.apache.hadoop</groupId>
347 <artifactId>hadoop-hdfs</artifactId>
348 <version>${hadoop.version}</version>
349 </dependency>
350 <dependency>
351 <groupId>org.apache.hadoop</groupId>
352 <artifactId>hadoop-common</artifactId>
353 <version>${hadoop.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>algebricks-compiler</artifactId>
358 <version>${algebricks.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-api</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-dataflow-std</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-cc</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-control-nc</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-server</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-cli</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-dataflow-hadoop</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-btree</artifactId>
398 <version>${hyracks.version}</version>
399 </dependency>
400 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700401 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800402 <artifactId>hyracks-storage-am-rtree</artifactId>
403 <version>${hyracks.version}</version>
404 </dependency>
405 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700406 <groupId>org.apache.hyracks</groupId>
Preston Carmanc66d23a2015-07-08 23:44:13 -0700407 <artifactId>hyracks-storage-am-invertedindex</artifactId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800408 <version>${hyracks.version}</version>
409 </dependency>
410 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700411 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800412 <artifactId>hyracks-storage-am-common</artifactId>
413 <version>${hyracks.version}</version>
414 </dependency>
415 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700416 <groupId>org.apache.hyracks</groupId>
vinayakb5ee049d2013-04-06 21:21:29 +0000417 <artifactId>hyracks-client</artifactId>
418 <version>${hyracks.version}</version>
419 </dependency>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800420 <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-common</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-btree</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-rtree</artifactId>
433 <version>${hyracks.version}</version>
434 </dependency>
435 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700436 <groupId>org.apache.hyracks</groupId>
Eldon Carman0228b9c2014-11-25 18:13:46 -0800437 <artifactId>hyracks-storage-am-lsm-invertedindex</artifactId>
438 <version>${hyracks.version}</version>
439 </dependency>
440 <dependency>
441 <groupId>org.json</groupId>
442 <artifactId>json</artifactId>
443 <version>${json.version}</version>
444 <type>jar</type>
445 </dependency>
446 <dependency>
447 <groupId>javax.servlet</groupId>
448 <artifactId>servlet-api</artifactId>
449 <version>${servlet.api.version}</version>
450 <type>jar</type>
451 </dependency>
452 <dependency>
453 <groupId>commons-io</groupId>
454 <artifactId>commons-io</artifactId>
455 <version>${commons.io.version}</version>
456 </dependency>
457 </dependencies>
vinayakb5ee049d2013-04-06 21:21:29 +0000458 </dependencyManagement>
vinayakb38b7ca42012-03-05 05:44:15 +0000459</project>