Remove Maven plugin dependency

Apache 2.0

Removes a dependency from the <dependencies> section of a plugin in the pom.xml.

org.openrewrite.maven.RemovePluginDependency

Required

Group ID of the plugin from which the dependency will be removed. Supports glob.A Group ID is the first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.

Artifact ID of the plugin from which the dependency will be removed. Supports glob.The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.

The first part of a plugin dependency coordinate. Supports glob.

The second part of a plugin dependency coordinate. Supports glob.

mod run . --recipe=org.openrewrite.maven.RemovePluginDependency \ -P pluginGroupId=org.openrewrite.maven \ -P pluginArtifactId=rewrite-maven-plugin \ -P groupId=com.google.guava \ -P artifactId=guava

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