Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 1 | <!-- |
Ian Maxon | 928bbd1 | 2015-09-14 17:12:48 -0700 | [diff] [blame] | 2 | ! 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. |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 18 | !--> |
Vinayak Borkar | 9cca81b | 2013-12-11 21:53:45 -0800 | [diff] [blame] | 19 | <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"> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | <parent> |
| 22 | <artifactId>asterix</artifactId> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 23 | <groupId>org.apache.asterix</groupId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 24 | <version>0.8.8-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 25 | </parent> |
| 26 | <artifactId>asterix-installer</artifactId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 27 | <properties> |
| 28 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Chris Hillery | ed826aa | 2014-03-21 22:45:41 -0700 | [diff] [blame] | 29 | <failsafe.test.excludes>**/DmlRecoveryIT.java</failsafe.test.excludes> |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 30 | <cluster.test.excludes>**/AsterixClusterLifeCycleIT.java</cluster.test.excludes> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 31 | <cluster.extest.excludes>**/ClusterExecutionIT.java</cluster.extest.excludes> |
Murtadha Hubail | 8fc8bf8 | 2016-01-23 22:26:59 -0800 | [diff] [blame] | 32 | <replication.test.excludes>**/ReplicationIT.java</replication.test.excludes> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 33 | </properties> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 34 | |
Ian | 4a816dc | 2014-11-26 15:46:32 -0800 | [diff] [blame] | 35 | <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 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 44 | <build> |
| 45 | <plugins> |
| 46 | <plugin> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 47 | <groupId>org.jvnet.jaxb2.maven2</groupId> |
| 48 | <artifactId>maven-jaxb2-plugin</artifactId> |
Till Westmann | 6212c90 | 2014-07-30 15:44:59 -0700 | [diff] [blame] | 49 | <version>0.9.0</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 50 | <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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 77 | <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 78 | <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> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 87 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 88 | <schemaIncludes> |
| 89 | <include>cluster.xsd</include> |
| 90 | </schemaIncludes> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 91 | <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 92 | <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-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 120 | <configuration> |
| 121 | <runOrder>alphabetical</runOrder> |
| 122 | <forkMode>pertest</forkMode> |
Young-Seok | 56a41e7 | 2013-12-17 17:22:33 -0800 | [diff] [blame] | 123 | <excludes> |
Chris Hillery | ed826aa | 2014-03-21 22:45:41 -0700 | [diff] [blame] | 124 | <exclude>${failsafe.test.excludes}</exclude> |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 125 | <exclude>${cluster.test.excludes}</exclude> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 126 | <exclude>${cluster.extest.excludes}</exclude> |
Murtadha Hubail | 8fc8bf8 | 2016-01-23 22:26:59 -0800 | [diff] [blame] | 127 | <exclude>${replication.test.excludes}</exclude> |
Young-Seok | 56a41e7 | 2013-12-17 17:22:33 -0800 | [diff] [blame] | 128 | </excludes> |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 129 | </configuration> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 130 | <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> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 141 | |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 142 | |
| 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 Hubail | 8fc8bf8 | 2016-01-23 22:26:59 -0800 | [diff] [blame] | 199 | <exclude>${cluster.test.excludes}</exclude> |
| 200 | <exclude>${cluster.extest.excludes}</exclude> |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 201 | </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 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 217 | <dependencies> |
| 218 | <dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 219 | <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> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 247 | </dependency> |
| 248 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 249 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 250 | <artifactId>asterix-events</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 251 | <version>0.8.8-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 252 | <type>jar</type> |
| 253 | <scope>compile</scope> |
| 254 | </dependency> |
| 255 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 256 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 257 | <artifactId>asterix-common</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 258 | <version>0.8.8-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 259 | <type>test-jar</type> |
| 260 | <scope>test</scope> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 261 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 262 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 263 | <groupId>org.apache.asterix</groupId> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 264 | <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> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 271 | <artifactId>asterix-server</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 272 | <version>0.8.8-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 273 | <type>zip</type> |
| 274 | <classifier>binary-assembly</classifier> |
| 275 | </dependency> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 276 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 277 | <groupId>org.apache.asterix</groupId> |
Heri Ramampiaro | 75bb5d37 | 2015-09-29 10:56:45 +0200 | [diff] [blame] | 278 | <artifactId>asterix-external-data</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 279 | <version>0.8.8-SNAPSHOT</version> |
Heri Ramampiaro | 75bb5d37 | 2015-09-29 10:56:45 +0200 | [diff] [blame] | 280 | <type>zip</type> |
| 281 | <classifier>binary-assembly</classifier> |
| 282 | </dependency> |
| 283 | <dependency> |
| 284 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 285 | <artifactId>asterix-test-framework</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 286 | <version>0.8.8-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 287 | <scope>test</scope> |
| 288 | </dependency> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 289 | <dependency> |
| 290 | <groupId>org.apache.hadoop</groupId> |
| 291 | <artifactId>hadoop-common</artifactId> |
| 292 | <version>${hadoop.version}</version> |
| 293 | <scope>test</scope> |
| 294 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 295 | </dependencies> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 296 | </project> |