Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 9167755

Browse files
committed
Remove tomcat-embed-websocket exclusion
Closes gh-180
1 parent 5ae0821 commit 9167755

File tree

7 files changed

+0
-57
lines changed

7 files changed

+0
-57
lines changed

spring-graalvm-native-docs/src/main/asciidoc/feature.adoc

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -143,27 +143,6 @@ The indexer actually produces a list of components at Java compile time and capt
143143
If Spring starts and finds this file, it uses it instead of attempting to explore the classpath.
144144
The indexer can be used for this whether building a native image or just running your application as a standard Java application.
145145

146-
You should also exclude the `tomcat-embed-websocket` dependency from the `spring-boot-starter-web` for now (we are working on https://github.com/apache/tomcat/pull/274[a Tomcat contribution] to avoid this):
147-
148-
====
149-
[source,xml,subs="attributes,verbatim"]
150-
----
151-
<dependencies>
152-
<!-- ... -->
153-
<dependency>
154-
<groupId>org.springframework.boot</groupId>
155-
<artifactId>spring-boot-starter-web</artifactId>
156-
<exclusions>
157-
<exclusion>
158-
<groupId>org.apache.tomcat.embed</groupId>
159-
<artifactId>tomcat-embed-websocket</artifactId>
160-
</exclusion>
161-
</exclusions>
162-
</dependency>
163-
</dependencies>
164-
----
165-
====
166-
167146
===== Set the `start-class` element
168147

169148
The native image build needs to know the entry point to your application. It does consult a few places to find it.

spring-graalvm-native-samples/kotlin-webmvc/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<dependency>
2929
<groupId>org.springframework.boot</groupId>
3030
<artifactId>spring-boot-starter-web</artifactId>
31-
<exclusions>
32-
<exclusion>
33-
<groupId>org.apache.tomcat.embed</groupId>
34-
<artifactId>tomcat-embed-websocket</artifactId>
35-
</exclusion>
36-
</exclusions>
3731
</dependency>
3832
<dependency>
3933
<groupId>com.fasterxml.jackson.module</groupId>

spring-graalvm-native-samples/spring-petclinic-jdbc/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@
5252
<dependency>
5353
<groupId>org.springframework.boot</groupId>
5454
<artifactId>spring-boot-starter-web</artifactId>
55-
<exclusions>
56-
<exclusion>
57-
<groupId>org.apache.tomcat.embed</groupId>
58-
<artifactId>tomcat-embed-websocket</artifactId>
59-
</exclusion>
60-
</exclusions>
6155
</dependency>
6256
<dependency>
6357
<groupId>org.springframework.boot</groupId>

spring-graalvm-native-samples/spring-petclinic-jpa/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@
5656
<dependency>
5757
<groupId>org.springframework.boot</groupId>
5858
<artifactId>spring-boot-starter-web</artifactId>
59-
<exclusions>
60-
<exclusion>
61-
<groupId>org.apache.tomcat.embed</groupId>
62-
<artifactId>tomcat-embed-websocket</artifactId>
63-
</exclusion>
64-
</exclusions>
6559
</dependency>
6660
<dependency>
6761
<groupId>org.springframework.boot</groupId>

spring-graalvm-native-samples/springmvc-tomcat/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@
3333
<dependency>
3434
<groupId>org.springframework.boot</groupId>
3535
<artifactId>spring-boot-starter-web</artifactId>
36-
<exclusions>
37-
<exclusion>
38-
<groupId>org.apache.tomcat.embed</groupId>
39-
<artifactId>tomcat-embed-websocket</artifactId>
40-
</exclusion>
41-
</exclusions>
4236
</dependency>
4337

4438
<dependency>

spring-graalvm-native-samples/vanilla-orm/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@
5959
<dependency>
6060
<groupId>org.springframework.boot</groupId>
6161
<artifactId>spring-boot-starter-web</artifactId>
62-
<exclusions>
63-
<exclusion>
64-
<groupId>org.apache.tomcat.embed</groupId>
65-
<artifactId>tomcat-embed-websocket</artifactId>
66-
</exclusion>
67-
</exclusions>
6862
</dependency>
6963
<dependency>
7064
<groupId>org.springframework.boot</groupId>

spring-graalvm-native-samples/vanilla-tx/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@
3737
<dependency>
3838
<groupId>org.springframework.boot</groupId>
3939
<artifactId>spring-boot-starter-web</artifactId>
40-
<exclusions>
41-
<exclusion>
42-
<groupId>org.apache.tomcat.embed</groupId>
43-
<artifactId>tomcat-embed-websocket</artifactId>
44-
</exclusion>
45-
</exclusions>
4640
</dependency>
4741
<dependency>
4842
<groupId>org.springframework.boot</groupId>

0 commit comments

Comments
 (0)