Add Managed Maven plugin

Apache 2.0

Add the specified Maven plugin to the Plugin Managed of the pom.xml.

org.openrewrite.maven.AddManagedPlugin

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

A fixed version of the plugin to add.

Optional plugin configuration provided as raw XML

Optional plugin dependencies provided as raw XML.

Optional executions provided as raw XML.

A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon ;. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched.

mod run . --recipe=org.openrewrite.maven.AddManagedPlugin \ -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.