Does not include Maven dependency
Apache 2.0A precondition which returns false if visiting a Maven pom which includes the specified dependency in the classpath of some scope. For compatibility with multimodule projects, this should most often be applied as a precondition.
org. openrewrite. maven. search. DoesNotIncludeDependencyRequired
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
Match only dependencies with the specified version. Node-style version selectors may be used. All versions are searched by default.
Default false. If enabled, transitive dependencies will not be considered.
Default any. If specified, only the requested scope's classpaths will be checked.
mod run . --recipe= org. openrewrite. maven. search. DoesNotIncludeDependency \
-P groupId= com. google. guava \
-P artifactId= guavaInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.