Skip to content

Commit 7ed8046

Browse files
authored
Compile WebSocket SPI against more recent version of Servlet API (jenkinsci#7916)
1 parent ac2fc84 commit 7ed8046

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/dependabot.yml

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ updates:
1717
# version of Jetty we deliver. See:
1818
# https://github.com/jenkinsci/jenkins/pull/5211
1919
- dependency-name: "jakarta.servlet:jakarta.servlet-api"
20-
- dependency-name: "javax.servlet:javax.servlet-api"
2120

2221
# Jetty Maven Plugin and Winstone should be upgraded in lockstep in order
2322
# to keep their corresponding Jetty versions aligned.

core/pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,10 @@ THE SOFTWARE.
328328
<artifactId>websocket-spi</artifactId>
329329
<version>${project.version}</version>
330330
<exclusions>
331+
<!-- Provided by Jetty/Winstone -->
331332
<exclusion>
332-
<groupId>javax.servlet</groupId>
333-
<artifactId>javax.servlet-api</artifactId>
333+
<groupId>jakarta.servlet</groupId>
334+
<artifactId>jakarta.servlet-api</artifactId>
334335
</exclusion>
335336
</exclusions>
336337
</dependency>

websocket/spi/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ THE SOFTWARE.
5050

5151
<dependencies>
5252
<dependency>
53-
<groupId>javax.servlet</groupId>
54-
<artifactId>javax.servlet-api</artifactId>
55-
<version>3.1.0</version>
53+
<groupId>jakarta.servlet</groupId>
54+
<artifactId>jakarta.servlet-api</artifactId>
55+
<version>4.0.4</version>
5656
</dependency>
5757
</dependencies>
5858

0 commit comments

Comments
 (0)