diff --git a/README.md b/README.md index 5909f48c..38505a79 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,8 @@ pom.xml: | **Branches** | **Purpose** | **Latest Version** | |--------------|-------------------------------------------|--------------------| -| **0.2.x** | Compatible with Spring Boot 3.0.x - 3.5.x | 0.2.2 | -| **0.1.x** | Compatible with Spring Boot 2.0.x - 2.7.x | 0.1.2 | +| **0.2.x** | Compatible with Spring Boot 3.0.x - 3.5.x | 0.2.4 | +| **0.1.x** | Compatible with Spring Boot 2.0.x - 2.7.x | 0.1.4 | Then add the specific modules you need: diff --git a/microsphere-spring-boot-actuator/src/test/java/io/microsphere/spring/boot/actuate/autoconfigure/ActuatorAutoConfigurationTest.java b/microsphere-spring-boot-actuator/src/test/java/io/microsphere/spring/boot/actuate/autoconfigure/ActuatorAutoConfigurationTest.java index 2ab862ec..74e96560 100644 --- a/microsphere-spring-boot-actuator/src/test/java/io/microsphere/spring/boot/actuate/autoconfigure/ActuatorAutoConfigurationTest.java +++ b/microsphere-spring-boot-actuator/src/test/java/io/microsphere/spring/boot/actuate/autoconfigure/ActuatorAutoConfigurationTest.java @@ -25,6 +25,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.NONE; /** * {@link ActuatorAutoConfiguration} Test @@ -34,7 +35,7 @@ * @since 1.0.0 */ @SpringBootTest( - webEnvironment = SpringBootTest.WebEnvironment.NONE, + webEnvironment = NONE, classes = { ActuatorAutoConfigurationTest.class }, properties = { diff --git a/microsphere-spring-boot-actuator/src/test/java/io/microsphere/spring/boot/actuate/autoconfigure/ActuatorEndpointsAutoConfigurationTest.java b/microsphere-spring-boot-actuator/src/test/java/io/microsphere/spring/boot/actuate/autoconfigure/ActuatorEndpointsAutoConfigurationTest.java index de99a64b..29617e0b 100644 --- a/microsphere-spring-boot-actuator/src/test/java/io/microsphere/spring/boot/actuate/autoconfigure/ActuatorEndpointsAutoConfigurationTest.java +++ b/microsphere-spring-boot-actuator/src/test/java/io/microsphere/spring/boot/actuate/autoconfigure/ActuatorEndpointsAutoConfigurationTest.java @@ -18,6 +18,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.springframework.boot.WebApplicationType.SERVLET; +import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; /** * {@link ActuatorEndpointsAutoConfiguration} Test @@ -27,7 +28,7 @@ * @since 1.0.0 */ @SpringBootTest( - webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, + webEnvironment = RANDOM_PORT, classes = { ActuatorEndpointsAutoConfigurationTest.class, }, diff --git a/microsphere-spring-boot-core/src/test/java/io/microsphere/spring/boot/autoconfigure/ApplicationAutoConfigurationTest.java b/microsphere-spring-boot-core/src/test/java/io/microsphere/spring/boot/autoconfigure/ApplicationAutoConfigurationTest.java index 74ad4489..98995bf1 100644 --- a/microsphere-spring-boot-core/src/test/java/io/microsphere/spring/boot/autoconfigure/ApplicationAutoConfigurationTest.java +++ b/microsphere-spring-boot-core/src/test/java/io/microsphere/spring/boot/autoconfigure/ApplicationAutoConfigurationTest.java @@ -28,6 +28,8 @@ import java.util.List; +import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; + /** * Application AutoConfiguration Test * @@ -44,7 +46,7 @@ "spring.mvc.format.date=dd/MM/yyyy", "logging.level.io.microsphere.spring=DEBUG" }, - webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) + webEnvironment = RANDOM_PORT) @EnableAutoConfiguration class ApplicationAutoConfigurationTest { diff --git a/microsphere-spring-boot-parent/pom.xml b/microsphere-spring-boot-parent/pom.xml index c4ea5476..45416e64 100644 --- a/microsphere-spring-boot-parent/pom.xml +++ b/microsphere-spring-boot-parent/pom.xml @@ -19,7 +19,7 @@ Microsphere Spring Boot Parent - 0.2.3 + 0.2.4 1.7.2 @@ -77,7 +77,7 @@ spring-boot-3.4 - 3.4.10 + 3.4.11 @@ -87,7 +87,7 @@ true - 3.5.6 + 3.5.7 diff --git a/pom.xml b/pom.xml index 2f0f89da..7d878189 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ io.github.microsphere-projects microsphere-build - 0.2.1 + 0.2.2 4.0.0 @@ -51,7 +51,7 @@ - 0.2.3-SNAPSHOT + 0.2.4-SNAPSHOT 17