Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

mavenDependencyCollector

This little tool helps you to see all the top level dependencies, your Maven project has. It searches your POM files recursively and removes the duplicates + test dependencies (right now). It can handle the dependencyManagement feature of the Maven as well and in addition you can remove artifacts from the output, containing a certain string or matching a Java regex (not tested but should work).

The input is the path to your project, the output will be a basic excel file without any formatting.

Usage:

  1. Create an executable jar file
  2. java -jar <tyour_jar_file_name_.jar> <tpath_to_your_project> <stringpattern_for_match_removals> <project_artifactId-s_of_dependencies_not_needed_to display>

Example 1:

java -jar checkProductionDependencies.jar c:\My_project_sources\

Example 2:

java -jar checkProductionDependencies.jar c:\My_project_sources\ myProjectSpecificThings

Example 3:

java -jar checkProductionDependencies.jar c:\My_project_sources\ myProjectSpecificThings artifact-id1,artifact-id2

Have fun, any comments are welcome!

About

This little tool helps you to see all the top level dependencies, your Maven project has. It searches your POM files recursively and removes the duplicates + test dependencies (right now).

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages