2012-03-20 43 views
0

因此,maven下载pom,然后声明它已丢失。然后继续下载罐子。maven错误“POM for ... is missing” - 马文下载后立即下载pom

继承人的日志

[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 

... 那么最终的误差

[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 

我不明白,如果我看着内行库中的POM和jar下载时,SHA1是精细。每个其他依赖似乎都很好解决,如果我尝试删除我得到的依赖关系。

Project uses classes from transitive module org.netbeans.api:org-openide-text:jar:RELEASE71 which will not be accessible at runtime. 

想法或想法,将不胜感激。

+0

你是说你在本地存储库有'org-netbeans-api-RELEASE71.jar'吗? – Raghuram 2012-03-20 05:43:05

+0

我会假设你的一个依赖是错误的(可能是版本?)检查。只删除给定的工件([错误]无法执行项目目标jalopy2-netbeans:无法解析项目com.notzippy的依赖关系:jalopy2-netbeans:nbm:0.0.1-SNAPSHOT:未能找到org-openide-text: org-netbeans-api:jar:RELEASE71在http://bits.netbeans.org/maven2/)... – khmarbaise 2012-03-20 08:14:48

回答

0

如果有artifactId和groupId交换。 D'oh