/ Published in: Bash
How to reload dependencies cache in maven 2/3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mvn dependency:purge-local-repository # also works exclude list: mvn dependency:purge-local-repository -Dexclude=org.codehaus.groovy:groovy-all,org.apache.ant:ant # in maven-dependency-plugin 2.6+ work -Dinclude=... & -DmanualInclude=... options # on my taste manualInclude's behavior is more expectable - # you may put exact list of artifacts for reload: mvn dependency:purge-local-repository -DmanualInclude=junit:junit,org.apache.ant:ant
URL: mvn_dependency_purge_local_repository