blob: 893a983ddbfb7d07dd9747a0fddc2ce873479220 [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>
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/>
ramangrover29330a5412013-04-29 20:59:17 -070034 </properties>
vinayakb5ee049d2013-04-06 21:21:29 +000035
Ian4a816dc2014-11-26 15:46:32 -080036 <licenses>
37 <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>
43 </licenses>
44
ramangrover29330a5412013-04-29 20:59:17 -070045 <build>
46 <plugins>
47 <plugin>
ramangrover29330a5412013-04-29 20:59:17 -070048 <groupId>org.jvnet.jaxb2.maven2</groupId>
49 <artifactId>maven-jaxb2-plugin</artifactId>
Till Westmann6212c902014-07-30 15:44:59 -070050 <version>0.9.0</version>
ramangrover29330a5412013-04-29 20:59:17 -070051 <executions>
52 <execution>
53 <id>configuration</id>
54 <goals>
55 <goal>generate</goal>
56 </goals>
57 <configuration>
58 <args>
59 <arg>-Xsetters</arg>
60 <arg>-Xvalue-constructor</arg>
61 </args>
62 <plugins>
63 <plugin>
64 <groupId>org.jvnet.jaxb2_commons</groupId>
65 <artifactId>jaxb2-basics</artifactId>
66 <version>0.6.2</version>
67 </plugin>
68 <plugin>
69 <groupId>org.jvnet.jaxb2_commons</groupId>
70 <artifactId>jaxb2-value-constructor</artifactId>
71 <version>3.0</version>
72 </plugin>
73 </plugins>
74 <schemaDirectory>src/main/resources/schema</schemaDirectory>
75 <schemaIncludes>
76 <include>installer-conf.xsd</include>
77 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070078 <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070079 <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory>
80 </configuration>
81 </execution>
82 <execution>
83 <id>cluster</id>
84 <goals>
85 <goal>generate</goal>
86 </goals>
87 <configuration>
ramangrover29330a5412013-04-29 20:59:17 -070088 <schemaDirectory>src/main/resources/schema</schemaDirectory>
89 <schemaIncludes>
90 <include>cluster.xsd</include>
91 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070092 <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070093 <bindingDirectory>src/main/resources/schema</bindingDirectory>
94 <bindingIncludes>
95 <bindingInclude>jaxb-bindings.xjb</bindingInclude>
96 </bindingIncludes>
97 <generateDirectory>${project.build.directory}/generated-sources/cluster</generateDirectory>
98 </configuration>
99 </execution>
100 </executions>
101 </plugin>
102 <plugin>
103 <artifactId>maven-assembly-plugin</artifactId>
104 <version>2.2-beta-5</version>
105 <executions>
106 <execution>
107 <configuration>
108 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
109 </configuration>
110 <phase>package</phase>
111 <goals>
112 <goal>attached</goal>
113 </goals>
114 </execution>
115 </executions>
116 </plugin>
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-failsafe-plugin</artifactId>
120 <version>2.6</version>
Young-Seok778e0192013-09-27 15:09:28 -0700121 <configuration>
122 <runOrder>alphabetical</runOrder>
123 <forkMode>pertest</forkMode>
Young-Seok56a41e72013-12-17 17:22:33 -0800124 <excludes>
Chris Hilleryed826aa2014-03-21 22:45:41 -0700125 <exclude>${failsafe.test.excludes}</exclude>
Ianf869bc32014-05-13 17:11:48 -0700126 <exclude>${cluster.test.excludes}</exclude>
Ian Maxonf7b64532015-12-09 17:28:18 -0800127 <exclude>${cluster.extest.excludes}</exclude>
Murtadha Hubail8fc8bf82016-01-23 22:26:59 -0800128 <exclude>${replication.test.excludes}</exclude>
Young-Seok56a41e72013-12-17 17:22:33 -0800129 </excludes>
Young-Seok778e0192013-09-27 15:09:28 -0700130 </configuration>
ramangrover29330a5412013-04-29 20:59:17 -0700131 <executions>
132 <execution>
133 <goals>
134 <goal>integration-test</goal>
135 <goal>verify</goal>
136 </goals>
137 </execution>
138 </executions>
139 </plugin>
140 </plugins>
141 </build>
vinayakb5ee049d2013-04-06 21:21:29 +0000142
Ianf869bc32014-05-13 17:11:48 -0700143
144 <profiles>
145 <profile>
146 <id>cluster-tests</id>
147 <activation>
148 <activeByDefault>false</activeByDefault>
149 <property>
150 <name>clusterTest</name>
151 <value>true</value>
152 </property>
153 </activation>
154 <build>
155 <plugins>
156 <plugin>
157 <groupId>net.ju-n.maven.plugins</groupId>
158 <artifactId>vagrant-maven-plugin</artifactId>
159 <version>1.1.0-SNAPSHOT</version>
160 <executions>
161
162 <!-- Before tests: import box, start VM -->
163 <execution>
164 <id>setup-and-start-vagrant-vm</id>
165 <phase>pre-integration-test</phase>
166 <goals>
167 <goal>up</goal>
168 </goals>
169 <configuration>
170 <box>chef/centos-6.5</box>
171 <url>https://vagrantcloud.com/chef/centos-6.5</url>
172 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
173 </configuration>
174 </execution>
175
176 <!-- After tests: shut down, destroy VM -->
177 <execution>
178 <id>destroy-vagrant-vm</id>
179 <phase>post-integration-test</phase>
180 <goals>
181 <goal>destroy</goal>
182 </goals>
183 <configuration>
184 <box>chef/centos-6.5</box>
185 <url>https://vagrantcloud.com/chef/centos-6.5</url>
186 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
187 </configuration>
188 </execution>
189 </executions>
190 </plugin>
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-failsafe-plugin</artifactId>
194 <version>2.6</version>
195 <configuration>
196 <runOrder>alphabetical</runOrder>
197 <forkMode>pertest</forkMode>
198 <excludes>
199 <exclude>${failsafe.test.excludes}</exclude>
Murtadha Hubail8fc8bf82016-01-23 22:26:59 -0800200 <exclude>${cluster.test.excludes}</exclude>
201 <exclude>${cluster.extest.excludes}</exclude>
Ianf869bc32014-05-13 17:11:48 -0700202 </excludes>
203 </configuration>
204 <executions>
205 <execution>
206 <goals>
207 <goal>integration-test</goal>
208 <goal>verify</goal>
209 </goals>
210 </execution>
211 </executions>
212 </plugin>
213 </plugins>
214 </build>
215 </profile>
216 </profiles>
217
ramangrover29330a5412013-04-29 20:59:17 -0700218 <dependencies>
219 <dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700220 <groupId>args4j</groupId>
221 <artifactId>args4j</artifactId>
222 <version>2.0.12</version>
223 <type>jar</type>
224 <scope>compile</scope>
225 </dependency>
226 <dependency>
227 <groupId>org.apache.zookeeper</groupId>
228 <artifactId>zookeeper</artifactId>
229 <version>3.4.5</version>
230 <exclusions>
231 <exclusion>
232 <groupId>com.sun.jmx</groupId>
233 <artifactId>jmxri</artifactId>
234 </exclusion>
235 <exclusion>
236 <groupId>com.sun.jdmk</groupId>
237 <artifactId>jmxtools</artifactId>
238 </exclusion>
239 <exclusion>
240 <groupId>javax.jms</groupId>
241 <artifactId>jms</artifactId>
242 </exclusion>
243 </exclusions>
244 </dependency>
245 <dependency>
246 <groupId>commons-io</groupId>
247 <artifactId>commons-io</artifactId>
ramangrover29330a5412013-04-29 20:59:17 -0700248 </dependency>
249 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700250 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700251 <artifactId>asterix-events</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700252 <version>0.8.8-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700253 <type>jar</type>
254 <scope>compile</scope>
255 </dependency>
256 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700257 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700258 <artifactId>asterix-common</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700259 <version>0.8.8-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700260 <type>test-jar</type>
261 <scope>test</scope>
ramangrover29330a5412013-04-29 20:59:17 -0700262 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700263 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700264 <groupId>org.apache.asterix</groupId>
Ian Maxonf7b64532015-12-09 17:28:18 -0800265 <artifactId>asterix-app</artifactId>
266 <version>0.8.8-SNAPSHOT</version>
267 <type>test-jar</type>
268 <scope>test</scope>
269 </dependency>
270 <dependency>
271 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700272 <artifactId>asterix-server</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700273 <version>0.8.8-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700274 <type>zip</type>
275 <classifier>binary-assembly</classifier>
276 </dependency>
ramangrover298be29bd2013-06-11 08:59:44 -0700277 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700278 <groupId>org.apache.asterix</groupId>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200279 <artifactId>asterix-external-data</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700280 <version>0.8.8-SNAPSHOT</version>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200281 <type>zip</type>
282 <classifier>binary-assembly</classifier>
283 </dependency>
284 <dependency>
285 <groupId>org.apache.asterix</groupId>
ramangrover298be29bd2013-06-11 08:59:44 -0700286 <artifactId>asterix-test-framework</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700287 <version>0.8.8-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700288 <scope>test</scope>
289 </dependency>
Ian Maxonf7b64532015-12-09 17:28:18 -0800290 <dependency>
291 <groupId>org.apache.hadoop</groupId>
292 <artifactId>hadoop-common</artifactId>
293 <version>${hadoop.version}</version>
294 <scope>test</scope>
295 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700296 </dependencies>
vinayakb5ee049d2013-04-06 21:21:29 +0000297</project>