blob: dfdf45de41949361753f56af5ab081aab807e5b7 [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 Maxona2389dd2016-02-10 15:26:12 -080024 <version>0.8.8-incubating</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 Maxon6e5f18e2015-11-24 18:02:48 -080031 <appendedResourcesDirectory>${basedir}/src/main/appended-resources</appendedResourcesDirectory>
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>
46 <groupId>org.apache.maven.plugins</groupId>
47 <artifactId>maven-compiler-plugin</artifactId>
Till Westmann6212c902014-07-30 15:44:59 -070048 <version>2.3.2</version>
ramangrover29330a5412013-04-29 20:59:17 -070049 <configuration>
ramangrover298be29bd2013-06-11 08:59:44 -070050 <source>1.7</source>
51 <target>1.7</target>
ramangrover29330a5412013-04-29 20:59:17 -070052 </configuration>
53 </plugin>
ramangrover29330a5412013-04-29 20:59:17 -070054 <plugin>
55 <groupId>org.jvnet.jaxb2.maven2</groupId>
56 <artifactId>maven-jaxb2-plugin</artifactId>
Till Westmann6212c902014-07-30 15:44:59 -070057 <version>0.9.0</version>
ramangrover29330a5412013-04-29 20:59:17 -070058 <executions>
59 <execution>
60 <id>configuration</id>
61 <goals>
62 <goal>generate</goal>
63 </goals>
64 <configuration>
65 <args>
66 <arg>-Xsetters</arg>
67 <arg>-Xvalue-constructor</arg>
68 </args>
69 <plugins>
70 <plugin>
71 <groupId>org.jvnet.jaxb2_commons</groupId>
72 <artifactId>jaxb2-basics</artifactId>
73 <version>0.6.2</version>
74 </plugin>
75 <plugin>
76 <groupId>org.jvnet.jaxb2_commons</groupId>
77 <artifactId>jaxb2-value-constructor</artifactId>
78 <version>3.0</version>
79 </plugin>
80 </plugins>
81 <schemaDirectory>src/main/resources/schema</schemaDirectory>
82 <schemaIncludes>
83 <include>installer-conf.xsd</include>
84 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070085 <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070086 <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory>
87 </configuration>
88 </execution>
89 <execution>
90 <id>cluster</id>
91 <goals>
92 <goal>generate</goal>
93 </goals>
94 <configuration>
ramangrover29330a5412013-04-29 20:59:17 -070095 <schemaDirectory>src/main/resources/schema</schemaDirectory>
96 <schemaIncludes>
97 <include>cluster.xsd</include>
98 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070099 <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -0700100 <bindingDirectory>src/main/resources/schema</bindingDirectory>
101 <bindingIncludes>
102 <bindingInclude>jaxb-bindings.xjb</bindingInclude>
103 </bindingIncludes>
104 <generateDirectory>${project.build.directory}/generated-sources/cluster</generateDirectory>
105 </configuration>
106 </execution>
107 </executions>
108 </plugin>
109 <plugin>
110 <artifactId>maven-assembly-plugin</artifactId>
111 <version>2.2-beta-5</version>
112 <executions>
113 <execution>
114 <configuration>
115 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
116 </configuration>
117 <phase>package</phase>
118 <goals>
119 <goal>attached</goal>
120 </goals>
121 </execution>
122 </executions>
123 </plugin>
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-failsafe-plugin</artifactId>
127 <version>2.6</version>
Young-Seok778e0192013-09-27 15:09:28 -0700128 <configuration>
129 <runOrder>alphabetical</runOrder>
130 <forkMode>pertest</forkMode>
Young-Seok56a41e72013-12-17 17:22:33 -0800131 <excludes>
Chris Hilleryed826aa2014-03-21 22:45:41 -0700132 <exclude>${failsafe.test.excludes}</exclude>
Ianf869bc32014-05-13 17:11:48 -0700133 <exclude>${cluster.test.excludes}</exclude>
Young-Seok56a41e72013-12-17 17:22:33 -0800134 </excludes>
Young-Seok778e0192013-09-27 15:09:28 -0700135 </configuration>
ramangrover29330a5412013-04-29 20:59:17 -0700136 <executions>
137 <execution>
138 <goals>
139 <goal>integration-test</goal>
140 <goal>verify</goal>
141 </goals>
142 </execution>
143 </executions>
144 </plugin>
145 </plugins>
146 </build>
vinayakb5ee049d2013-04-06 21:21:29 +0000147
Ianf869bc32014-05-13 17:11:48 -0700148
149 <profiles>
150 <profile>
151 <id>cluster-tests</id>
152 <activation>
153 <activeByDefault>false</activeByDefault>
154 <property>
155 <name>clusterTest</name>
156 <value>true</value>
157 </property>
158 </activation>
159 <build>
160 <plugins>
161 <plugin>
162 <groupId>net.ju-n.maven.plugins</groupId>
163 <artifactId>vagrant-maven-plugin</artifactId>
164 <version>1.1.0-SNAPSHOT</version>
165 <executions>
166
167 <!-- Before tests: import box, start VM -->
168 <execution>
169 <id>setup-and-start-vagrant-vm</id>
170 <phase>pre-integration-test</phase>
171 <goals>
172 <goal>up</goal>
173 </goals>
174 <configuration>
175 <box>chef/centos-6.5</box>
176 <url>https://vagrantcloud.com/chef/centos-6.5</url>
177 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
178 </configuration>
179 </execution>
180
181 <!-- After tests: shut down, destroy VM -->
182 <execution>
183 <id>destroy-vagrant-vm</id>
184 <phase>post-integration-test</phase>
185 <goals>
186 <goal>destroy</goal>
187 </goals>
188 <configuration>
189 <box>chef/centos-6.5</box>
190 <url>https://vagrantcloud.com/chef/centos-6.5</url>
191 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
192 </configuration>
193 </execution>
194 </executions>
195 </plugin>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-failsafe-plugin</artifactId>
199 <version>2.6</version>
200 <configuration>
201 <runOrder>alphabetical</runOrder>
202 <forkMode>pertest</forkMode>
203 <excludes>
204 <exclude>${failsafe.test.excludes}</exclude>
205 </excludes>
206 </configuration>
207 <executions>
208 <execution>
209 <goals>
210 <goal>integration-test</goal>
211 <goal>verify</goal>
212 </goals>
213 </execution>
214 </executions>
215 </plugin>
216 </plugins>
217 </build>
218 </profile>
219 </profiles>
220
ramangrover29330a5412013-04-29 20:59:17 -0700221 <dependencies>
222 <dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700223 <groupId>args4j</groupId>
224 <artifactId>args4j</artifactId>
225 <version>2.0.12</version>
226 <type>jar</type>
227 <scope>compile</scope>
228 </dependency>
229 <dependency>
230 <groupId>org.apache.zookeeper</groupId>
231 <artifactId>zookeeper</artifactId>
232 <version>3.4.5</version>
233 <exclusions>
234 <exclusion>
235 <groupId>com.sun.jmx</groupId>
236 <artifactId>jmxri</artifactId>
237 </exclusion>
238 <exclusion>
239 <groupId>com.sun.jdmk</groupId>
240 <artifactId>jmxtools</artifactId>
241 </exclusion>
242 <exclusion>
243 <groupId>javax.jms</groupId>
244 <artifactId>jms</artifactId>
245 </exclusion>
246 </exclusions>
247 </dependency>
248 <dependency>
249 <groupId>commons-io</groupId>
250 <artifactId>commons-io</artifactId>
ramangrover29330a5412013-04-29 20:59:17 -0700251 </dependency>
252 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700253 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700254 <artifactId>asterix-events</artifactId>
Ian Maxona2389dd2016-02-10 15:26:12 -0800255 <version>0.8.8-incubating</version>
ramangrover29330a5412013-04-29 20:59:17 -0700256 <type>jar</type>
257 <scope>compile</scope>
258 </dependency>
259 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700260 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700261 <artifactId>asterix-common</artifactId>
Ian Maxona2389dd2016-02-10 15:26:12 -0800262 <version>0.8.8-incubating</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700263 <type>test-jar</type>
264 <scope>test</scope>
ramangrover29330a5412013-04-29 20:59:17 -0700265 </dependency>
Abdullah Alamoudi5a78ca02015-11-19 09:23:27 -0800266 <dependency>
267 <groupId>org.apache.asterix</groupId>
268 <artifactId>asterix-app</artifactId>
Ian Maxona2389dd2016-02-10 15:26:12 -0800269 <version>0.8.8-incubating</version>
Abdullah Alamoudi5a78ca02015-11-19 09:23:27 -0800270 <type>test-jar</type>
271 <scope>test</scope>
272 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700273 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700274 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700275 <artifactId>asterix-server</artifactId>
Ian Maxona2389dd2016-02-10 15:26:12 -0800276 <version>0.8.8-incubating</version>
ramangrover29330a5412013-04-29 20:59:17 -0700277 <type>zip</type>
278 <classifier>binary-assembly</classifier>
279 </dependency>
ramangrover298be29bd2013-06-11 08:59:44 -0700280 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700281 <groupId>org.apache.asterix</groupId>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200282 <artifactId>asterix-external-data</artifactId>
Ian Maxona2389dd2016-02-10 15:26:12 -0800283 <version>0.8.8-incubating</version>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200284 <type>zip</type>
285 <classifier>binary-assembly</classifier>
286 </dependency>
287 <dependency>
288 <groupId>org.apache.asterix</groupId>
ramangrover298be29bd2013-06-11 08:59:44 -0700289 <artifactId>asterix-test-framework</artifactId>
Ian Maxona2389dd2016-02-10 15:26:12 -0800290 <version>0.8.8-incubating</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700291 <scope>test</scope>
292 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700293 </dependencies>
vinayakb5ee049d2013-04-06 21:21:29 +0000294</project>