|
|
|
@ -19,10 +19,60 @@
|
|
|
|
|
<properties>
|
|
|
|
|
<main.basedir>${basedir}/..</main.basedir>
|
|
|
|
|
<java.version>1.7</java.version>
|
|
|
|
|
|
|
|
|
|
<cargo.timeout>300000</cargo.timeout>
|
|
|
|
|
<cargo.container.download-dir>${user.home}/.cargo/installs</cargo.container.download-dir>
|
|
|
|
|
</properties>
|
|
|
|
|
<modules>
|
|
|
|
|
<module>spring-boot-deployment-test-tomee</module>
|
|
|
|
|
<module>spring-boot-deployment-test-tomcat</module>
|
|
|
|
|
<module>spring-boot-deployment-test-wildfly</module>
|
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<pluginManagement>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<container>
|
|
|
|
|
<containerId>${cargo.container.id}</containerId>
|
|
|
|
|
<timeout>${cargo.timeout}</timeout>
|
|
|
|
|
<zipUrlInstaller>
|
|
|
|
|
<url>${cargo.container.url}</url>
|
|
|
|
|
<downloadDir>${cargo.container.download-dir}</downloadDir>
|
|
|
|
|
</zipUrlInstaller>
|
|
|
|
|
</container>
|
|
|
|
|
<deployables>
|
|
|
|
|
<deployable>
|
|
|
|
|
<properties>
|
|
|
|
|
<context>/bootapp</context>
|
|
|
|
|
</properties>
|
|
|
|
|
<pingURL>http://localhost:${appserver.port}/bootapp</pingURL>
|
|
|
|
|
<pingTimeout>30000</pingTimeout>
|
|
|
|
|
</deployable>
|
|
|
|
|
</deployables>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>start-cargo</id>
|
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>start</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>stop-cargo</id>
|
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>stop</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</pluginManagement>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|
|
|
|
|