Change Maven annotation processor path

Apache 2.0

Change the groupId, artifactId, and version of a Maven annotation processor path.

org.openrewrite.java.micronaut.ChangeAnnotationProcessorPath

Required

The old groupId to replace. The groupId is the first part of a plugin coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.

The old artifactId to replace. The artifactId is the second part of a plugin coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.

Optional

The new groupId to use. Defaults to the existing group id.

The new artifactId to use. Defaults to the existing artifact id.

An version string for the annotation processor path. Version strings that start with 'micronaut.' will be treated specially.

A list of exclusions to apply to the annotation processor path in the format groupId:artifactId Separate values with commas.

mod run . --recipe=org.openrewrite.java.micronaut.ChangeAnnotationProcessorPath \ -P oldGroupId=org.openrewrite.recipe \ -P oldArtifactId=my-deprecated-annotation-processor

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