2017-12-29 9 views
0

문제가 있습니다. 저는 젠킨스 (jenkins)에서 일자리를 창출했고, 프로젝트를 짓는 동안 넥서스에서 유물을 가져옵니다. 그러나 그것을 다운로드 했음에도 불구하고 유물로 인해 실패한 직업은 발견되지 않았습니다. 넥서스로 수동으로 가져온 아티팩트에 대해서만 발생했습니다.Maven 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]` 
+0

주어진 아티팩트가 저장소 관리자에 없습니다. 해당 아티팩트가 '3rdparty' 저장소에 업로드 되었습니까? 그렇다면 대중에게이 '제 3 자 저장소'가 있습니까? – khmarbaise

답변

0

아직 완전히 다운로드되지 않았다고 생각합니다 ~/.m2/저장소에서 종속성을 확인할 수 있습니다. catain의 경우 "docwnloading"만 표시되므로 다운로드 한 메시지가 나타납니다.

1) 먼저 n/w 설정과 인터넷을 확인하십시오.

2) n 개의/(W)가 문제가 ~/.m2 폴더를 삭제하고 다시 한 번

+0

감사합니다. 다운로드되지 않은 것 같습니다. n/w 문제가 될 것입니다 : – user2796482

0

시도는 넥서스의 종속성을 볼 수 있나요되어 있지 않은 경우? nexus의 pom 파일에있는 정보가 사용자의 POM에 해당합니까?

<?xml version="1.0"?> 
<project> 
       <modelVersion>4.0.0</modelVersion> 
       <groupId>checkstyle</groupId> 
       <artifactId>checkstyle</artifactId> 
       <version>4.1</version> 
       <dependencies> 
           ... 
       </dependencies> 
</project> 

와 치어의

http://nexusUrl/nexus/content/repositories/central/checkstyle/checkstyle/4.1/checkstyle-4.1.pom

:

<dependency> 
       <groupId>checkstyle</groupId> 
       <artifactId>checkstyle</artifactId> 
       <version>4.1</version> 
</dependency> 

와 넥서스 (Settings.XML의)에 대한 액세스 설정을 확인합니다.

관련 문제