Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ! Copyright 2009-2013 by The Regents of the University of California |
| 3 | ! Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | ! you may not use this file except in compliance with the License. |
| 5 | ! you may obtain a copy of the License from |
| 6 | ! |
| 7 | ! http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | ! |
| 9 | ! Unless required by applicable law or agreed to in writing, software |
| 10 | ! distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | ! See the License for the specific language governing permissions and |
| 13 | ! limitations under the License. |
| 14 | !--> |
Vinayak Borkar | 9cca81b | 2013-12-11 21:53:45 -0800 | [diff] [blame] | 15 | <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] | 16 | <modelVersion>4.0.0</modelVersion> |
| 17 | <parent> |
| 18 | <artifactId>asterix</artifactId> |
| 19 | <groupId>edu.uci.ics.asterix</groupId> |
Ian Maxon | f2ed8bc | 2014-07-11 23:50:44 -0700 | [diff] [blame] | 20 | <version>0.8.7-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 21 | </parent> |
| 22 | <artifactId>asterix-installer</artifactId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 23 | <properties> |
| 24 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Chris Hillery | ed826aa | 2014-03-21 22:45:41 -0700 | [diff] [blame] | 25 | <failsafe.test.excludes>**/DmlRecoveryIT.java</failsafe.test.excludes> |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 26 | <cluster.test.excludes>**/AsterixClusterLifeCycleIT.java</cluster.test.excludes> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 27 | </properties> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 28 | |
Ian | 4a816dc | 2014-11-26 15:46:32 -0800 | [diff] [blame^] | 29 | <licenses> |
| 30 | <license> |
| 31 | <name>Apache License, Version 2.0</name> |
| 32 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 33 | <distribution>repo</distribution> |
| 34 | <comments>A business-friendly OSS license</comments> |
| 35 | </license> |
| 36 | </licenses> |
| 37 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 38 | <build> |
| 39 | <plugins> |
| 40 | <plugin> |
| 41 | <groupId>org.apache.maven.plugins</groupId> |
| 42 | <artifactId>maven-compiler-plugin</artifactId> |
Till Westmann | 6212c90 | 2014-07-30 15:44:59 -0700 | [diff] [blame] | 43 | <version>2.3.2</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 44 | <configuration> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 45 | <source>1.7</source> |
| 46 | <target>1.7</target> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 47 | </configuration> |
| 48 | </plugin> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 49 | <plugin> |
| 50 | <groupId>org.jvnet.jaxb2.maven2</groupId> |
| 51 | <artifactId>maven-jaxb2-plugin</artifactId> |
Till Westmann | 6212c90 | 2014-07-30 15:44:59 -0700 | [diff] [blame] | 52 | <version>0.9.0</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 53 | <executions> |
| 54 | <execution> |
| 55 | <id>configuration</id> |
| 56 | <goals> |
| 57 | <goal>generate</goal> |
| 58 | </goals> |
| 59 | <configuration> |
| 60 | <args> |
| 61 | <arg>-Xsetters</arg> |
| 62 | <arg>-Xvalue-constructor</arg> |
| 63 | </args> |
| 64 | <plugins> |
| 65 | <plugin> |
| 66 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 67 | <artifactId>jaxb2-basics</artifactId> |
| 68 | <version>0.6.2</version> |
| 69 | </plugin> |
| 70 | <plugin> |
| 71 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 72 | <artifactId>jaxb2-value-constructor</artifactId> |
| 73 | <version>3.0</version> |
| 74 | </plugin> |
| 75 | </plugins> |
| 76 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 77 | <schemaIncludes> |
| 78 | <include>installer-conf.xsd</include> |
| 79 | </schemaIncludes> |
| 80 | <generatePackage>edu.uci.ics.asterix.installer.schema.conf</generatePackage> |
| 81 | <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory> |
| 82 | </configuration> |
| 83 | </execution> |
| 84 | <execution> |
| 85 | <id>cluster</id> |
| 86 | <goals> |
| 87 | <goal>generate</goal> |
| 88 | </goals> |
| 89 | <configuration> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 90 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 91 | <schemaIncludes> |
| 92 | <include>cluster.xsd</include> |
| 93 | </schemaIncludes> |
| 94 | <generatePackage>edu.uci.ics.asterix.installer.schema.cluster</generatePackage> |
| 95 | <bindingDirectory>src/main/resources/schema</bindingDirectory> |
| 96 | <bindingIncludes> |
| 97 | <bindingInclude>jaxb-bindings.xjb</bindingInclude> |
| 98 | </bindingIncludes> |
| 99 | <generateDirectory>${project.build.directory}/generated-sources/cluster</generateDirectory> |
| 100 | </configuration> |
| 101 | </execution> |
| 102 | </executions> |
| 103 | </plugin> |
| 104 | <plugin> |
| 105 | <artifactId>maven-assembly-plugin</artifactId> |
| 106 | <version>2.2-beta-5</version> |
| 107 | <executions> |
| 108 | <execution> |
| 109 | <configuration> |
| 110 | <descriptor>src/main/assembly/binary-assembly.xml</descriptor> |
| 111 | </configuration> |
| 112 | <phase>package</phase> |
| 113 | <goals> |
| 114 | <goal>attached</goal> |
| 115 | </goals> |
| 116 | </execution> |
| 117 | </executions> |
| 118 | </plugin> |
| 119 | <plugin> |
| 120 | <groupId>org.apache.maven.plugins</groupId> |
| 121 | <artifactId>maven-failsafe-plugin</artifactId> |
| 122 | <version>2.6</version> |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 123 | <configuration> |
| 124 | <runOrder>alphabetical</runOrder> |
| 125 | <forkMode>pertest</forkMode> |
Young-Seok | 56a41e7 | 2013-12-17 17:22:33 -0800 | [diff] [blame] | 126 | <excludes> |
Chris Hillery | ed826aa | 2014-03-21 22:45:41 -0700 | [diff] [blame] | 127 | <exclude>${failsafe.test.excludes}</exclude> |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 128 | <exclude>${cluster.test.excludes}</exclude> |
Young-Seok | 56a41e7 | 2013-12-17 17:22:33 -0800 | [diff] [blame] | 129 | </excludes> |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 130 | </configuration> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 131 | <executions> |
| 132 | <execution> |
| 133 | <goals> |
| 134 | <goal>integration-test</goal> |
| 135 | <goal>verify</goal> |
| 136 | </goals> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin> |
| 140 | </plugins> |
| 141 | </build> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 142 | |
Ian | f869bc3 | 2014-05-13 17:11:48 -0700 | [diff] [blame] | 143 | |
| 144 | <profiles> |
| 145 | <profile> |
| 146 | <id>cluster-tests</id> |
| 147 | <activation> |
| 148 | <activeByDefault>false</activeByDefault> |
| 149 | <property> |
| 150 | <name>clusterTest</name> |
| 151 | <value>true</value> |
| 152 | </property> |
| 153 | </activation> |
| 154 | <build> |
| 155 | <plugins> |
| 156 | <plugin> |
| 157 | <groupId>net.ju-n.maven.plugins</groupId> |
| 158 | <artifactId>vagrant-maven-plugin</artifactId> |
| 159 | <version>1.1.0-SNAPSHOT</version> |
| 160 | <executions> |
| 161 | |
| 162 | <!-- Before tests: import box, start VM --> |
| 163 | <execution> |
| 164 | <id>setup-and-start-vagrant-vm</id> |
| 165 | <phase>pre-integration-test</phase> |
| 166 | <goals> |
| 167 | <goal>up</goal> |
| 168 | </goals> |
| 169 | <configuration> |
| 170 | <box>chef/centos-6.5</box> |
| 171 | <url>https://vagrantcloud.com/chef/centos-6.5</url> |
| 172 | <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome> |
| 173 | </configuration> |
| 174 | </execution> |
| 175 | |
| 176 | <!-- After tests: shut down, destroy VM --> |
| 177 | <execution> |
| 178 | <id>destroy-vagrant-vm</id> |
| 179 | <phase>post-integration-test</phase> |
| 180 | <goals> |
| 181 | <goal>destroy</goal> |
| 182 | </goals> |
| 183 | <configuration> |
| 184 | <box>chef/centos-6.5</box> |
| 185 | <url>https://vagrantcloud.com/chef/centos-6.5</url> |
| 186 | <vagrantHome>${project.basedir}/src/test/resources/clusterts</vagrantHome> |
| 187 | </configuration> |
| 188 | </execution> |
| 189 | </executions> |
| 190 | </plugin> |
| 191 | <plugin> |
| 192 | <groupId>org.apache.maven.plugins</groupId> |
| 193 | <artifactId>maven-failsafe-plugin</artifactId> |
| 194 | <version>2.6</version> |
| 195 | <configuration> |
| 196 | <runOrder>alphabetical</runOrder> |
| 197 | <forkMode>pertest</forkMode> |
| 198 | <excludes> |
| 199 | <exclude>${failsafe.test.excludes}</exclude> |
| 200 | </excludes> |
| 201 | </configuration> |
| 202 | <executions> |
| 203 | <execution> |
| 204 | <goals> |
| 205 | <goal>integration-test</goal> |
| 206 | <goal>verify</goal> |
| 207 | </goals> |
| 208 | </execution> |
| 209 | </executions> |
| 210 | </plugin> |
| 211 | </plugins> |
| 212 | </build> |
| 213 | </profile> |
| 214 | </profiles> |
| 215 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 216 | <dependencies> |
| 217 | <dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 218 | <groupId>args4j</groupId> |
| 219 | <artifactId>args4j</artifactId> |
| 220 | <version>2.0.12</version> |
| 221 | <type>jar</type> |
| 222 | <scope>compile</scope> |
| 223 | </dependency> |
| 224 | <dependency> |
| 225 | <groupId>org.apache.zookeeper</groupId> |
| 226 | <artifactId>zookeeper</artifactId> |
| 227 | <version>3.4.5</version> |
| 228 | <exclusions> |
| 229 | <exclusion> |
| 230 | <groupId>com.sun.jmx</groupId> |
| 231 | <artifactId>jmxri</artifactId> |
| 232 | </exclusion> |
| 233 | <exclusion> |
| 234 | <groupId>com.sun.jdmk</groupId> |
| 235 | <artifactId>jmxtools</artifactId> |
| 236 | </exclusion> |
| 237 | <exclusion> |
| 238 | <groupId>javax.jms</groupId> |
| 239 | <artifactId>jms</artifactId> |
| 240 | </exclusion> |
| 241 | </exclusions> |
| 242 | </dependency> |
| 243 | <dependency> |
| 244 | <groupId>commons-io</groupId> |
| 245 | <artifactId>commons-io</artifactId> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 246 | </dependency> |
| 247 | <dependency> |
| 248 | <groupId>edu.uci.ics.asterix</groupId> |
| 249 | <artifactId>asterix-events</artifactId> |
Ian Maxon | f2ed8bc | 2014-07-11 23:50:44 -0700 | [diff] [blame] | 250 | <version>0.8.7-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 251 | <type>jar</type> |
| 252 | <scope>compile</scope> |
| 253 | </dependency> |
| 254 | <dependency> |
| 255 | <groupId>edu.uci.ics.asterix</groupId> |
| 256 | <artifactId>asterix-common</artifactId> |
Ian Maxon | f2ed8bc | 2014-07-11 23:50:44 -0700 | [diff] [blame] | 257 | <version>0.8.7-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 258 | <type>test-jar</type> |
| 259 | <scope>test</scope> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 260 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 261 | <dependency> |
| 262 | <groupId>edu.uci.ics.asterix</groupId> |
| 263 | <artifactId>asterix-server</artifactId> |
Ian Maxon | f2ed8bc | 2014-07-11 23:50:44 -0700 | [diff] [blame] | 264 | <version>0.8.7-SNAPSHOT</version> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 265 | <type>zip</type> |
| 266 | <classifier>binary-assembly</classifier> |
| 267 | </dependency> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 268 | <dependency> |
| 269 | <groupId>edu.uci.ics.asterix</groupId> |
| 270 | <artifactId>asterix-test-framework</artifactId> |
Ian Maxon | f2ed8bc | 2014-07-11 23:50:44 -0700 | [diff] [blame] | 271 | <version>0.8.7-SNAPSHOT</version> |
ramangrover29 | 8be29bd | 2013-06-11 08:59:44 -0700 | [diff] [blame] | 272 | <scope>test</scope> |
| 273 | </dependency> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 274 | </dependencies> |
vinayakb | 5ee049d | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 275 | </project> |