Maven dependency insight

Apache 2.0

Find direct and transitive dependencies matching a group, artifact, and scope. Results include dependencies that either directly match or transitively include a matching dependency.

org.openrewrite.maven.search.DependencyInsight

Required

Group glob pattern used to match dependencies.

Artifact glob pattern used to match dependencies.

Optional

Match dependencies with the specified scope. All scopes are searched by default.

Match only dependencies with the specified version. Node-style version selectors may be used.All versions are searched by default.

onlyDirectBoolean

If enabled, transitive dependencies will not be considered. All dependencies are searched by default.

mod run . --recipe=org.openrewrite.maven.search.DependencyInsight \ -P groupIdPattern=com.fasterxml.jackson.module \ -P artifactIdPattern='jackson-module-*'

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