标签:
解决为什么每次打开Eclipse新的workspace需要更新nexus-maven-repository-index问题
以上这些步骤就解决了每次新建一个工作空间,Eclipse自动从官方库下载nexus-maven-repository-index的问题了。
—
First check all of your dependencies including plugins and children in the dependency tree,
try to replace snapshot versions with release versions,
as snapshot versions will always look for a later update, whereas
release versions are deemed to be stable and updates are not expected for the same version number.
Secondly, assuming that you are working on a LAN, I would suggest that you install a local maven repository manager such as Nexus, and then redirect your artifact requests by setting
<mirrorOf>*</mirrorOf>
in your ${user.home}/.m2/settings.xml
This will enable your downloads to be resolved quickly against a local mirror, rather than continually checking against repositories on the internet.
解决为什么每次打开Eclipse新的workspace需要更新nexus-maven-repository-index问题
标签:
原文地址:http://www.cnblogs.com/justuntil/p/4784076.html