Merge pull request #30522 from izeye

* gh-30522:
  Move Jetty 9 specific exclusions to correct dependency

Closes gh-30522
pull/30692/head
Andy Wilkinson 3 years ago
commit 0768b842da

@ -59,6 +59,13 @@ If you wish to use Jetty 10, you can do so as shown in the following example:
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Use Jetty instead -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
<exclusions>
<!-- Exclude the Jetty-9 specific dependencies -->
<exclusion>
<groupId>org.eclipse.jetty.websocket</groupId>
@ -70,11 +77,6 @@ If you wish to use Jetty 10, you can do so as shown in the following example:
</exclusion>
</exclusions>
</dependency>
<!-- Use Jetty instead -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
----
Note that along with excluding the Tomcat starter, a couple of Jetty9-specific dependencies also need to be excluded.

Loading…
Cancel
Save