Add Maven annotation processor path

Apache 2.0

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

org.openrewrite.java.micronaut.AddAnnotationProcessorPath

Required

The groupId to use.

The artifactId to use.

An exact version string for the annotation processor path.

Used to determine if the annotation processor will be added.

Optional

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.AddAnnotationProcessorPath \ -P groupId=corp.internal.openrewrite.recipe \ -P artifactId=my-new-annotation-processor \ -P version='${micronaut.validation}' \ -P onlyIfUsing='jakarta.validation.constraints.*'

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