【问题标题】:maven error "The POM for ... is missing" - right after maven downloads the pommaven错误“...的POM丢失” - 在maven下载pom之后
【发布时间】:2012-04-04 14:11:57
【问题描述】:

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

这是日志

[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

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

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

想法或想法将不胜感激。

【问题讨论】:

  • 您是说您的本地存储库中有org-netbeans-api-RELEASE71.jar
  • 我会假设您的依赖项之一是错误的(可能是版本?)检查。只需删除给定的工件([错误] 无法在项目 jalopy2-netbeans 上执行目标:无法解析项目 com.notzippy:jalopy2-netbeans:nbm:0.0.1-SNAPSHOT 的依赖项:找不到 org-openide-text: org-netbeans-api:jar:RELEASE71 in bits.netbeans.org/maven2)...

标签: maven netbeans pom.xml maven-nbm


【解决方案1】:

已交换 artifactId 和 groupId。呵呵

【讨论】:

    猜你喜欢
    • 2011-11-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-31
    • 2020-12-09
    • 2015-12-21
    • 1970-01-01
    • 2011-05-30
    相关资源
    最近更新 更多