m2eclipse中的依赖问题
我在使用 m2eclipse 和 Nexus 时遇到问题。通常,当您在 Eclipse 中创建新的 Maven 项目时,您可以从 Nexus Indexer 中选择类似 maven-archetype-quickstart 的原型。不幸的是,Nexus Indexer 根本不显示任何内容。但最糟糕的是,“添加依赖项”菜单不起作用。 (为了更好地理解:通过单击“依赖项”选项卡,您通常可以单击一个按钮来输入 groupId 或artifactId。这就是我所说的菜单。如果我输入例如“junit”,它显示没有搜索结果。) 有人知道这个问题吗?我该如何解决它?
预先感谢一百万的帮助。
I have a problem with m2eclipse and Nexus. Normally, when you create a new Maven Project in Eclipse, you can select an Archetype like maven-archetype-quickstart from the Nexus Indexer. Unfortunately, the Nexus Indexer doesn't show anything at all. But the worst part about all this is, that the "Add Dependency" menue doesn't work. (For a better understanding: By clicking on the "Dependencies" tab, you can usually click on a button in order to enter a groupId or artifactId. That's the menue what I am talking about. If I enter for example "junit", it shows no search results.)
Does anybody know this issue? How could I fix it?
Thanks a million in advance for any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
默认情况下,用户界面显示内部索引,选择下拉列表并选择 Nexus Index(如果没有)。否则你发布了 Nexus 的索引吗?
By default the ui shows the internal index, select the drop down and choose the Nexus Index if you haven't. Otherwise have you published the index from Nexus?
我遇到了同样的问题,我认为这是 m2eclipse 插件中的错误。但我找到了另一种解释和解决方案:
http://forums .jfrog.org/Artifactory-and-m2eclipse-无法更新索引-for-remote-repos-td5899455.html
I had the same problem and I thought it was a bug in a m2eclipse plugin. But I found another explanation and solution:
http://forums.jfrog.org/Artifactory-and-m2eclipse-Unable-to-update-index-for-remote-repos-td5899455.html