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