blob: 34c3e0a3d85b331b02600d0b050ba56f43cc4762 [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>
22 <artifactId>asterix</artifactId>
Ian Maxonf18bba22015-08-21 12:35:14 -070023 <groupId>org.apache.asterix</groupId>
Ian Maxon4e6a9232015-10-05 12:46:37 -070024 <version>0.8.8-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>
ramangrover29330a5412013-04-29 20:59:17 -070032 </properties>
vinayakb5ee049d2013-04-06 21:21:29 +000033
Ian4a816dc2014-11-26 15:46:32 -080034 <licenses>
35 <license>
36 <name>Apache License, Version 2.0</name>
37 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
38 <distribution>repo</distribution>
39 <comments>A business-friendly OSS license</comments>
40 </license>
41 </licenses>
42
ramangrover29330a5412013-04-29 20:59:17 -070043 <build>
44 <plugins>
45 <plugin>
ramangrover29330a5412013-04-29 20:59:17 -070046 <groupId>org.jvnet.jaxb2.maven2</groupId>
47 <artifactId>maven-jaxb2-plugin</artifactId>
Till Westmann6212c902014-07-30 15:44:59 -070048 <version>0.9.0</version>
ramangrover29330a5412013-04-29 20:59:17 -070049 <executions>
50 <execution>
51 <id>configuration</id>
52 <goals>
53 <goal>generate</goal>
54 </goals>
55 <configuration>
56 <args>
57 <arg>-Xsetters</arg>
58 <arg>-Xvalue-constructor</arg>
59 </args>
60 <plugins>
61 <plugin>
62 <groupId>org.jvnet.jaxb2_commons</groupId>
63 <artifactId>jaxb2-basics</artifactId>
64 <version>0.6.2</version>
65 </plugin>
66 <plugin>
67 <groupId>org.jvnet.jaxb2_commons</groupId>
68 <artifactId>jaxb2-value-constructor</artifactId>
69 <version>3.0</version>
70 </plugin>
71 </plugins>
72 <schemaDirectory>src/main/resources/schema</schemaDirectory>
73 <schemaIncludes>
74 <include>installer-conf.xsd</include>
75 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070076 <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070077 <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory>
78 </configuration>
79 </execution>
80 <execution>
81 <id>cluster</id>
82 <goals>
83 <goal>generate</goal>
84 </goals>
85 <configuration>
ramangrover29330a5412013-04-29 20:59:17 -070086 <schemaDirectory>src/main/resources/schema</schemaDirectory>
87 <schemaIncludes>
88 <include>cluster.xsd</include>
89 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070090 <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070091 <bindingDirectory>src/main/resources/schema</bindingDirectory>
92 <bindingIncludes>
93 <bindingInclude>jaxb-bindings.xjb</bindingInclude>
94 </bindingIncludes>
95 <generateDirectory>${project.build.directory}/generated-sources/cluster</generateDirectory>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100 <plugin>
101 <artifactId>maven-assembly-plugin</artifactId>
102 <version>2.2-beta-5</version>
103 <executions>
104 <execution>
105 <configuration>
106 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
107 </configuration>
108 <phase>package</phase>
109 <goals>
110 <goal>attached</goal>
111 </goals>
112 </execution>
113 </executions>
114 </plugin>
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-failsafe-plugin</artifactId>
118 <version>2.6</version>
Young-Seok778e0192013-09-27 15:09:28 -0700119 <configuration>
120 <runOrder>alphabetical</runOrder>
121 <forkMode>pertest</forkMode>
Young-Seok56a41e72013-12-17 17:22:33 -0800122 <excludes>
Chris Hilleryed826aa2014-03-21 22:45:41 -0700123 <exclude>${failsafe.test.excludes}</exclude>
Ianf869bc32014-05-13 17:11:48 -0700124 <exclude>${cluster.test.excludes}</exclude>
Ian Maxonf7b64532015-12-09 17:28:18 -0800125 <exclude>${cluster.extest.excludes}</exclude>
Young-Seok56a41e72013-12-17 17:22:33 -0800126 </excludes>
Young-Seok778e0192013-09-27 15:09:28 -0700127 </configuration>
ramangrover29330a5412013-04-29 20:59:17 -0700128 <executions>
129 <execution>
130 <goals>
131 <goal>integration-test</goal>
132 <goal>verify</goal>
133 </goals>
134 </execution>
135 </executions>
136 </plugin>
137 </plugins>
138 </build>
vinayakb5ee049d2013-04-06 21:21:29 +0000139
Ianf869bc32014-05-13 17:11:48 -0700140
141 <profiles>
142 <profile>
143 <id>cluster-tests</id>
144 <activation>
145 <activeByDefault>false</activeByDefault>
146 <property>
147 <name>clusterTest</name>
148 <value>true</value>
149 </property>
150 </activation>
151 <build>
152 <plugins>
153 <plugin>
154 <groupId>net.ju-n.maven.plugins</groupId>
155 <artifactId>vagrant-maven-plugin</artifactId>
156 <version>1.1.0-SNAPSHOT</version>
157 <executions>
158
159 <!-- Before tests: import box, start VM -->
160 <execution>
161 <id>setup-and-start-vagrant-vm</id>
162 <phase>pre-integration-test</phase>
163 <goals>
164 <goal>up</goal>
165 </goals>
166 <configuration>
167 <box>chef/centos-6.5</box>
168 <url>https://vagrantcloud.com/chef/centos-6.5</url>
169 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
170 </configuration>
171 </execution>
172
173 <!-- After tests: shut down, destroy VM -->
174 <execution>
175 <id>destroy-vagrant-vm</id>
176 <phase>post-integration-test</phase>
177 <goals>
178 <goal>destroy</goal>
179 </goals>
180 <configuration>
181 <box>chef/centos-6.5</box>
182 <url>https://vagrantcloud.com/chef/centos-6.5</url>
183 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
184 </configuration>
185 </execution>
186 </executions>
187 </plugin>
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-failsafe-plugin</artifactId>
191 <version>2.6</version>
192 <configuration>
193 <runOrder>alphabetical</runOrder>
194 <forkMode>pertest</forkMode>
195 <excludes>
196 <exclude>${failsafe.test.excludes}</exclude>
197 </excludes>
198 </configuration>
199 <executions>
200 <execution>
201 <goals>
202 <goal>integration-test</goal>
203 <goal>verify</goal>
204 </goals>
205 </execution>
206 </executions>
207 </plugin>
208 </plugins>
209 </build>
210 </profile>
211 </profiles>
212
ramangrover29330a5412013-04-29 20:59:17 -0700213 <dependencies>
214 <dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700215 <groupId>args4j</groupId>
216 <artifactId>args4j</artifactId>
217 <version>2.0.12</version>
218 <type>jar</type>
219 <scope>compile</scope>
220 </dependency>
221 <dependency>
222 <groupId>org.apache.zookeeper</groupId>
223 <artifactId>zookeeper</artifactId>
224 <version>3.4.5</version>
225 <exclusions>
226 <exclusion>
227 <groupId>com.sun.jmx</groupId>
228 <artifactId>jmxri</artifactId>
229 </exclusion>
230 <exclusion>
231 <groupId>com.sun.jdmk</groupId>
232 <artifactId>jmxtools</artifactId>
233 </exclusion>
234 <exclusion>
235 <groupId>javax.jms</groupId>
236 <artifactId>jms</artifactId>
237 </exclusion>
238 </exclusions>
239 </dependency>
240 <dependency>
241 <groupId>commons-io</groupId>
242 <artifactId>commons-io</artifactId>
ramangrover29330a5412013-04-29 20:59:17 -0700243 </dependency>
244 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700245 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700246 <artifactId>asterix-events</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700247 <version>0.8.8-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700248 <type>jar</type>
249 <scope>compile</scope>
250 </dependency>
251 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700252 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700253 <artifactId>asterix-common</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700254 <version>0.8.8-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700255 <type>test-jar</type>
256 <scope>test</scope>
ramangrover29330a5412013-04-29 20:59:17 -0700257 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700258 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700259 <groupId>org.apache.asterix</groupId>
Ian Maxonf7b64532015-12-09 17:28:18 -0800260 <artifactId>asterix-app</artifactId>
261 <version>0.8.8-SNAPSHOT</version>
262 <type>test-jar</type>
263 <scope>test</scope>
264 </dependency>
265 <dependency>
266 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700267 <artifactId>asterix-server</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700268 <version>0.8.8-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700269 <type>zip</type>
270 <classifier>binary-assembly</classifier>
271 </dependency>
ramangrover298be29bd2013-06-11 08:59:44 -0700272 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700273 <groupId>org.apache.asterix</groupId>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200274 <artifactId>asterix-external-data</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700275 <version>0.8.8-SNAPSHOT</version>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200276 <type>zip</type>
277 <classifier>binary-assembly</classifier>
278 </dependency>
279 <dependency>
280 <groupId>org.apache.asterix</groupId>
ramangrover298be29bd2013-06-11 08:59:44 -0700281 <artifactId>asterix-test-framework</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700282 <version>0.8.8-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700283 <scope>test</scope>
284 </dependency>
Ian Maxonf7b64532015-12-09 17:28:18 -0800285 <dependency>
286 <groupId>org.apache.hadoop</groupId>
287 <artifactId>hadoop-common</artifactId>
288 <version>${hadoop.version}</version>
289 <scope>test</scope>
290 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700291 </dependencies>
vinayakb5ee049d2013-04-06 21:21:29 +0000292</project>