Force re-download of release dependency using Maven

前端 未结 13 1806
闹比i
闹比i 2020-11-28 20:05

I\'m working on a project with dependency X. X, in turn, depends on Y.

I used to explicitly include Y in my project\'s pom. However, it was not used and to make thin

相关标签:
13条回答
  • 2020-11-28 20:33

    Thanks to Ali Tokmen answer. I managed to force delete the specific local dependency with the following command:

    mvn dependency:purge-local-repository -DmanualInclude=com.skyfish:utils
    

    With this, it removes utils from my .m2/repository and it always re-download the utils JAR dependency when I run mvn clean install.

    0 讨论(0)
提交回复
热议问题