简体   繁体   English

在哪里下载整套Maven存储库jar文件?

[英]Where to download a whole set of maven repository jar files?

Because my repository misses some jar files. 因为我的存储库缺少一些jar文件。 I want to redownload the whole repository again. 我想再次重新下载整个存储库。 where can I download it? 在哪里可以下载? Like this: Maven Repository 像这样: Maven存储库

I'm not sure what you mean.. 我不确定你是什么意思..
As upper comment says, maven will automatically download the dependent jar files once if you had described in pom.xml. 就像上面的评论所说,如果您在pom.xml中进行了描述,那么maven将自动下载相关的jar文件。

Or.. if you want to force re-download the whole jar files, 或者..如果您想强制重新下载整个jar文件,
then just remove folders in .m2/repository/ and re-update or build mvn project again. 然后只需删除.m2 / repository /中的文件夹,然后重新更新或再次构建mvn项目即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM