簡體   English   中英

Maven程序集插件無法執行

[英]Maven assembly plugin fails to execute

嘗試“ MVN包”后,我收到此消息。 檢索Google Collections jar似乎有問題,但是我不確定這是否是唯一的問題。

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single (make-assembly) on project recommender:
  Execution make-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single failed:
  Plugin org.apache.maven.plugins:maven-assembly-plugin:2.3 or one of its dependencies could not be resolved:
  Failed to collect dependencies for org.apache.maven.plugins:maven-assembly-plugin:jar:2.3 ():
  Failed to read artifact descriptor for com.google.collections:google-collections:jar:1.0:
  Could not transfer artifact com.google.collections:google-collections:pom:1.0 from/to central (http://repo1.maven.org/maven2): 
  Specified destination directory cannot be created: /Users/danquach/.m2/repository/com/google/collections/google-collections/1.0 -> [Help 1]

原始錯誤應該是本地問題:

Specified destination directory cannot be created:
/Users/danquach/.m2/repository/com/google/collections/google-collections/1.0
  • 您的驅動器已滿嗎?
  • 您對此路徑具有寫權限嗎?

您可以嘗試創建/Users/danquach/.m2/repository/com/google/collections然后再次調用maven。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM