blob: b257e71a8fe9cc1aaea4eb0db424b624f3b07c0a [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>
ramangrover29330a5412013-04-29 20:59:17 -070033 </properties>
vinayakb5ee049d2013-04-06 21:21:29 +000034
Ian4a816dc2014-11-26 15:46:32 -080035 <licenses>
36 <license>
37 <name>Apache License, Version 2.0</name>
38 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
39 <distribution>repo</distribution>
40 <comments>A business-friendly OSS license</comments>
41 </license>
42 </licenses>
43
ramangrover29330a5412013-04-29 20:59:17 -070044 <build>
45 <plugins>
46 <plugin>
ramangrover29330a5412013-04-29 20:59:17 -070047 <groupId>org.jvnet.jaxb2.maven2</groupId>
48 <artifactId>maven-jaxb2-plugin</artifactId>
Till Westmann6212c902014-07-30 15:44:59 -070049 <version>0.9.0</version>
ramangrover29330a5412013-04-29 20:59:17 -070050 <executions>
51 <execution>
52 <id>configuration</id>
53 <goals>
54 <goal>generate</goal>
55 </goals>
56 <configuration>
57 <args>
58 <arg>-Xsetters</arg>
59 <arg>-Xvalue-constructor</arg>
60 </args>
61 <plugins>
62 <plugin>
63 <groupId>org.jvnet.jaxb2_commons</groupId>
64 <artifactId>jaxb2-basics</artifactId>
65 <version>0.6.2</version>
66 </plugin>
67 <plugin>
68 <groupId>org.jvnet.jaxb2_commons</groupId>
69 <artifactId>jaxb2-value-constructor</artifactId>
70 <version>3.0</version>
71 </plugin>
72 </plugins>
73 <schemaDirectory>src/main/resources/schema</schemaDirectory>
74 <schemaIncludes>
75 <include>installer-conf.xsd</include>
76 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070077 <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070078 <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory>
79 </configuration>
80 </execution>
81 <execution>
82 <id>cluster</id>
83 <goals>
84 <goal>generate</goal>
85 </goals>
86 <configuration>
ramangrover29330a5412013-04-29 20:59:17 -070087 <schemaDirectory>src/main/resources/schema</schemaDirectory>
88 <schemaIncludes>
89 <include>cluster.xsd</include>
90 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070091 <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070092 <bindingDirectory>src/main/resources/schema</bindingDirectory>
93 <bindingIncludes>
94 <bindingInclude>jaxb-bindings.xjb</bindingInclude>
95 </bindingIncludes>
96 <generateDirectory>${project.build.directory}/generated-sources/cluster</generateDirectory>
97 </configuration>
98 </execution>
99 </executions>
100 </plugin>
101 <plugin>
102 <artifactId>maven-assembly-plugin</artifactId>
103 <version>2.2-beta-5</version>
104 <executions>
105 <execution>
106 <configuration>
107 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
108 </configuration>
109 <phase>package</phase>
110 <goals>
111 <goal>attached</goal>
112 </goals>
113 </execution>
114 </executions>
115 </plugin>
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-failsafe-plugin</artifactId>
119 <version>2.6</version>
Young-Seok778e0192013-09-27 15:09:28 -0700120 <configuration>
121 <runOrder>alphabetical</runOrder>
122 <forkMode>pertest</forkMode>
Young-Seok56a41e72013-12-17 17:22:33 -0800123 <excludes>
Chris Hilleryed826aa2014-03-21 22:45:41 -0700124 <exclude>${failsafe.test.excludes}</exclude>
Ianf869bc32014-05-13 17:11:48 -0700125 <exclude>${cluster.test.excludes}</exclude>
Ian Maxonf7b64532015-12-09 17:28:18 -0800126 <exclude>${cluster.extest.excludes}</exclude>
Murtadha Hubail8fc8bf82016-01-23 22:26:59 -0800127 <exclude>${replication.test.excludes}</exclude>
Young-Seok56a41e72013-12-17 17:22:33 -0800128 </excludes>
Young-Seok778e0192013-09-27 15:09:28 -0700129 </configuration>
ramangrover29330a5412013-04-29 20:59:17 -0700130 <executions>
131 <execution>
132 <goals>
133 <goal>integration-test</goal>
134 <goal>verify</goal>
135 </goals>
136 </execution>
137 </executions>
138 </plugin>
139 </plugins>
140 </build>
vinayakb5ee049d2013-04-06 21:21:29 +0000141
Ianf869bc32014-05-13 17:11:48 -0700142
143 <profiles>
144 <profile>
145 <id>cluster-tests</id>
146 <activation>
147 <activeByDefault>false</activeByDefault>
148 <property>
149 <name>clusterTest</name>
150 <value>true</value>
151 </property>
152 </activation>
153 <build>
154 <plugins>
155 <plugin>
156 <groupId>net.ju-n.maven.plugins</groupId>
157 <artifactId>vagrant-maven-plugin</artifactId>
158 <version>1.1.0-SNAPSHOT</version>
159 <executions>
160
161 <!-- Before tests: import box, start VM -->
162 <execution>
163 <id>setup-and-start-vagrant-vm</id>
164 <phase>pre-integration-test</phase>
165 <goals>
166 <goal>up</goal>
167 </goals>
168 <configuration>
169 <box>chef/centos-6.5</box>
170 <url>https://vagrantcloud.com/chef/centos-6.5</url>
171 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
172 </configuration>
173 </execution>
174
175 <!-- After tests: shut down, destroy VM -->
176 <execution>
177 <id>destroy-vagrant-vm</id>
178 <phase>post-integration-test</phase>
179 <goals>
180 <goal>destroy</goal>
181 </goals>
182 <configuration>
183 <box>chef/centos-6.5</box>
184 <url>https://vagrantcloud.com/chef/centos-6.5</url>
185 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
186 </configuration>
187 </execution>
188 </executions>
189 </plugin>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-failsafe-plugin</artifactId>
193 <version>2.6</version>
194 <configuration>
195 <runOrder>alphabetical</runOrder>
196 <forkMode>pertest</forkMode>
197 <excludes>
198 <exclude>${failsafe.test.excludes}</exclude>
Murtadha Hubail8fc8bf82016-01-23 22:26:59 -0800199 <exclude>${cluster.test.excludes}</exclude>
200 <exclude>${cluster.extest.excludes}</exclude>
Ianf869bc32014-05-13 17:11:48 -0700201 </excludes>
202 </configuration>
203 <executions>
204 <execution>
205 <goals>
206 <goal>integration-test</goal>
207 <goal>verify</goal>
208 </goals>
209 </execution>
210 </executions>
211 </plugin>
212 </plugins>
213 </build>
214 </profile>
215 </profiles>
216
ramangrover29330a5412013-04-29 20:59:17 -0700217 <dependencies>
218 <dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700219 <groupId>args4j</groupId>
220 <artifactId>args4j</artifactId>
221 <version>2.0.12</version>
222 <type>jar</type>
223 <scope>compile</scope>
224 </dependency>
225 <dependency>
226 <groupId>org.apache.zookeeper</groupId>
227 <artifactId>zookeeper</artifactId>
228 <version>3.4.5</version>
229 <exclusions>
230 <exclusion>
231 <groupId>com.sun.jmx</groupId>
232 <artifactId>jmxri</artifactId>
233 </exclusion>
234 <exclusion>
235 <groupId>com.sun.jdmk</groupId>
236 <artifactId>jmxtools</artifactId>
237 </exclusion>
238 <exclusion>
239 <groupId>javax.jms</groupId>
240 <artifactId>jms</artifactId>
241 </exclusion>
242 </exclusions>
243 </dependency>
244 <dependency>
245 <groupId>commons-io</groupId>
246 <artifactId>commons-io</artifactId>
ramangrover29330a5412013-04-29 20:59:17 -0700247 </dependency>
248 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700249 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700250 <artifactId>asterix-events</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700251 <version>0.8.8-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700252 <type>jar</type>
253 <scope>compile</scope>
254 </dependency>
255 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700256 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700257 <artifactId>asterix-common</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700258 <version>0.8.8-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700259 <type>test-jar</type>
260 <scope>test</scope>
ramangrover29330a5412013-04-29 20:59:17 -0700261 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700262 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700263 <groupId>org.apache.asterix</groupId>
Ian Maxonf7b64532015-12-09 17:28:18 -0800264 <artifactId>asterix-app</artifactId>
265 <version>0.8.8-SNAPSHOT</version>
266 <type>test-jar</type>
267 <scope>test</scope>
268 </dependency>
269 <dependency>
270 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700271 <artifactId>asterix-server</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700272 <version>0.8.8-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700273 <type>zip</type>
274 <classifier>binary-assembly</classifier>
275 </dependency>
ramangrover298be29bd2013-06-11 08:59:44 -0700276 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700277 <groupId>org.apache.asterix</groupId>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200278 <artifactId>asterix-external-data</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700279 <version>0.8.8-SNAPSHOT</version>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200280 <type>zip</type>
281 <classifier>binary-assembly</classifier>
282 </dependency>
283 <dependency>
284 <groupId>org.apache.asterix</groupId>
ramangrover298be29bd2013-06-11 08:59:44 -0700285 <artifactId>asterix-test-framework</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700286 <version>0.8.8-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700287 <scope>test</scope>
288 </dependency>
Ian Maxonf7b64532015-12-09 17:28:18 -0800289 <dependency>
290 <groupId>org.apache.hadoop</groupId>
291 <artifactId>hadoop-common</artifactId>
292 <version>${hadoop.version}</version>
293 <scope>test</scope>
294 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700295 </dependencies>
vinayakb5ee049d2013-04-06 21:21:29 +0000296</project>