MAVEN PLUGIN(S) SERIES - Housekeeping of dependencies
PROBLEM After a continuos use of maven for project lifecycle management , usually, the local dependencies' repository growth, risks to go out of control . SOLUTION There are some plugins that help us to do housekeeping on local dependencies' repository. Build Helper Maven Plugin This plugin contains various small independent goals to assist with the Maven build lifecycle. Maven Dependency Plugin The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositories to a specified location. The goal remove-project-artifact of builder-helper plugin, r emove project's artifacts from local repository and it's useful to keep only one copy of large local snapshot. The goal purge-local-repository of maven-dependency plugin, remove the project dependencies from the local repository. I suggest you to take a look at both of them in order to understand their...