Skip to content

Commit

Permalink
Drop unnecessary classpath entries for Spring Boot 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Jul 29, 2024
1 parent b296095 commit e5589ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 0 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ dependencies {
testImplementation("org.openrewrite.recipe:rewrite-migrate-java:$rewriteVersion")
testImplementation("org.openrewrite.recipe:rewrite-testing-frameworks:$rewriteVersion")

testImplementation("javax.xml.bind:jaxb-api:2.3.1")

"testWithSpringBoot_1_5RuntimeOnly"("org.springframework:spring-web:4.+")
"testWithSpringBoot_1_5RuntimeOnly"("org.springframework.boot:spring-boot:1.5.+")
"testWithSpringBoot_1_5RuntimeOnly"("org.springframework.boot:spring-boot-autoconfigure:1.5.+")
Expand Down Expand Up @@ -231,9 +229,6 @@ dependencies {
"testWithSpringBoot_3_2RuntimeOnly"("org.springframework.boot:spring-boot-starter:3.2.+")
"testWithSpringBoot_3_2RuntimeOnly"("org.springframework.boot:spring-boot-starter-test:3.2.+")

"testWithSpringBoot_3_3RuntimeOnly"("org.springframework.boot:spring-boot-starter:3.3.+")
"testWithSpringBoot_3_3RuntimeOnly"("org.springframework.boot:spring-boot-starter-test:3.3.+")

"testWithSpringSecurity_5_7RuntimeOnly"("org.springframework:spring-context:5.3.+")
"testWithSpringSecurity_5_7RuntimeOnly"("org.springframework.boot:spring-boot-starter:2.7.+")
"testWithSpringSecurity_5_7RuntimeOnly"("org.springframework.boot:spring-boot:2.7.+")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.junit.jupiter.api.Test;
import org.openrewrite.DocumentExample;
import org.openrewrite.config.Environment;
import org.openrewrite.java.JavaParser;
import org.openrewrite.test.RecipeSpec;
import org.openrewrite.test.RewriteTest;

Expand All @@ -36,8 +35,7 @@ public void defaults(RecipeSpec spec) {
.scanRuntimeClasspath("org.openrewrite.java.spring")
.build()
.activateRecipes("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3")
).parser(JavaParser.fromJavaVersion()
.classpath("jaxb-api"));
);
}

@Test
Expand Down

0 comments on commit e5589ab

Please sign in to comment.