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> |
Ian Maxon | 6e5f18e | 2015-11-24 18:02:48 -0800 | [diff] [blame] | 33 | <appendedResourcesDirectory>${basedir}/src/main/appended-resources</appendedResourcesDirectory> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 34 | </properties> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 35 | |
Ian | 4a816dc | 2014-11-26 15:46:32 -0800 | [diff] [blame] | 36 | <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 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 45 | <build> |
| 46 | <plugins> |
| 47 | <plugin> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 48 | <groupId>org.jvnet.jaxb2.maven2</groupId> |
| 49 | <artifactId>maven-jaxb2-plugin</artifactId> |
Till Westmann | 6212c90 | 2014-07-30 15:44:59 -0700 | [diff] [blame] | 50 | <version>0.9.0</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 51 | <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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 78 | <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 79 | <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> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 88 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 89 | <schemaIncludes> |
| 90 | <include>cluster.xsd</include> |
| 91 | </schemaIncludes> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 92 | <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 93 | <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-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 121 | <configuration> |
| 122 | <runOrder>alphabetical</runOrder> |
| 123 | <forkMode>pertest</forkMode> |
Michael Blow | 79821df | 2016-03-18 23:39:16 -0400 | [diff] [blame] | 124 | <argLine>${coverageArgLine}</argLine> |
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> |
Abdullah Alamoudi | 30904b8 | 2016-03-22 19:25:10 +0300 | [diff] [blame] | 141 | <plugin> |
| 142 | <artifactId>maven-resources-plugin</artifactId> |
| 143 | <executions> |
| 144 | <execution> |
| 145 | <id>copy-external-library</id> |
| 146 | <phase>generate-resources</phase> |
| 147 | <goals> |
| 148 | <goal>copy-resources</goal> |
| 149 | </goals> |
| 150 | <configuration> |
| 151 | <outputDirectory>target/resources/externallib</outputDirectory> |
| 152 | <overwrite>true</overwrite> |
| 153 | <resources> |
| 154 | <resource> |
| 155 | <directory>../asterix-external-data/target</directory> |
| 156 | <includes> |
| 157 | <include>testlib-zip-binary-assembly.zip</include> |
| 158 | </includes> |
| 159 | </resource> |
| 160 | </resources> |
| 161 | </configuration> |
| 162 | </execution> |
| 163 | <execution> |
| 164 | <id>copy-test-data</id> |
| 165 | <phase>generate-resources</phase> |
| 166 | <goals> |
| 167 | <goal>copy-resources</goal> |
| 168 | </goals> |
| 169 | <configuration> |
| 170 | <outputDirectory>target/data</outputDirectory> |
| 171 | <overwrite>true</overwrite> |
| 172 | <resources> |
| 173 | <resource> |
| 174 | <directory>../asterix-external-data/src/test/resources</directory> |
| 175 | <includes> |
| 176 | <include>beer.csv</include> |
| 177 | </includes> |
| 178 | </resource> |
| 179 | <resource> |
| 180 | <directory>../asterix-app/data/external-parser</directory> |
| 181 | <includes> |
| 182 | <include>jobads.new</include> |
| 183 | </includes> |
| 184 | </resource> |
| 185 | </resources> |
| 186 | </configuration> |
| 187 | </execution> |
| 188 | </executions> |
| 189 | </plugin> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 190 | </plugins> |
Abdullah Alamoudi | 30904b8 | 2016-03-22 19:25:10 +0300 | [diff] [blame] | 191 | </build> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 192 | |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 193 | |
| 194 | <profiles> |
| 195 | <profile> |
| 196 | <id>cluster-tests</id> |
| 197 | <activation> |
| 198 | <activeByDefault>false</activeByDefault> |
| 199 | <property> |
| 200 | <name>clusterTest</name> |
| 201 | <value>true</value> |
| 202 | </property> |
| 203 | </activation> |
| 204 | <build> |
| 205 | <plugins> |
| 206 | <plugin> |
| 207 | <groupId>net.ju-n.maven.plugins</groupId> |
| 208 | <artifactId>vagrant-maven-plugin</artifactId> |
| 209 | <version>1.1.0-SNAPSHOT</version> |
| 210 | <executions> |
| 211 | |
| 212 | <!-- Before tests: import box, start VM --> |
| 213 | <execution> |
| 214 | <id>setup-and-start-vagrant-vm</id> |
| 215 | <phase>pre-integration-test</phase> |
| 216 | <goals> |
| 217 | <goal>up</goal> |
| 218 | </goals> |
| 219 | <configuration> |
| 220 | <box>chef/centos-6.5</box> |
| 221 | <url>https://vagrantcloud.com/chef/centos-6.5</url> |
| 222 | <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome> |
| 223 | </configuration> |
| 224 | </execution> |
| 225 | |
| 226 | <!-- After tests: shut down, destroy VM --> |
| 227 | <execution> |
| 228 | <id>destroy-vagrant-vm</id> |
| 229 | <phase>post-integration-test</phase> |
| 230 | <goals> |
| 231 | <goal>destroy</goal> |
| 232 | </goals> |
| 233 | <configuration> |
| 234 | <box>chef/centos-6.5</box> |
| 235 | <url>https://vagrantcloud.com/chef/centos-6.5</url> |
| 236 | <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome> |
| 237 | </configuration> |
| 238 | </execution> |
| 239 | </executions> |
| 240 | </plugin> |
| 241 | <plugin> |
| 242 | <groupId>org.apache.maven.plugins</groupId> |
| 243 | <artifactId>maven-failsafe-plugin</artifactId> |
| 244 | <version>2.6</version> |
| 245 | <configuration> |
| 246 | <runOrder>alphabetical</runOrder> |
| 247 | <forkMode>pertest</forkMode> |
| 248 | <excludes> |
| 249 | <exclude>${failsafe.test.excludes}</exclude> |
Murtadha Hubail | 8fc8bf8 | 2016-01-23 22:26:59 -0800 | [diff] [blame] | 250 | <exclude>${cluster.test.excludes}</exclude> |
| 251 | <exclude>${cluster.extest.excludes}</exclude> |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 252 | </excludes> |
| 253 | </configuration> |
| 254 | <executions> |
| 255 | <execution> |
| 256 | <goals> |
| 257 | <goal>integration-test</goal> |
| 258 | <goal>verify</goal> |
| 259 | </goals> |
| 260 | </execution> |
| 261 | </executions> |
| 262 | </plugin> |
| 263 | </plugins> |
| 264 | </build> |
| 265 | </profile> |
| 266 | </profiles> |
| 267 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 268 | <dependencies> |
| 269 | <dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 270 | <groupId>args4j</groupId> |
| 271 | <artifactId>args4j</artifactId> |
| 272 | <version>2.0.12</version> |
| 273 | <type>jar</type> |
| 274 | <scope>compile</scope> |
| 275 | </dependency> |
| 276 | <dependency> |
| 277 | <groupId>org.apache.zookeeper</groupId> |
| 278 | <artifactId>zookeeper</artifactId> |
| 279 | <version>3.4.5</version> |
| 280 | <exclusions> |
| 281 | <exclusion> |
| 282 | <groupId>com.sun.jmx</groupId> |
| 283 | <artifactId>jmxri</artifactId> |
| 284 | </exclusion> |
| 285 | <exclusion> |
| 286 | <groupId>com.sun.jdmk</groupId> |
| 287 | <artifactId>jmxtools</artifactId> |
| 288 | </exclusion> |
| 289 | <exclusion> |
| 290 | <groupId>javax.jms</groupId> |
| 291 | <artifactId>jms</artifactId> |
| 292 | </exclusion> |
| 293 | </exclusions> |
| 294 | </dependency> |
| 295 | <dependency> |
| 296 | <groupId>commons-io</groupId> |
| 297 | <artifactId>commons-io</artifactId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 298 | </dependency> |
| 299 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 300 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 301 | <artifactId>asterix-events</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 302 | <version>0.8.9-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 303 | <type>jar</type> |
| 304 | <scope>compile</scope> |
| 305 | </dependency> |
| 306 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 307 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 308 | <artifactId>asterix-common</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 309 | <version>0.8.9-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 310 | <type>test-jar</type> |
| 311 | <scope>test</scope> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 312 | </dependency> |
Abdullah Alamoudi | 5a78ca0 | 2015-11-19 09:23:27 -0800 | [diff] [blame] | 313 | <dependency> |
| 314 | <groupId>org.apache.asterix</groupId> |
| 315 | <artifactId>asterix-app</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 316 | <version>0.8.9-SNAPSHOT</version> |
Abdullah Alamoudi | 5a78ca0 | 2015-11-19 09:23:27 -0800 | [diff] [blame] | 317 | <type>test-jar</type> |
| 318 | <scope>test</scope> |
| 319 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 320 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 321 | <groupId>org.apache.asterix</groupId> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 322 | <artifactId>asterix-app</artifactId> |
Ian Maxon | 3da9d06 | 2016-03-16 17:05:31 -0700 | [diff] [blame] | 323 | <version>0.8.9-SNAPSHOT</version> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 324 | <type>test-jar</type> |
| 325 | <scope>test</scope> |
| 326 | </dependency> |
| 327 | <dependency> |
| 328 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 329 | <artifactId>asterix-server</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 330 | <version>0.8.9-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 331 | <type>zip</type> |
| 332 | <classifier>binary-assembly</classifier> |
| 333 | </dependency> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 334 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 335 | <groupId>org.apache.asterix</groupId> |
Heri Ramampiaro | 75bb5d37 | 2015-09-29 10:56:45 +0200 | [diff] [blame] | 336 | <artifactId>asterix-external-data</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 337 | <version>0.8.9-SNAPSHOT</version> |
Heri Ramampiaro | 75bb5d37 | 2015-09-29 10:56:45 +0200 | [diff] [blame] | 338 | <type>zip</type> |
| 339 | <classifier>binary-assembly</classifier> |
| 340 | </dependency> |
| 341 | <dependency> |
| 342 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 343 | <artifactId>asterix-test-framework</artifactId> |
Ian Maxon | c1889c0 | 2016-02-10 15:26:24 -0800 | [diff] [blame] | 344 | <version>0.8.9-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 345 | <scope>test</scope> |
| 346 | </dependency> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 347 | <dependency> |
| 348 | <groupId>org.apache.hadoop</groupId> |
| 349 | <artifactId>hadoop-common</artifactId> |
| 350 | <version>${hadoop.version}</version> |
| 351 | <scope>test</scope> |
| 352 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 353 | </dependencies> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 354 | </project> |