Skip to content

Commit 3543899

Browse files
committed
Move tomcat websocket dependency
Relocate tomcat-embed-websocket from spring-boot-starter-websocket to spring-boot-starter-tomcat. Fixes gh-1847
1 parent 2f17c38 commit 3543899

File tree

3 files changed

+6
-5
lines changed
  • spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle
  • spring-boot-starters

3 files changed

+6
-5
lines changed

spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/WarPackagingTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public class WarPackagingTests {
4848

4949
private static final Set<String> TOMCAT_EXPECTED_IN_WEB_INF_LIB_PROVIDED = new HashSet<String>(
5050
Arrays.asList("spring-boot-starter-tomcat-", "tomcat-embed-core-",
51-
"tomcat-embed-el-", "tomcat-embed-logging-juli-"));
51+
"tomcat-embed-el-", "tomcat-embed-logging-juli-",
52+
"tomcat-embed-websocket-"));
5253

5354
private static final Set<String> JETTY_EXPECTED_IN_WEB_INF_LIB_PROVIDED = new HashSet<String>(
5455
Arrays.asList("spring-boot-starter-jetty-", "jetty-util-", "jetty-xml-",

spring-boot-starters/spring-boot-starter-tomcat/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@
3030
<groupId>org.apache.tomcat.embed</groupId>
3131
<artifactId>tomcat-embed-logging-juli</artifactId>
3232
</dependency>
33+
<dependency>
34+
<groupId>org.apache.tomcat.embed</groupId>
35+
<artifactId>tomcat-embed-websocket</artifactId>
36+
</dependency>
3337
</dependencies>
3438
</project>

spring-boot-starters/spring-boot-starter-websocket/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,5 @@
4040
<groupId>org.springframework</groupId>
4141
<artifactId>spring-websocket</artifactId>
4242
</dependency>
43-
<dependency>
44-
<groupId>org.apache.tomcat.embed</groupId>
45-
<artifactId>tomcat-embed-websocket</artifactId>
46-
</dependency>
4743
</dependencies>
4844
</project>

0 commit comments

Comments
 (0)