From 7dca15f724dba184a7c65538045f51646a0f0888 Mon Sep 17 00:00:00 2001 From: Sam Snyder Date: Mon, 20 May 2024 11:30:34 -0700 Subject: [PATCH] Add the junit-platform-surefire-provider to maven poms as part of the Junit 5 upgrade --- src/main/resources/META-INF/rewrite/junit5.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/META-INF/rewrite/junit5.yml b/src/main/resources/META-INF/rewrite/junit5.yml index 650799657..25ee1d00b 100755 --- a/src/main/resources/META-INF/rewrite/junit5.yml +++ b/src/main/resources/META-INF/rewrite/junit5.yml @@ -63,7 +63,9 @@ recipeList: pluginArtifactId: maven-surefire-plugin groupId: org.apache.maven.surefire artifactId: surefire-junit* - - org.openrewrite.maven.AddPlugin: + - org.openrewrite.maven.AddPluginDependency: + pluginGroupId: org.apache.maven.plugins + pluginArtifactId: maven-surefire-plugin groupId: org.junit.platform artifactId: junit-platform-surefire-provider version: 1.1.0