Browse Source

Polish deployment tests

pull/2081/head
Phillip Webb 11 years ago
parent
commit
90e9187b80
  1. 1
      spring-boot-deployment-tests/spring-boot-deployment-test-tomcat/pom.xml
  2. 5
      spring-boot-deployment-tests/spring-boot-deployment-test-tomcat/src/test/java/sample/SampleTomcatDeployApplicationIT.java
  3. 1
      spring-boot-deployment-tests/spring-boot-deployment-test-tomee/pom.xml
  4. 5
      spring-boot-deployment-tests/spring-boot-deployment-test-tomee/src/test/java/sample/SampleTomEEDeployApplicationIT.java
  5. 1
      spring-boot-deployment-tests/spring-boot-deployment-test-wildfly/pom.xml
  6. 5
      spring-boot-deployment-tests/spring-boot-deployment-test-wildfly/src/test/java/sample/SampleWildFlyDeployApplicationIT.java
  7. 5
      spring-boot-parent/pom.xml

1
spring-boot-deployment-tests/spring-boot-deployment-test-tomcat/pom.xml

@ -60,7 +60,6 @@
<plugin> <plugin>
<groupId>org.codehaus.cargo</groupId> <groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId> <artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.11</version>
<configuration> <configuration>
<container> <container>
<containerId>tomcat8x</containerId> <containerId>tomcat8x</containerId>

5
spring-boot-deployment-tests/spring-boot-deployment-test-tomee/src/test/java/sample/SampleWildFlyApplicationTestIT.java → spring-boot-deployment-tests/spring-boot-deployment-test-tomcat/src/test/java/sample/SampleTomcatDeployApplicationIT.java

@ -23,7 +23,10 @@ import org.springframework.http.ResponseEntity;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
public class SampleWildFlyApplicationTestIT { /**
* Integration Tests for {@link SampleTomcatDeployApplication}.
*/
public class SampleTomcatDeployApplicationIT {
private int port = Integer.valueOf(System.getProperty("port")); private int port = Integer.valueOf(System.getProperty("port"));

1
spring-boot-deployment-tests/spring-boot-deployment-test-tomee/pom.xml

@ -65,7 +65,6 @@
<plugin> <plugin>
<groupId>org.codehaus.cargo</groupId> <groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId> <artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.11</version>
<configuration> <configuration>
<container> <container>
<containerId>tomee1x</containerId> <containerId>tomee1x</containerId>

5
spring-boot-deployment-tests/spring-boot-deployment-test-tomcat/src/test/java/sample/SampleWildFlyApplicationTestIT.java → spring-boot-deployment-tests/spring-boot-deployment-test-tomee/src/test/java/sample/SampleTomEEDeployApplicationIT.java

@ -23,7 +23,10 @@ import org.springframework.http.ResponseEntity;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
public class SampleWildFlyApplicationTestIT { /**
* Integration Tests for {@link SampleTomEEDeployApplication}.
*/
public class SampleTomEEDeployApplicationIT {
private int port = Integer.valueOf(System.getProperty("port")); private int port = Integer.valueOf(System.getProperty("port"));

1
spring-boot-deployment-tests/spring-boot-deployment-test-wildfly/pom.xml

@ -61,7 +61,6 @@
<plugin> <plugin>
<groupId>org.codehaus.cargo</groupId> <groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId> <artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.11</version>
<configuration> <configuration>
<container> <container>
<containerId>wildfly8x</containerId> <containerId>wildfly8x</containerId>

5
spring-boot-deployment-tests/spring-boot-deployment-test-wildfly/src/test/java/sample/SampleWildFlyApplicationTestIT.java → spring-boot-deployment-tests/spring-boot-deployment-test-wildfly/src/test/java/sample/SampleWildFlyDeployApplicationIT.java

@ -23,7 +23,10 @@ import org.springframework.http.ResponseEntity;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
public class SampleWildFlyApplicationTestIT { /**
* Integration Tests for {@link SampleWildFlyDeployApplication}.
*/
public class SampleWildFlyDeployApplicationIT {
private int port = Integer.valueOf(System.getProperty("port")); private int port = Integer.valueOf(System.getProperty("port"));

5
spring-boot-parent/pom.xml

@ -268,6 +268,11 @@
<artifactId>maven-site-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>
<version>3.4</version> <version>3.4</version>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.11</version>
</plugin>
<plugin> <plugin>
<groupId>org.codehaus.gmavenplus</groupId> <groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId> <artifactId>gmavenplus-plugin</artifactId>

Loading…
Cancel
Save