diff --git a/applications/spring-shell/src/test/java/org/springframework/sbm/BootUpgrade_27_30_IntegrationTest.java b/applications/spring-shell/src/test/java/org/springframework/sbm/BootUpgrade_27_30_IntegrationTest.java index 87b8ec54c..3ef19d9e8 100644 --- a/applications/spring-shell/src/test/java/org/springframework/sbm/BootUpgrade_27_30_IntegrationTest.java +++ b/applications/spring-shell/src/test/java/org/springframework/sbm/BootUpgrade_27_30_IntegrationTest.java @@ -127,8 +127,7 @@ private void verifyJohnzonCoreDependencyIsUpgraded() { assertThat(johnzonDependency.getClassifier()).isEqualTo("jakarta"); assertThat(johnzonDependency.getArtifactId()).isEqualTo("johnzon-core"); - Optional expectedJohnzonVersion = DependencyVersionHelper.getLatestReleaseVersion(johnzonDependency.getGroupId(), johnzonDependency.getArtifactId()); - assertThat(johnzonDependency.getVersion()).isEqualTo(expectedJohnzonVersion.get()); + assertThat(johnzonDependency.getVersion()).isEqualTo("1.2.21"); } @NotNull diff --git a/pom.xml b/pom.xml index e49f6793c..217e7337d 100644 --- a/pom.xml +++ b/pom.xml @@ -382,7 +382,7 @@ com.mycila license-maven-plugin - 4.1 + 4.3 validate @@ -441,6 +441,8 @@ limitations under the License. **/*.xsd **/*.xml **/*.sh + **/spring.factories + **/*.gradle* **/generated/** **/Dockerfile