首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >maven错误"The POM for ... is missing“-就在maven下载pom之后

maven错误"The POM for ... is missing“-就在maven下载pom之后
EN

Stack Overflow用户
提问于 2012-03-20 12:09:35
回答 1查看 2.8K关注 0票数 0

所以maven下载pom,然后声明它丢失了。然后,它继续下载jars。

这是日志

代码语言:javascript
复制
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for     http://bits.netbeans.org/maven2/
Downloading: http://bits.netbeans.org/maven2/org/netbeans/api/org-openide-text/RELEASE71/org-openide-text-RELEASE71.pom
Downloaded: http://bits.netbeans.org/maven2/org/netbeans/api/org-openide-text/RELEASE71/org-openide-text-RELEASE71.pom (2 KB at 3.5 KB/sec)
[DEBUG] Reading resolution tracking file /home/homeu1/.m2/repository/org/netbeans/api/org-openide-text/RELEASE71/org-openide-text-RELEASE71.pom.lastUpdated
[DEBUG] Writing resolution tracking file /home/homeu1/.m2/repository/org/netbeans/api/org-openide-text/RELEASE71/org-openide-text-RELEASE71.pom.lastUpdated
[WARNING] The POM for org-openide-text:org-netbeans-api:jar:RELEASE71 is missing, no dependency information available

..。然后是end错误

代码语言:javascript
复制
[ERROR] Failed to execute goal on project jalopy2-netbeans: Could not resolve dependencies for project com.notzippy:jalopy2-netbeans:nbm:0.0.1-SNAPSHOT: Failure to find org-openide-text:org-netbeans-api:jar:RELEASE71 in http://bits.netbeans.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of netbeans has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project jalopy2-netbeans: Could not resolve dependencies for project com.notzippy:jalopy2-netbeans:nbm:0.0.1-SNAPSHOT: Failure to find org-openide-text:org-netbeans-api:jar:RELEASE71 in http://bits.netbeans.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of netbeans has elapsed or updates are forced

我不明白,如果我查看maven存储库,下载了pom和jar,sha1是正常的。所有其他依赖项似乎都可以很好地解决,如果我尝试删除该依赖项,我会得到结果。

代码语言:javascript
复制
Project uses classes from transitive module org.netbeans.api:org-openide-text:jar:RELEASE71 which will not be accessible at runtime.

如果您有想法或想法,我们将不胜感激。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-03-20 22:34:42

把artifactId和groupId调换了。D‘’oh

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9781237

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档