Skip to content

Commit 8637547

Browse files
committed
Disable embedded server integration tests on Java 9
See gh-10455
1 parent 8f8b137 commit 8637547

File tree

1 file changed

+22
-0
lines changed
  • spring-boot-integration-tests/spring-boot-integration-tests-embedded-servlet-container

1 file changed

+22
-0
lines changed

spring-boot-integration-tests/spring-boot-integration-tests-embedded-servlet-container/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,26 @@
6363
</plugin>
6464
</plugins>
6565
</build>
66+
<profiles>
67+
<profile>
68+
<id>java9</id>
69+
<activation>
70+
<jdk>9</jdk>
71+
</activation>
72+
<build>
73+
<plugins>
74+
<plugin>
75+
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-surefire-plugin</artifactId>
77+
<configuration>
78+
<excludes>
79+
<exclude>**/EmbeddedServletContainerJarDevelopmentIntegrationTests.java</exclude>
80+
<exclude>**/EmbeddedServletContainerWarDevelopmentIntegrationTests.java</exclude>
81+
</excludes>
82+
</configuration>
83+
</plugin>
84+
</plugins>
85+
</build>
86+
</profile>
87+
</profiles>
6688
</project>

0 commit comments

Comments
 (0)