执行mvn install 命令报错

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.172s
[INFO] Finished at: Sat Aug 24 00:08:34 CST 2013
[INFO] Final Memory: 11M/27M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (javadoc-jar) on project it13-bgsys: MavenReportException: Error while creating archive: Failed to resolve one or more javadoc source/resource artifacts:
[ERROR] 
[ERROR] Missing:
[ERROR] ----------
[ERROR] 1) mysql:mysql-connector-java:jar:sources:5.1.14
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=mysql -DartifactId=mysql-connector-java -Dversion=5.1.14 -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=mysql -DartifactId=mysql-connector-java -Dversion=5.1.14 -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] Path to dependency:
[ERROR] 1) com.it13.bgsys:it13-bgsys:war:0.0.1-SNAPSHOT
[ERROR] 2) mysql:mysql-connector-java:jar:sources:5.1.14
[ERROR] 
[ERROR] 2) com.it13:it13-utils:jar:sources:0.0.1-SNAPSHOT
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.it13 -DartifactId=it13-utils -Dversion=0.0.1-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.it13 -DartifactId=it13-utils -Dversion=0.0.1-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] Path to dependency:
[ERROR] 1) com.it13.bgsys:it13-bgsys:war:0.0.1-SNAPSHOT
[ERROR] 2) com.it13:it13-utils:jar:sources:0.0.1-SNAPSHOT
[ERROR] 
[ERROR] ----------
[ERROR] 2 required artifacts are missing.
[ERROR] 
[ERROR] for artifact:
[ERROR] com.it13.bgsys:it13-bgsys:war:0.0.1-SNAPSHOT

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值