Author: gboue Date: Wed Nov 2 18:53:47 2016 New Revision: 1767762 URL: http://svn.apache.org/viewvc?rev=1767762&view=rev Log: [MDEP-386] Split purge-local-repository into manual and transitive
Keeping the documentation in sync: the manual-purge-local-repository goal was reintegrated into the purge-local-repository goal, but the doc still mentioned it. Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/purging-local-repository.apt.vm Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/purging-local-repository.apt.vm URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/purging-local-repository.apt.vm?rev=1767762&r1=1767761&r2=1767762&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/purging-local-repository.apt.vm (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/purging-local-repository.apt.vm Wed Nov 2 18:53:47 2016 @@ -108,12 +108,12 @@ mvn dependency:purge-local-repository -D * Manual purge Specific dependencies which are not part of the current project dependency tree - can be purged by using the - {{{../manual-purge-local-repository-mojo.html}manual-purge-local-repository}} + can also be purged by using the + {{{../purge-local-repository-mojo.html}purge-local-repository}} goal and setting the "manualIncludes" or "manualInclude" parameters. Any manually included purge artifacts will be removed from the local repository and will not be re-resolved until they are needed. This can be useful for - example to refresh the parent pom, an imported pom, or a maven plugin. + example to refresh the parent pom, an imported pom, or a Maven plugin. Warning, using this goal during the normal build process can be risky if dependencies are removed from the local repo, but are needed later in @@ -126,7 +126,7 @@ mvn dependency:purge-local-repository -D or during the clean process. +---+ -mvn dependency:manual-purge-local-repository -Dinclude=org.apache:apache +mvn dependency:purge-local-repository -DmanualInclude=org.apache:apache +---+