Remove exclusion
Apache 2.0Remove any matching exclusion from any matching dependency.
org. openrewrite. maven. RemoveExclusionRequired
The first part of a dependency coordinate com.google.guava:guava:VERSION. Supports glob.
The second part of a dependency coordinate com.google.guava:guava:VERSION. Supports glob.
The first part of a dependency coordinate com.google.guava:guava:VERSION. Supports glob.
The second part of a dependency coordinate com.google.guava:guava:VERSION. Supports glob.
Optional
onlyIneffectiveBoolean
Default false. If enabled, matching exclusions will only be removed if they are ineffective (if the excluded dependency was not actually a transitive dependency of the target dependency).
mod run . --recipe= org. openrewrite. maven. RemoveExclusion \
-P groupId= com. google. guava \
-P artifactId= guava \
-P exclusionGroupId= com. google. guava \
-P exclusionArtifactId= guavaInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.