Empty goals list in m2Eclipse(m2Eclipse 中的空目标列表)
问题描述
当我尝试添加目标时,我没有得到任何目标.是否有任何解决方案,或者我应该手动添加它们.但在一个示例中,我看到它自动列出了所有可用的目标.
When I try to add a goal I don't get any goals. Is there any solution or I should manually add them.But in an example I saw it automatically lists all the available goals.
推荐答案
m2eclipse JIRA 为我工作:在 Eclipse 中,打开视图Maven 存储库"并展开全局存储库".右键单击您的中央镜像(如果未定义镜像,则为中央")并选择启用完整索引".再次右键单击存储库并选择重建索引".等到更新索引"完成并从右下角的 Eclipse 进度指示器中消失.
The workaround described in m2eclipse JIRA worked for me: In Eclipse, open the view "Maven Repositories" and expand "Global Repositories". Right-click on your mirror of central (or "central" if no mirror defined) and select "Enable Full Index". Right-click again on the repository and select "Rebuild Index". Wait until "Updating indexes" finishes and vanishes from the Eclipse progress indicator in the lower right corner.
这篇关于m2Eclipse 中的空目标列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:m2Eclipse 中的空目标列表
基础教程推荐
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 降序排序:Java Map 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01