2012-03-20 61 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