Change Maven plugin dependencies

Apache 2.0

Applies the specified dependencies to a Maven plugin. Will not add the plugin if it does not already exist in the pom.

org.openrewrite.maven.ChangePluginDependencies

Required

The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.

The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.

Optional

Plugin dependencies provided as dependency coordinates of format "groupId:artifactId:version". When supplying multiple coordinates separate them with ",". Supplying null will remove any existing plugin dependencies.

mod run . --recipe=org.openrewrite.maven.ChangePluginDependencies \ -P groupId=org.openrewrite.maven \ -P artifactId=rewrite-maven-plugin

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