-->

M2E不能从关系传送的元数据,但行家命令行可以(m2e cannot transfer metada

2019-07-20 08:53发布

我使用的Nexus主办我Maven仓库,和Maven命令行(Win32和Linux)的可以从这个关系成功地使用相同的命令和相同Setting.xml的转移文物。 但是,如下M2E将失败:

[WARNING] Could not transfer metadata m3-app:m3:1.0-SNAPSHOT/maven-metadata.xml from/to Nexus (http://1.2.3.4:8080/nexus/content/groups/public): Failed to create a selector. to http://1.2.3.4:8080/nexus/content/groups/public/m3-app/m3/1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Failure to transfer m3-app:m3:1.0-SNAPSHOT/maven-metadata.xml from http://1.2.3.4:8080/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of Nexus has elapsed or updates are forced. Original error: Could not transfer metadata m3-app:m3:1.0-SNAPSHOT/maven-metadata.xml from/to Nexus (http://1.2.3.4:8080/nexus/content/groups/public): Failed to create a selector. to http://1.2.3.4:8080/nexus/content/groups/public/m3-app/m3/1.0-SNAPSHOT/maven-metadata.xml

我测试的服务器,而日食未能抢到神器,我的浏览器可以顺利拿到了元数据的XML。 是否有与M2E任何问题吗?

更新:我的项目包括约35瓶,第一个几罐会成功,以后它会失败。

Answer 1:

发现的解决方案:禁用查杀网页后卫,一切看起来不错,运行在eclipse就如同在命令行中运行。 考虑换另防病毒解决方案...



文章来源: m2e cannot transfer metadata from nexus, but maven command line can