How to force maven update?

后端 未结 25 1928
失恋的感觉
失恋的感觉 2020-11-22 03:18

I imported my already working project on another computer and it started to download dependencies.

Apparently my internet connection crashed and now I get the foll

25条回答
  •  粉色の甜心
    2020-11-22 04:02

    It's important to add that the main difference of running mvn with -U and without -U is that -U will override your local SNAPSHOT jars with remote SNAPSHOT jars.

    Local SNAPSHOT jars created from local mvn install in cases where you have other modules of your proj that generate jars.

提交回复
热议问题