Upgrade Boot and Rewrite dependencies

This commit is contained in:
aboyko
2024-03-05 23:11:16 -05:00
parent c0c53e7f9b
commit 1abd3e6dd2
3 changed files with 7 additions and 7 deletions

View File

@@ -172,7 +172,7 @@ public class RewriteRecipeRepository {
recipes.put(r.getName(), r);
// HACK: add Jakarta XML Bind migration recipe again as there are cases when maven dependency isn't added
if (r.getName().startsWith("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_")) {
AddDependency addDepXmlBindDep = new AddDependency("jakarta.xml.bind", "jakarta.xml.bind-api", "latest.release", null, null, null, "javax.xml.bind..*", null, null, null, null, true);
AddDependency addDepXmlBindDep = new AddDependency("jakarta.xml.bind", "jakarta.xml.bind-api", "latest.release", null, null, null, "javax.xml.bind..*", null, null, null, null, false);
r.getDescriptor().getRecipeList().add(addDepXmlBindDep.getDescriptor());
r.getRecipeList().add(addDepXmlBindDep);
}