Add Maven plugin
Apache 2.0Add the specified Maven plugin to the pom.xml.
org. openrewrite. maven. AddPluginRequired
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. AddPlugin \
-P groupId= org. openrewrite. maven \
-P artifactId= rewrite-maven-pluginInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.