spring-boot-deployment-test-wildfly
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-deployment-test-wildfly</artifactId> <version>1.5.7.RELEASE</version> </dependency>
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-deployment-tests</artifactId> <version>1.5.7.RELEASE</version> </parent> <artifactId>spring-boot-deployment-test-wildfly</artifactId> <packaging>war</packaging> <name>Spring Boot WildFly Deployment Test</name> <description>Spring Boot WildFly Deployment Test</description> <url>http://projects.spring.io/spring-boot/</url> <organization> <name>Pivotal Software, Inc.</name> <url>http://www.spring.io</url> </organization> <properties> <main.basedir>${basedir}/../..</main.basedir> <wildfly.version>9.0.2.Final</wildfly.version> <cargo.container.id>wildfly9x</cargo.container.id> <cargo.container.url>http://download.jboss.org/wildfly/${wildfly.version}/wildfly-${wildfly.version}.zip </cargo.container.url> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>reserve-network-port</id> <goals> <goal>reserve-network-port</goal> </goals> <phase>process-resources</phase> <configuration> <portNames> <portName>appserver.port</portName> <portName>appserver.ajp.port</portName> <portName>appserver.transaction.port</portName> </portNames> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <configuration> <configuration> <properties> <cargo.servlet.port>${appserver.port}</cargo.servlet.port> <cargo.jboss.ajp.port>${appserver.ajp.port}</cargo.jboss.ajp.port> <cargo.jboss.transaction.statusManager.port> ${appserver.transaction.port} </cargo.jboss.transaction.statusManager.port> <cargo.jboss.configuration>standalone-full</cargo.jboss.configuration> </properties> </configuration> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <systemPropertyVariables> <port>${appserver.port}</port> </systemPropertyVariables> </configuration> </plugin> </plugins> </build> </project>