Order to perform really clean download.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 05 Feb 2015 19:07:39 +0200
changeset 1679 f0434ace37ce
parent 1678 b06128a21eca
child 1680 826133768ee5
Order to perform really clean download.
maven.rst
--- a/maven.rst	Thu Feb 05 17:35:42 2015 +0200
+++ b/maven.rst	Thu Feb 05 19:07:39 2015 +0200
@@ -75,10 +75,19 @@
 
 Force update of dependencies.
 =============================
-::
+
+You can try redownload snapshots by::
 
   $ mvn -U compile
 
+You can fix damaged local ``~/.m2`` with::
+
+  $ mvn dependency:purge-local-repository
+
+In order to perform really clean download::
+
+  $ mvn -Dmaven.repo.local=$HOME/.my/other/repository clean install
+
 Find newer library and plugin versions.
 =======================================