blob: 61345a307892cad8ebea4835923883be6a94cc29 [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>
ramangrover29330a5412013-04-29 20:59:17 -070031 </properties>
vinayakb5ee049d2013-04-06 21:21:29 +000032
Ian4a816dc2014-11-26 15:46:32 -080033 <licenses>
34 <license>
35 <name>Apache License, Version 2.0</name>
36 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
37 <distribution>repo</distribution>
38 <comments>A business-friendly OSS license</comments>
39 </license>
40 </licenses>
41
ramangrover29330a5412013-04-29 20:59:17 -070042 <build>
43 <plugins>
44 <plugin>
ramangrover29330a5412013-04-29 20:59:17 -070045 <groupId>org.jvnet.jaxb2.maven2</groupId>
46 <artifactId>maven-jaxb2-plugin</artifactId>
Till Westmann6212c902014-07-30 15:44:59 -070047 <version>0.9.0</version>
ramangrover29330a5412013-04-29 20:59:17 -070048 <executions>
49 <execution>
50 <id>configuration</id>
51 <goals>
52 <goal>generate</goal>
53 </goals>
54 <configuration>
55 <args>
56 <arg>-Xsetters</arg>
57 <arg>-Xvalue-constructor</arg>
58 </args>
59 <plugins>
60 <plugin>
61 <groupId>org.jvnet.jaxb2_commons</groupId>
62 <artifactId>jaxb2-basics</artifactId>
63 <version>0.6.2</version>
64 </plugin>
65 <plugin>
66 <groupId>org.jvnet.jaxb2_commons</groupId>
67 <artifactId>jaxb2-value-constructor</artifactId>
68 <version>3.0</version>
69 </plugin>
70 </plugins>
71 <schemaDirectory>src/main/resources/schema</schemaDirectory>
72 <schemaIncludes>
73 <include>installer-conf.xsd</include>
74 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070075 <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070076 <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory>
77 </configuration>
78 </execution>
79 <execution>
80 <id>cluster</id>
81 <goals>
82 <goal>generate</goal>
83 </goals>
84 <configuration>
ramangrover29330a5412013-04-29 20:59:17 -070085 <schemaDirectory>src/main/resources/schema</schemaDirectory>
86 <schemaIncludes>
87 <include>cluster.xsd</include>
88 </schemaIncludes>
Ian Maxonf18bba22015-08-21 12:35:14 -070089 <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage>
ramangrover29330a5412013-04-29 20:59:17 -070090 <bindingDirectory>src/main/resources/schema</bindingDirectory>
91 <bindingIncludes>
92 <bindingInclude>jaxb-bindings.xjb</bindingInclude>
93 </bindingIncludes>
94 <generateDirectory>${project.build.directory}/generated-sources/cluster</generateDirectory>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
100 <artifactId>maven-assembly-plugin</artifactId>
101 <version>2.2-beta-5</version>
102 <executions>
103 <execution>
104 <configuration>
105 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
106 </configuration>
107 <phase>package</phase>
108 <goals>
109 <goal>attached</goal>
110 </goals>
111 </execution>
112 </executions>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-failsafe-plugin</artifactId>
117 <version>2.6</version>
Young-Seok778e0192013-09-27 15:09:28 -0700118 <configuration>
119 <runOrder>alphabetical</runOrder>
120 <forkMode>pertest</forkMode>
Young-Seok56a41e72013-12-17 17:22:33 -0800121 <excludes>
Chris Hilleryed826aa2014-03-21 22:45:41 -0700122 <exclude>${failsafe.test.excludes}</exclude>
Ianf869bc32014-05-13 17:11:48 -0700123 <exclude>${cluster.test.excludes}</exclude>
Young-Seok56a41e72013-12-17 17:22:33 -0800124 </excludes>
Young-Seok778e0192013-09-27 15:09:28 -0700125 </configuration>
ramangrover29330a5412013-04-29 20:59:17 -0700126 <executions>
127 <execution>
128 <goals>
129 <goal>integration-test</goal>
130 <goal>verify</goal>
131 </goals>
132 </execution>
133 </executions>
134 </plugin>
135 </plugins>
136 </build>
vinayakb5ee049d2013-04-06 21:21:29 +0000137
Ianf869bc32014-05-13 17:11:48 -0700138
139 <profiles>
140 <profile>
141 <id>cluster-tests</id>
142 <activation>
143 <activeByDefault>false</activeByDefault>
144 <property>
145 <name>clusterTest</name>
146 <value>true</value>
147 </property>
148 </activation>
149 <build>
150 <plugins>
151 <plugin>
152 <groupId>net.ju-n.maven.plugins</groupId>
153 <artifactId>vagrant-maven-plugin</artifactId>
154 <version>1.1.0-SNAPSHOT</version>
155 <executions>
156
157 <!-- Before tests: import box, start VM -->
158 <execution>
159 <id>setup-and-start-vagrant-vm</id>
160 <phase>pre-integration-test</phase>
161 <goals>
162 <goal>up</goal>
163 </goals>
164 <configuration>
165 <box>chef/centos-6.5</box>
166 <url>https://vagrantcloud.com/chef/centos-6.5</url>
167 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
168 </configuration>
169 </execution>
170
171 <!-- After tests: shut down, destroy VM -->
172 <execution>
173 <id>destroy-vagrant-vm</id>
174 <phase>post-integration-test</phase>
175 <goals>
176 <goal>destroy</goal>
177 </goals>
178 <configuration>
179 <box>chef/centos-6.5</box>
180 <url>https://vagrantcloud.com/chef/centos-6.5</url>
181 <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome>
182 </configuration>
183 </execution>
184 </executions>
185 </plugin>
186 <plugin>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-failsafe-plugin</artifactId>
189 <version>2.6</version>
190 <configuration>
191 <runOrder>alphabetical</runOrder>
192 <forkMode>pertest</forkMode>
193 <excludes>
194 <exclude>${failsafe.test.excludes}</exclude>
195 </excludes>
196 </configuration>
197 <executions>
198 <execution>
199 <goals>
200 <goal>integration-test</goal>
201 <goal>verify</goal>
202 </goals>
203 </execution>
204 </executions>
205 </plugin>
206 </plugins>
207 </build>
208 </profile>
209 </profiles>
210
ramangrover29330a5412013-04-29 20:59:17 -0700211 <dependencies>
212 <dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700213 <groupId>args4j</groupId>
214 <artifactId>args4j</artifactId>
215 <version>2.0.12</version>
216 <type>jar</type>
217 <scope>compile</scope>
218 </dependency>
219 <dependency>
220 <groupId>org.apache.zookeeper</groupId>
221 <artifactId>zookeeper</artifactId>
222 <version>3.4.5</version>
223 <exclusions>
224 <exclusion>
225 <groupId>com.sun.jmx</groupId>
226 <artifactId>jmxri</artifactId>
227 </exclusion>
228 <exclusion>
229 <groupId>com.sun.jdmk</groupId>
230 <artifactId>jmxtools</artifactId>
231 </exclusion>
232 <exclusion>
233 <groupId>javax.jms</groupId>
234 <artifactId>jms</artifactId>
235 </exclusion>
236 </exclusions>
237 </dependency>
238 <dependency>
239 <groupId>commons-io</groupId>
240 <artifactId>commons-io</artifactId>
ramangrover29330a5412013-04-29 20:59:17 -0700241 </dependency>
242 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700243 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700244 <artifactId>asterix-events</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700245 <version>0.8.8-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700246 <type>jar</type>
247 <scope>compile</scope>
248 </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-common</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700252 <version>0.8.8-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700253 <type>test-jar</type>
254 <scope>test</scope>
ramangrover29330a5412013-04-29 20:59:17 -0700255 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700256 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700257 <groupId>org.apache.asterix</groupId>
ramangrover29330a5412013-04-29 20:59:17 -0700258 <artifactId>asterix-server</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700259 <version>0.8.8-SNAPSHOT</version>
ramangrover29330a5412013-04-29 20:59:17 -0700260 <type>zip</type>
261 <classifier>binary-assembly</classifier>
262 </dependency>
ramangrover298be29bd2013-06-11 08:59:44 -0700263 <dependency>
Ian Maxonf18bba22015-08-21 12:35:14 -0700264 <groupId>org.apache.asterix</groupId>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200265 <artifactId>asterix-external-data</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700266 <version>0.8.8-SNAPSHOT</version>
Heri Ramampiaro75bb5d372015-09-29 10:56:45 +0200267 <type>zip</type>
268 <classifier>binary-assembly</classifier>
269 </dependency>
270 <dependency>
271 <groupId>org.apache.asterix</groupId>
ramangrover298be29bd2013-06-11 08:59:44 -0700272 <artifactId>asterix-test-framework</artifactId>
Ian Maxon4e6a9232015-10-05 12:46:37 -0700273 <version>0.8.8-SNAPSHOT</version>
ramangrover298be29bd2013-06-11 08:59:44 -0700274 <scope>test</scope>
275 </dependency>
ramangrover29330a5412013-04-29 20:59:17 -0700276 </dependencies>
vinayakb5ee049d2013-04-06 21:21:29 +0000277</project>