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> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 31 | </properties> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 32 | |
Ian | 4a816dc | 2014-11-26 15:46:32 -0800 | [diff] [blame] | 33 | <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 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 42 | <build> |
| 43 | <plugins> |
| 44 | <plugin> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 45 | <groupId>org.jvnet.jaxb2.maven2</groupId> |
| 46 | <artifactId>maven-jaxb2-plugin</artifactId> |
Till Westmann | 6212c90 | 2014-07-30 15:44:59 -0700 | [diff] [blame] | 47 | <version>0.9.0</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 48 | <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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 75 | <generatePackage>org.apache.asterix.installer.schema.conf</generatePackage> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 76 | <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> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 85 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 86 | <schemaIncludes> |
| 87 | <include>cluster.xsd</include> |
| 88 | </schemaIncludes> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 89 | <generatePackage>org.apache.asterix.installer.schema.cluster</generatePackage> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 90 | <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-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 118 | <configuration> |
| 119 | <runOrder>alphabetical</runOrder> |
| 120 | <forkMode>pertest</forkMode> |
Young-Seok | 56a41e7 | 2013-12-17 17:22:33 -0800 | [diff] [blame] | 121 | <excludes> |
Chris Hillery | ed826aa | 2014-03-21 22:45:41 -0700 | [diff] [blame] | 122 | <exclude>${failsafe.test.excludes}</exclude> |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 123 | <exclude>${cluster.test.excludes}</exclude> |
Young-Seok | 56a41e7 | 2013-12-17 17:22:33 -0800 | [diff] [blame] | 124 | </excludes> |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 125 | </configuration> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 126 | <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> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 137 | |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 138 | |
| 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 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 211 | <dependencies> |
| 212 | <dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 213 | <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> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 241 | </dependency> |
| 242 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 243 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 244 | <artifactId>asterix-events</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 245 | <version>0.8.8-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 246 | <type>jar</type> |
| 247 | <scope>compile</scope> |
| 248 | </dependency> |
| 249 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 250 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 251 | <artifactId>asterix-common</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 252 | <version>0.8.8-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 253 | <type>test-jar</type> |
| 254 | <scope>test</scope> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 255 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 256 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 257 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 258 | <artifactId>asterix-server</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 259 | <version>0.8.8-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 260 | <type>zip</type> |
| 261 | <classifier>binary-assembly</classifier> |
| 262 | </dependency> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 263 | <dependency> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 264 | <groupId>org.apache.asterix</groupId> |
Heri Ramampiaro | 75bb5d37 | 2015-09-29 10:56:45 +0200 | [diff] [blame] | 265 | <artifactId>asterix-external-data</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 266 | <version>0.8.8-SNAPSHOT</version> |
Heri Ramampiaro | 75bb5d37 | 2015-09-29 10:56:45 +0200 | [diff] [blame] | 267 | <type>zip</type> |
| 268 | <classifier>binary-assembly</classifier> |
| 269 | </dependency> |
| 270 | <dependency> |
| 271 | <groupId>org.apache.asterix</groupId> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 272 | <artifactId>asterix-test-framework</artifactId> |
Ian Maxon | 4e6a923 | 2015-10-05 12:46:37 -0700 | [diff] [blame] | 273 | <version>0.8.8-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 274 | <scope>test</scope> |
| 275 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 276 | </dependencies> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 277 | </project> |