You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a bit of a balance here where that exclusion often helps to fully wean folks off JUnit 4; but of course for Testcontainers we can't yet fully do that. Luckily the folks at AtomicJar/Docker are also involved here (see our Testcontainers recipes), so who knows we might be able to migrate their users off of JUnit 4 with recipes in the future.
You're welcome; glad this was an easy fix. We just did a release yesterday, but until the next one in a week or two you can use our snapshot versions. And let me know if you encounter anything else, or we can help in some other way.
What version of OpenRewrite are you using?
Ran command via
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_2
Which used Rewrite 5.22.0, relevant output:
What is the smallest, simplest way to reproduce the problem?
This Spring Boot project's pom.xml:
What did you expect to see?
I expected only the Spring Boot parent version to change, with no other changes:
What did you see instead?
As in issue #429, the JUnit 4 exclusion was added to the Testcontainers dependency block, which breaks the functionality of Testcontainers:
The text was updated successfully, but these errors were encountered: