Remove junit:junit and the vintage engine unless JUnit 3 types are still used

MSAL

Removes the junit:junit and junit-vintage-engine dependencies from each module, unless a source file of that module still uses junit.framework or the other JUnit 3 packages, such as test classes that extend a base class from a library. Then both stay, and the vintage engine is added if it is missing, so that Jupiter runs those tests.

org.openrewrite.java.testing.junit5.RemoveJUnit4DependenciesUnlessJUnit3Used
mod run . --recipe=org.openrewrite.java.testing.junit5.RemoveJUnit4DependenciesUnlessJUnit3Used

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.