为了账号安全,请及时绑定邮箱和手机立即绑定

报错报错maven-source-plugin:jar:2.4 is missing, no dependency information available

在执行 clean package 出现以下问题:

好像是下载时出现的问题


[INFO] Scanning for projects...

[INFO]                                                                         

[INFO] ------------------------------------------------------------------------

[INFO] Building maventest 0.0.1-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.apache.plugins:maven-source-plugin:jar:2.4 is missing, no dependency information available

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.517 s

[INFO] Finished at: 2016-07-28T16:52:01+08:00

[INFO] Final Memory: 7M/155M

[INFO] ------------------------------------------------------------------------

[ERROR] Plugin org.apache.plugins:maven-source-plugin:2.4 or one of its dependencies                  could not be resolved: Failure to find org.apache.plugins:maven-source-                            plugin:jar:2.4 in http://10.204.105.107:8080/nexus/content/groups/public/ was                cached in the local repository, resolution will not be reattempted until the update                interval of public has elapsed or updates are forced -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException


正在回答

3 回答

报这个错误的都是因为网络问题导致jar包没有下载下来!maven-source-plugin:2.4 or one of its dependencies                  could not be resolved

0 回复 有任何疑惑可以回复我~

接上 :    https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> 

0 回复 有任何疑惑可以回复我~
#1

慕粉3583444 提问者

这个发重复了
2016-07-29 回复 有任何疑惑可以回复我~

 cached in the local repository, resolution will not be reattempted until the update 本地仓库删除 对应的jar 重新下载

0 回复 有任何疑惑可以回复我~
#1

慕粉3583444 提问者

好比如删除什么jar呢?我已经试过把整个 .m2 文件夹 删除了,maven也重新装过了。刚学maven,还想再求帮忙,非常感谢!
2016-07-29 回复 有任何疑惑可以回复我~
#2

慕粉3583444 提问者 回复 慕粉3583444 提问者

[ERROR] Plugin org.apache.plugins:maven-source-plugin:2.4 or one of its dependencies could not be resolved: Failure to find org.apache.plugins:maven-source-plugin:jar:2.4 in
2016-07-29 回复 有任何疑惑可以回复我~
#3

慕粉3583444 提问者 回复 慕粉3583444 提问者

接上 : https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced ->
2016-07-29 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
项目管理利器——maven
  • 参与学习       173090    人
  • 解答问题       742    个

使用maven来构建和管理Java项目,从环境配置,到maven核心知识

进入课程

报错报错maven-source-plugin:jar:2.4 is missing, no dependency information available

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信