You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.7 KiB
85 lines
2.7 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
<modelVersion>4.0.0</modelVersion> |
|
<parent> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-tests</artifactId> |
|
<version>${revision}</version> |
|
</parent> |
|
<artifactId>spring-boot-deployment-tests</artifactId> |
|
<packaging>pom</packaging> |
|
<name>Spring Boot Deployment Tests</name> |
|
<description>Spring Boot Deployment Tests</description> |
|
<properties> |
|
<main.basedir>${basedir}/../..</main.basedir> |
|
<java.version>1.8</java.version> |
|
<cargo.timeout>1200000</cargo.timeout> |
|
<cargo.container.download-dir>${settings.localRepository}/.cache/cargo/installs</cargo.container.download-dir> |
|
</properties> |
|
<modules> |
|
<module>spring-boot-deployment-test-glassfish</module> |
|
<module>spring-boot-deployment-test-tomee</module> |
|
<module>spring-boot-deployment-test-tomcat</module> |
|
<module>spring-boot-deployment-test-wildfly</module> |
|
<module>spring-boot-deployment-test-wlp</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> |
|
<systemProperties> |
|
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> |
|
<java.net.preferIPv4Addresses>true</java.net.preferIPv4Addresses> |
|
</systemProperties> |
|
</container> |
|
<deployables> |
|
<deployable> |
|
<properties> |
|
<context>/bootapp</context> |
|
</properties> |
|
<pingURL>http://localhost:${appserver.port}/bootapp</pingURL> |
|
<pingTimeout>60000</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> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-install-plugin</artifactId> |
|
<configuration> |
|
<skip>true</skip> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</project>
|
|
|