Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven - Nexus: find dependent projects

Is there a way in nexus to find all the projects that depend on a particular dependency?

We have a list of projects in our nexus repository. We'd need to find all the projects that use a particular dependency.

like image 433
saravana_pc Avatar asked May 06 '14 15:05

saravana_pc


People also ask

How do I search dependency in Nexus repository?

Available in Nexus Repository Pro only To view an component's dependencies, browse the repository storage or the repository index, select a component (or a component's POM), and then click on the Maven Dependency tab.

What is Maven Dependencymanagement?

What Is Maven Dependency Management? Dependency management in Maven allows teams to manage dependencies for multi-module projects and applications. These can consist of hundreds or even thousands of modules. Using Maven can help teams define, create, and maintain reproducible builds.

What is default dependency management scope?

Dependency Scope. Dependency scope is used to limit the transitivity of a dependency and to determine when a dependency is included in a classpath. This is the default scope, used if none is specified. Compile dependencies are available in all classpaths of a project.

Are Maven dependencies transitive?

Maven automatically includes required transitive dependencies in our project. We can list all dependencies including transitive dependencies in the project using mvn dependency:tree command.


1 Answers

The Artifact Usage Nexus Plugin is an open source plugin for Nexus that can do that. A list of further available plugins and integrations is available in the free Nexus book.

Be sure to use the correct version of Nexus with the plugin or fork the project and update it to your version of Nexus.

like image 122
Manfred Moser Avatar answered Oct 30 '22 05:10

Manfred Moser