Skip to content

siivonen/maven-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Scripts for removing extra dependencies and dependency managements from (large) Maven projects.

To remove all dependencies that are not direcly needed from Maven project /my_project/pom.xml and all it's sub modules run:

	./remove-extra-dependencies.rb /my_project/pom.xml 'mvn clean install -N'

The command 'mvn clean install -N' will be used to determine if it was OK to remove a dependency or not.

To remove the dependency management entries that are not needed in project /my_project/pom.xml run:

	./remove-extra-dependency_management.rb /my_project/pom.xml

More on this: http:https://samulisiivonen.blogspot.com/2012/01/cleanin-up-maven-dependencies.html

About

Scripts for cleaning up (large) Maven projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages