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