blob: 712d350db8fa2a8f7a35b43cdf7784b1b18559d8 [file] [log] [blame]
Ianf869bc32014-05-13 17:11:48 -07001<!--
Ian Maxon928bbd12015-09-14 17:12:48 -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.
Ianf869bc32014-05-13 17:11:48 -070018 !-->
Vinayak Borkar9cca81b2013-12-11 21:53:45 -080019<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/xsd/maven-4.0.0.xsd">
ramangrover298be29bd2013-06-11 08:59:44 -070020 <modelVersion>4.0.0</modelVersion>
21 <parent>
Ian Maxonab556d12016-02-02 18:18:05 -080022 <artifactId>apache-asterixdb</artifactId>
Ian Maxonf18bba22015-08-21 12:35:14 -070023 <groupId>org.apache.asterix</groupId>
Ian Maxonc1889c02016-02-10 15:26:24 -080024 <version>0.8.9-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -070025 </parent>
26 <artifactId>asterix-installer</artifactId>
ramangrover29330a5412013-04-29 20:59:17 -070027 <properties>
28 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Chris Hilleryed826aa2014-03-21 22:45:41 -070029 <failsafe.test.excludes>**/DmlRecoveryIT.java</failsafe.test.excludes>
Ianf869bc32014-05-13 17:11:48 -070030 <cluster.test.excludes>**/AsterixClusterLifeCycleIT.java</cluster.test.excludes>
Ian Maxonf7b64532015-12-09 17:28:18 -080031 <cluster.extest.excludes>**/ClusterExecutionIT.java</cluster.extest.excludes>
Murtadha Hubail8fc8bf82016-01-23 22:26:59 -080032 <replication.test.excludes>**/ReplicationIT.java</replication.test.excludes>
Michael Blowfc644822016-03-16 10:21:24 -040033 <jacocoArgLine/>
Ian Maxon6e5f18e2015-11-24 18:02:48 -080034 <appendedResourcesDirectory>${basedir}/src/main/appended-resources</appendedResourcesDirectory>
ramangrover29330a5412013-04-29 20:59:17 -070035 </properties>
vinayakb5ee049d2013-04-06 21:21:29 +000036
Ian4a816dc2014-11-26 15:46:32 -080037 <licenses>
38 <license>
39 <name>Apache License, Version 2.0</name>
40 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
41 <distribution>repo</distribution>
42 <comments>A business-friendly OSS license</comments>
43 </license>
44 </licenses>
45
ramangrover29330a5412013-04-29 20:59:17 -070046 <build>
47 <plugins>
48 <plugin>
ramangrover29330a5412013-04-29 20:59:17 -070049 <groupId>org.jvnet.jaxb2.maven2</groupId>
50 <artifactId>maven-jaxb2-plugin</artifactId>
Till Westmann6212c902014-07-30 15:44:59 -070051 <version>0.9.0</version>
ramangrover29330a5412013-04-29 20:59:17 -070052 <executions>
53 <execution>
54 <id>configuration</id>
55 <goals>
56 <goal>generate</goal>
57 </goals>
58 <configuration>
59 <args>
60 <arg>-Xsetters</arg>
61 <arg>-Xvalue-constructor</arg>
62 </args>
63 <plugins>
64 <plugin>
65 <groupId>org.jvnet.jaxb2_commons</groupId>
66 <artifactId>jaxb2-basics</artifactId>
67 <version>0.6.2</version>
68 </plugin>
69 <plugin>
70 <groupId>org.jvnet.jaxb2_commons</groupId>
71 <artifactId>jaxb2-value-constructor</artifactId>
72 <version>3.0</version>
73 </plugin>
74 </plugins>
75 <schemaDirectory>src/main/resources/schema</schemaDirectory>
76 <schemaIncludes>
77 <include>installer-conf.xsd</include>
78 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070079 <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070080 <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory>
81 </configuration>
82 </execution>
83 <execution>
84 <id>cluster</id>
85 <goals>
86 <goal>generate</goal>
87 </goals>
88 <configuration>
ramangrover29330a5412013-04-29 20:59:17 -070089 <schemaDirectory>src/main/resources/schema</schemaDirectory>
90 <schemaIncludes>
91 <include>cluster.xsd</include>
92 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070093 <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070094 <bindingDirectory>src/main/resources/schema</bindingDirectory>
95 <bindingIncludes>
96 <bindingInclude>jaxb-bindings.xjb</bindingInclude>
97 </bindingIncludes>
98 <generateDirectory>${project.build.directory}/generated-sources/cluster</generateDirectory>
99 </configuration>
100 </execution>
101 </executions>
102 </plugin>
103 <plugin>
104 <artifactId>maven-assembly-plugin</artifactId>
105 <version>2.2-beta-5</version>
106 <executions>
107 <execution>
108 <configuration>
109 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
110 </configuration>
111 <phase>package</phase>
112 <goals>
113 <goal>attached</goal>
114 </goals>
115 </execution>
116 </executions>
117 </plugin>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-failsafe-plugin</artifactId>
121 <version>2.6</version>
Young-Seok778e0192013-09-27 15:09:28 -0700122 <configuration>
123 <runOrder>alphabetical</runOrder>
124 <forkMode>pertest</forkMode>
Young-Seok56a41e72013-12-17 17:22:33 -0800125 <excludes>
Chris Hilleryed826aa2014-03-21 22:45:41 -0700126 <exclude>${failsafe.test.excludes}</exclude>
Ianf869bc32014-05-13 17:11:48 -0700127 <exclude>${cluster.test.excludes}</exclude>
Ian Maxonf7b64532015-12-09 17:28:18 -0800128 <exclude>${cluster.extest.excludes}</exclude>
Murtadha Hubail8fc8bf82016-01-23 22:26:59 -0800129 <exclude>${replication.test.excludes}</exclude>
Young-Seok56a41e72013-12-17 17:22:33 -0800130 </excludes>
Young-Seok778e0192013-09-27 15:09:28 -0700131 </configuration>
ramangrover29330a5412013-04-29 20:59:17 -0700132 <executions>
133 <execution>
134 <goals>
135 <goal>integration-test</goal>
136 <goal>verify</goal>
137 </goals>
138 </execution>
139 </executions>
140 </plugin>
141 </plugins>
142 </build>
vinayakb5ee049d2013-04-06 21:21:29 +0000143
Ianf869bc32014-05-13 17:11:48 -0700144
145 <profiles>
146 <profile>
147 <id>cluster-tests</id>
148 <activation>
149 <activeByDefault>false</activeByDefault>
150 <property>
151 <name>clusterTest</name>
152 <value>true</value>
153 </property>
154 </activation>
155 <build>
156 <plugins>
157 <plugin>
158 <groupId>net.ju-n.maven.plugins</groupId>
159 <artifactId>vagrant-maven-plugin</artifactId>
160 <version>1.1.0-SNAPSHOT</version>
161 <executions>
162
163 <!-- Before tests: import box, start VM -->
164 <execution>
165 <id>setup-and-start-vagrant-vm</id>
166 <phase>pre-integration-test</phase>
167 <goals>
168 <goal>up</goal>
169 </goals>
170 <configuration>
171 <box>chef/centos-6.5</box>
172 <url>https://vagrantcloud.com/chef/centos-6.5</url>
173 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
174 </configuration>
175 </execution>
176
177 <!-- After tests: shut down, destroy VM -->
178 <execution>
179 <id>destroy-vagrant-vm</id>
180 <phase>post-integration-test</phase>
181 <goals>
182 <goal>destroy</goal>
183 </goals>
184 <configuration>
185 <box>chef/centos-6.5</box>
186 <url>https://vagrantcloud.com/chef/centos-6.5</url>
187 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
188 </configuration>
189 </execution>
190 </executions>
191 </plugin>
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-failsafe-plugin</artifactId>
195 <version>2.6</version>
196 <configuration>
197 <runOrder>alphabetical</runOrder>
198 <forkMode>pertest</forkMode>
199 <excludes>
200 <exclude>${failsafe.test.excludes}</exclude>
Murtadha Hubail8fc8bf82016-01-23 22:26:59 -0800201 <exclude>${cluster.test.excludes}</exclude>
202 <exclude>${cluster.extest.excludes}</exclude>
Ianf869bc32014-05-13 17:11:48 -0700203 </excludes>
204 </configuration>
205 <executions>
206 <execution>
207 <goals>
208 <goal>integration-test</goal>
209 <goal>verify</goal>
210 </goals>
211 </execution>
212 </executions>
213 </plugin>
214 </plugins>
215 </build>
216 </profile>
217 </profiles>
218
ramangrover29330a5412013-04-29 20:59:17 -0700219 <dependencies>
220 <dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700221 <groupId>args4j</groupId>
222 <artifactId>args4j</artifactId>
223 <version>2.0.12</version>
224 <type>jar</type>
225 <scope>compile</scope>
226 </dependency>
227 <dependency>
228 <groupId>org.apache.zookeeper</groupId>
229 <artifactId>zookeeper</artifactId>
230 <version>3.4.5</version>
231 <exclusions>
232 <exclusion>
233 <groupId>com.sun.jmx</groupId>
234 <artifactId>jmxri</artifactId>
235 </exclusion>
236 <exclusion>
237 <groupId>com.sun.jdmk</groupId>
238 <artifactId>jmxtools</artifactId>
239 </exclusion>
240 <exclusion>
241 <groupId>javax.jms</groupId>
242 <artifactId>jms</artifactId>
243 </exclusion>
244 </exclusions>
245 </dependency>
246 <dependency>
247 <groupId>commons-io</groupId>
248 <artifactId>commons-io</artifactId>
ramangrover29330a5412013-04-29 20:59:17 -0700249 </dependency>
250 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700251 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700252 <artifactId>asterix-events</artifactId>
Ian Maxonc1889c02016-02-10 15:26:24 -0800253 <version>0.8.9-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700254 <type>jar</type>
255 <scope>compile</scope>
256 </dependency>
257 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700258 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700259 <artifactId>asterix-common</artifactId>
Ian Maxonc1889c02016-02-10 15:26:24 -0800260 <version>0.8.9-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700261 <type>test-jar</type>
262 <scope>test</scope>
ramangrover29330a5412013-04-29 20:59:17 -0700263 </dependency>
Abdullah Alamoudi5a78ca02015-11-19 09:23:27 -0800264 <dependency>
265 <groupId>org.apache.asterix</groupId>
266 <artifactId>asterix-app</artifactId>
Ian Maxonc1889c02016-02-10 15:26:24 -0800267 <version>0.8.9-SNAPSHOT</version>
Abdullah Alamoudi5a78ca02015-11-19 09:23:27 -0800268 <type>test-jar</type>
269 <scope>test</scope>
270 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700271 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700272 <groupId>org.apache.asterix</groupId>
Ian Maxonf7b64532015-12-09 17:28:18 -0800273 <artifactId>asterix-app</artifactId>
Ian Maxon3da9d062016-03-16 17:05:31 -0700274 <version>0.8.9-SNAPSHOT</version>
Ian Maxonf7b64532015-12-09 17:28:18 -0800275 <type>test-jar</type>
276 <scope>test</scope>
277 </dependency>
278 <dependency>
279 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700280 <artifactId>asterix-server</artifactId>
Ian Maxonc1889c02016-02-10 15:26:24 -0800281 <version>0.8.9-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700282 <type>zip</type>
283 <classifier>binary-assembly</classifier>
284 </dependency>
ramangrover298be29bd2013-06-11 08:59:44 -0700285 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700286 <groupId>org.apache.asterix</groupId>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200287 <artifactId>asterix-external-data</artifactId>
Ian Maxonc1889c02016-02-10 15:26:24 -0800288 <version>0.8.9-SNAPSHOT</version>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200289 <type>zip</type>
290 <classifier>binary-assembly</classifier>
291 </dependency>
292 <dependency>
293 <groupId>org.apache.asterix</groupId>
ramangrover298be29bd2013-06-11 08:59:44 -0700294 <artifactId>asterix-test-framework</artifactId>
Ian Maxonc1889c02016-02-10 15:26:24 -0800295 <version>0.8.9-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700296 <scope>test</scope>
297 </dependency>
Ian Maxonf7b64532015-12-09 17:28:18 -0800298 <dependency>
299 <groupId>org.apache.hadoop</groupId>
300 <artifactId>hadoop-common</artifactId>
301 <version>${hadoop.version}</version>
302 <scope>test</scope>
303 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700304 </dependencies>
vinayakb5ee049d2013-04-06 21:21:29 +0000305</project>