Skip to content

Commit

Permalink
Upgrade to Spring Boot 3.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
akkinoc committed Dec 2, 2023
1 parent d601be7 commit 3991192
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/webflux-jetty-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<version>3.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion examples/webflux-tomcat-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<version>3.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion examples/webflux-undertow-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<version>3.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion examples/webmvc-jetty-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<version>3.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion examples/webmvc-tomcat-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<version>3.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion examples/webmvc-tomcat-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<version>3.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion examples/webmvc-undertow-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<version>3.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<version>3.0.13</version>
</parent>

<organization>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ import org.springframework.test.context.ContextConfigurationAttributes
import org.springframework.test.context.ContextCustomizerFactory
import org.springframework.util.ClassUtils.convertClassNameToResourcePath
import java.net.URL
import io.undertow.websockets.jsr.Bootstrap as UndertowBootstrap
import org.apache.tomcat.websocket.server.WsSci as TomcatWsSci
import org.eclipse.jetty.server.Server as JettyServer
import org.eclipse.jetty.websocket.jakarta.server.config.JakartaWebSocketServletContainerInitializer as JettyJakartaWebSocketServletContainerInitializer
import reactor.netty.http.server.HttpServer as NettyHttpServer

/**
Expand Down Expand Up @@ -59,8 +62,11 @@ class TestContextClassLoaderCustomizerFactory : ContextCustomizerFactory {
val usesNetty = annotations.isPresent(NettyReactiveWebTest::class.java)
return buildSet {
if (!usesTomcat) add(Tomcat::class.java)
if (!usesTomcat) add(TomcatWsSci::class.java)
if (!usesJetty) add(JettyServer::class.java)
if (!usesJetty) add(JettyJakartaWebSocketServletContainerInitializer::class.java)
if (!usesUndertow) add(Undertow::class.java)
if (!usesUndertow) add(UndertowBootstrap::class.java)
if (!usesNetty) add(NettyHttpServer::class.java)
}
}
Expand Down

0 comments on commit 3991192

Please sign in to comment.