Change Maven plugin configuration

Apache 2.0

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

org.openrewrite.maven.ChangePluginConfiguration

Required

The first part of the coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION' of the plugin to modify.

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

Optional

Plugin configuration provided as raw XML overriding any existing configuration. Configuration inside <executions> blocks will not be altered. Supplying null will remove any existing configuration. To include a literal ${...} property reference in the configuration (e.g. a Maven property like ${java.version}), escape it as \${...} in your recipe YAML to prevent it from being resolved as a recipe placeholder.

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