From b1bcc246e300e3597410a543132d590da1e2b509 Mon Sep 17 00:00:00 2001 From: Shannon Pamperl Date: Mon, 4 Mar 2024 11:51:30 -0600 Subject: [PATCH] Fix webjars-locator to be accurate per Spring Boot 2.0 release notes --- src/main/resources/META-INF/rewrite/spring-boot-20.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/resources/META-INF/rewrite/spring-boot-20.yml b/src/main/resources/META-INF/rewrite/spring-boot-20.yml index f385776ab..8f359999c 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-20.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-20.yml @@ -53,9 +53,12 @@ recipeList: overrideManagedVersion: false - org.openrewrite.maven.RemoveProperty: propertyName: thymeleaf.version - - org.openrewrite.java.dependencies.RemoveDependency: - groupId: org.webjars - artifactId: webjars-locator + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.webjars + oldArtifactId: webjars-locator + newGroupId: org.webjars + newArtifactId: webjars-locator-core + newVersion: ^0.35 - org.openrewrite.java.spring.boot2.MigrateToWebServerFactoryCustomizer - org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_0 - org.openrewrite.java.spring.boot2.MigrateSpringBootServletInitializerPackageName