How to force maven update?

后端 未结 25 1972
失恋的感觉
失恋的感觉 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:03

    This is one of the most annoying things about Maven. For me the following happens: If I add a dependency requesting more dependencies and more and more but have a slow connection, it seams to stop while downloading and timing out. While timing out all dependencies not yet fetched are marked with place holders in the .m2 cache and Maven will not (never) pick it up unless I remove the place holder entry from the cache (as other stated) by removing it.

    So as far as I see it, Maven or more precise the Eclipse Maven plugin has a bug regarding this. Someone should report this.

提交回复
热议问题