【发布时间】:2018-06-09 17:21:18
【问题描述】:
我们遇到了问题。我在 jenkins 上设置了工作,并在构建项目时从 nexus 获取工件。但即使它下载了它们,作业也因找不到工件而失败。它只发生在我们手动导入到关系中的工件上。
有什么提示吗?
[INFO] Downloading: http://xxx/nexus/content/groups/public/com/oracle/aqapi /12.1.0.2/aqapi-12.1.0.2.pom
[WARNING] The POM for com.oracle:aqapi:jar:12.1.0.2 is missing, no dependency information available
[INFO] Downloading: http://xxx/nexus/content/groups/public/com/ibm/com.ibm.mq/7.1/com.ibm.mq-7.1.pom
[WARNING] The POM for com.ibm:com.ibm.mq:jar:7.1 is missing, no dependency information available
[INFO] Downloading: http://xxx/nexus/content/groups/public/com/ibm/com.ibm.dhbcore/7.1/com.ibm.dhbcore-7.1.pom
[WARNING] The POM for com.ibm:com.ibm.dhbcore:jar:7.1 is missing, no dependency information available
[INFO] Downloading: http://xxx/nexus/content/groups/public/com/oracle/aqapi/12.1.0.2/aqapi-12.1.0.2.jar
[INFO] Downloading: http://xxx/nexus/content/groups/public/com/ibm/com.ibm.mq/7.1/com.ibm.mq-7.1.jar
[INFO] Downloading: http://xxx/nexus/content/groups/public/com/ibm/com.ibm.dhbcore/7.1/com.ibm.dhbcore-7.1.jar
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
....
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.091s
[INFO] Finished at: Fri Dec 22 14:09:58 CET 2017
[INFO] Final Memory: 16M/491M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project XXX: Could not resolve dependencies for project YYY:jar:2.14.11: The following artifacts could not be resolved: com.oracle:aqapi:jar:12.1.0.2, com.ibm:com.ibm.mq:jar:7.1, com.ibm:com.ibm.dhbcore:jar:7.1: Could not find artifact com.oracle:aqapi:jar:12.1.0.2 in nexus (http://xxx/nexus/content/groups/public) -> [Help 1]
[ERROR]`
【问题讨论】:
-
给定的工件不在您的存储库管理器中...是否已将这些工件上传到
3rdparty存储库?如果是,您的公众是否包含此3rdparty存储库..?
标签: java maven jenkins build nexus