Force re-download of release dependency using Maven

前端 未结 13 1896
闹比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:09

    Deleting the ~/.m2/repository will solve your problem. But, if you still need to keep the old ~/.m2/repository you can just change the maven local path temporarily.

    If you are working on IntelliJ just go to Maven Settings and change the Local Repository path to somewhere else. You may need to tick the override checkbox near there.

提交回复
热议问题