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> |
Ian Maxon | ab556d1 | 2016-02-02 18:18:05 -0800 | [diff] [blame] | 22 | <artifactId>apache-asterixdb</artifactId> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 23 | <groupId>org.apache.asterix</groupId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 24 | <version>0.8.9-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> |
Michael Blow | fc64482 | 2016-03-16 10:21:24 -0400 | [diff] [blame] | 33 | <jacocoArgLine/> |
Ian Maxon | 6e5f18e | 2015-11-24 18:02:48 -0800 | [diff] [blame] | 34 | <appendedResourcesDirectory>${basedir}/src/main/appended-resources</appendedResourcesDirectory> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 35 | </properties> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 36 | |
Ian | 4a816dc | 2014-11-26 15:46:32 -0800 | [diff] [blame] | 37 | <licenses> |
| 38 | <license> |
| 39 | <name>Apache License, Version 2.0</name> |
| 40 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 41 | <distribution>repo</distribution> |
| 42 | <comments>A business-friendly OSS license</comments> |
| 43 | </license> |
| 44 | </licenses> |
| 45 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 46 | <build> |
| 47 | <plugins> |
| 48 | <plugin> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 49 | <groupId>org.jvnet.jaxb2.maven2</groupId> |
| 50 | <artifactId>maven-jaxb2-plugin</artifactId> |
Till Westmann | 6212c90 | 2014-07-30 15:44:59 -0700 | [diff] [blame] | 51 | <version>0.9.0</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 52 | <executions> |
| 53 | <execution> |
| 54 | <id>configuration</id> |
| 55 | <goals> |
| 56 | <goal>generate</goal> |
| 57 | </goals> |
| 58 | <configuration> |
| 59 | <args> |
| 60 | <arg>-Xsetters</arg> |
| 61 | <arg>-Xvalue-constructor</arg> |
| 62 | </args> |
| 63 | <plugins> |
| 64 | <plugin> |
| 65 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 66 | <artifactId>jaxb2-basics</artifactId> |
| 67 | <version>0.6.2</version> |
| 68 | </plugin> |
| 69 | <plugin> |
| 70 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 71 | <artifactId>jaxb2-value-constructor</artifactId> |
| 72 | <version>3.0</version> |
| 73 | </plugin> |
| 74 | </plugins> |
| 75 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 76 | <schemaIncludes> |
| 77 | <include>installer-conf.xsd</include> |
| 78 | </schemaIncludes> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 79 | <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 80 | <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory> |
| 81 | </configuration> |
| 82 | </execution> |
| 83 | <execution> |
| 84 | <id>cluster</id> |
| 85 | <goals> |
| 86 | <goal>generate</goal> |
| 87 | </goals> |
| 88 | <configuration> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 89 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 90 | <schemaIncludes> |
| 91 | <include>cluster.xsd</include> |
| 92 | </schemaIncludes> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 93 | <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 94 | <bindingDirectory>src/main/resources/schema</bindingDirectory> |
| 95 | <bindingIncludes> |
| 96 | <bindingInclude>jaxb-bindings.xjb</bindingInclude> |
| 97 | </bindingIncludes> |
| 98 | <generateDirectory>${project.build.directory}/generated-sources/cluster</generateDirectory> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | </plugin> |
| 103 | <plugin> |
| 104 | <artifactId>maven-assembly-plugin</artifactId> |
| 105 | <version>2.2-beta-5</version> |
| 106 | <executions> |
| 107 | <execution> |
| 108 | <configuration> |
| 109 | <descriptor>src/main/assembly/binary-assembly.xml</descriptor> |
| 110 | </configuration> |
| 111 | <phase>package</phase> |
| 112 | <goals> |
| 113 | <goal>attached</goal> |
| 114 | </goals> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | <plugin> |
| 119 | <groupId>org.apache.maven.plugins</groupId> |
| 120 | <artifactId>maven-failsafe-plugin</artifactId> |
| 121 | <version>2.6</version> |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 122 | <configuration> |
| 123 | <runOrder>alphabetical</runOrder> |
| 124 | <forkMode>pertest</forkMode> |
Young-Seok | 56a41e7 | 2013-12-17 17:22:33 -0800 | [diff] [blame] | 125 | <excludes> |
Chris Hillery | ed826aa | 2014-03-21 22:45:41 -0700 | [diff] [blame] | 126 | <exclude>${failsafe.test.excludes}</exclude> |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 127 | <exclude>${cluster.test.excludes}</exclude> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 128 | <exclude>${cluster.extest.excludes}</exclude> |
Murtadha Hubail | 8fc8bf8 | 2016-01-23 22:26:59 -0800 | [diff] [blame] | 129 | <exclude>${replication.test.excludes}</exclude> |
Young-Seok | 56a41e7 | 2013-12-17 17:22:33 -0800 | [diff] [blame] | 130 | </excludes> |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 131 | </configuration> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 132 | <executions> |
| 133 | <execution> |
| 134 | <goals> |
| 135 | <goal>integration-test</goal> |
| 136 | <goal>verify</goal> |
| 137 | </goals> |
| 138 | </execution> |
| 139 | </executions> |
| 140 | </plugin> |
| 141 | </plugins> |
| 142 | </build> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 143 | |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 144 | |
| 145 | <profiles> |
| 146 | <profile> |
| 147 | <id>cluster-tests</id> |
| 148 | <activation> |
| 149 | <activeByDefault>false</activeByDefault> |
| 150 | <property> |
| 151 | <name>clusterTest</name> |
| 152 | <value>true</value> |
| 153 | </property> |
| 154 | </activation> |
| 155 | <build> |
| 156 | <plugins> |
| 157 | <plugin> |
| 158 | <groupId>net.ju-n.maven.plugins</groupId> |
| 159 | <artifactId>vagrant-maven-plugin</artifactId> |
| 160 | <version>1.1.0-SNAPSHOT</version> |
| 161 | <executions> |
| 162 | |
| 163 | <!-- Before tests: import box, start VM --> |
| 164 | <execution> |
| 165 | <id>setup-and-start-vagrant-vm</id> |
| 166 | <phase>pre-integration-test</phase> |
| 167 | <goals> |
| 168 | <goal>up</goal> |
| 169 | </goals> |
| 170 | <configuration> |
| 171 | <box>chef/centos-6.5</box> |
| 172 | <url>https://vagrantcloud.com/chef/centos-6.5</url> |
| 173 | <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome> |
| 174 | </configuration> |
| 175 | </execution> |
| 176 | |
| 177 | <!-- After tests: shut down, destroy VM --> |
| 178 | <execution> |
| 179 | <id>destroy-vagrant-vm</id> |
| 180 | <phase>post-integration-test</phase> |
| 181 | <goals> |
| 182 | <goal>destroy</goal> |
| 183 | </goals> |
| 184 | <configuration> |
| 185 | <box>chef/centos-6.5</box> |
| 186 | <url>https://vagrantcloud.com/chef/centos-6.5</url> |
| 187 | <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome> |
| 188 | </configuration> |
| 189 | </execution> |
| 190 | </executions> |
| 191 | </plugin> |
| 192 | <plugin> |
| 193 | <groupId>org.apache.maven.plugins</groupId> |
| 194 | <artifactId>maven-failsafe-plugin</artifactId> |
| 195 | <version>2.6</version> |
| 196 | <configuration> |
| 197 | <runOrder>alphabetical</runOrder> |
| 198 | <forkMode>pertest</forkMode> |
| 199 | <excludes> |
| 200 | <exclude>${failsafe.test.excludes}</exclude> |
Murtadha Hubail | 8fc8bf8 | 2016-01-23 22:26:59 -0800 | [diff] [blame] | 201 | <exclude>${cluster.test.excludes}</exclude> |
| 202 | <exclude>${cluster.extest.excludes}</exclude> |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 203 | </excludes> |
| 204 | </configuration> |
| 205 | <executions> |
| 206 | <execution> |
| 207 | <goals> |
| 208 | <goal>integration-test</goal> |
| 209 | <goal>verify</goal> |
| 210 | </goals> |
| 211 | </execution> |
| 212 | </executions> |
| 213 | </plugin> |
| 214 | </plugins> |
| 215 | </build> |
| 216 | </profile> |
| 217 | </profiles> |
| 218 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 219 | <dependencies> |
| 220 | <dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 221 | <groupId>args4j</groupId> |
| 222 | <artifactId>args4j</artifactId> |
| 223 | <version>2.0.12</version> |
| 224 | <type>jar</type> |
| 225 | <scope>compile</scope> |
| 226 | </dependency> |
| 227 | <dependency> |
| 228 | <groupId>org.apache.zookeeper</groupId> |
| 229 | <artifactId>zookeeper</artifactId> |
| 230 | <version>3.4.5</version> |
| 231 | <exclusions> |
| 232 | <exclusion> |
| 233 | <groupId>com.sun.jmx</groupId> |
| 234 | <artifactId>jmxri</artifactId> |
| 235 | </exclusion> |
| 236 | <exclusion> |
| 237 | <groupId>com.sun.jdmk</groupId> |
| 238 | <artifactId>jmxtools</artifactId> |
| 239 | </exclusion> |
| 240 | <exclusion> |
| 241 | <groupId>javax.jms</groupId> |
| 242 | <artifactId>jms</artifactId> |
| 243 | </exclusion> |
| 244 | </exclusions> |
| 245 | </dependency> |
| 246 | <dependency> |
| 247 | <groupId>commons-io</groupId> |
| 248 | <artifactId>commons-io</artifactId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 249 | </dependency> |
| 250 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 251 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 252 | <artifactId>asterix-events</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 253 | <version>0.8.9-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 254 | <type>jar</type> |
| 255 | <scope>compile</scope> |
| 256 | </dependency> |
| 257 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 258 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 259 | <artifactId>asterix-common</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 260 | <version>0.8.9-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 261 | <type>test-jar</type> |
| 262 | <scope>test</scope> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 263 | </dependency> |
Abdullah Alamoudi | 5a78ca0 | 2015-11-19 09:23:27 -0800 | [diff] [blame] | 264 | <dependency> |
| 265 | <groupId>org.apache.asterix</groupId> |
| 266 | <artifactId>asterix-app</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 267 | <version>0.8.9-SNAPSHOT</version> |
Abdullah Alamoudi | 5a78ca0 | 2015-11-19 09:23:27 -0800 | [diff] [blame] | 268 | <type>test-jar</type> |
| 269 | <scope>test</scope> |
| 270 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 271 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 272 | <groupId>org.apache.asterix</groupId> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 273 | <artifactId>asterix-app</artifactId> |
Ian Maxon | 3da9d06 | 2016-03-16 17:05:31 -0700 | [diff] [blame] | 274 | <version>0.8.9-SNAPSHOT</version> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 275 | <type>test-jar</type> |
| 276 | <scope>test</scope> |
| 277 | </dependency> |
| 278 | <dependency> |
| 279 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 280 | <artifactId>asterix-server</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 281 | <version>0.8.9-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 282 | <type>zip</type> |
| 283 | <classifier>binary-assembly</classifier> |
| 284 | </dependency> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 285 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 286 | <groupId>org.apache.asterix</groupId> |
Heri Ramampiaro | 75bb5d37 | 2015-09-29 10:56:45 +0200 | [diff] [blame] | 287 | <artifactId>asterix-external-data</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 288 | <version>0.8.9-SNAPSHOT</version> |
Heri Ramampiaro | 75bb5d37 | 2015-09-29 10:56:45 +0200 | [diff] [blame] | 289 | <type>zip</type> |
| 290 | <classifier>binary-assembly</classifier> |
| 291 | </dependency> |
| 292 | <dependency> |
| 293 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 294 | <artifactId>asterix-test-framework</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 295 | <version>0.8.9-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 296 | <scope>test</scope> |
| 297 | </dependency> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 298 | <dependency> |
| 299 | <groupId>org.apache.hadoop</groupId> |
| 300 | <artifactId>hadoop-common</artifactId> |
| 301 | <version>${hadoop.version}</version> |
| 302 | <scope>test</scope> |
| 303 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 304 | </dependencies> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 305 | </project> |