2017-12-29 51 views
0

からダウンロードした後にアーティファクトが見つかりませんでした。問題があります。私はジェンキンズで仕事をし、プロジェクトを構築している間に、それはネクサスからアーティファクトを取り出す。しかし、それをダウンロードしたにもかかわらず、アーティファクトで失敗した仕事は見つかりませんでした。私たちが手動でネクサスにインポートした成果物にのみ起こりました。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'リポジトリにアップロードしましたか?はいの場合、あなたのパブリックはthiseの 'thirdparty'リポジトリを含んでいます..? – khmarbaise

答えて

0

私はまだ完全にダウンロードされていないと思うので、〜/ .m2/repositoryに依存関係をチェックインできます。 catualの場合は "docwnloading"しか表示されないので、ダウンロードされたメッセージが表示されます。

1)最初にn/w設定とインターネットを確認します。

2)N/Wがない場合は、問題は〜/ .m2フォルダーを削除して、もう一度

+0

ありがとう、ダウンロードされていないようです。 N/W問題になります: – user2796482

0

を再試行するには、あなたがネクサスで依存関係を参照していますか? nexusのpomファイルの情報があなたのpomに対応していますか?

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

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

とあなたのポンポンで:

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

とネクサス(のsettings.xml)にアクセスするための設定を確認してください。

関連する問題