美文网首页Maven
Maven打包失败

Maven打包失败

作者: 王勇1024 | 来源:发表于2019-01-04 11:02 被阅读5次

    执行mvc package命令时报错如下错误:

    [ERROR] Failed to execute goal on project alpha-scheduler: Could not resolve dependencies for project com.yidian.data:alpha-scheduler:jar:0.0.1-SNAPSHOT: Failure to find com.yidian.data:alpha-commons:jar:0.0.1-20190104.022416-2 in http://artifactory.yidian.com:8081/artifactory/libs-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of snapshots 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/DependencyResolutionException
    

    原因

    在快照的更新间隔过去或强制更新之前,不会重新尝试解析

    解决方案

    删除本地已存在的快照包

    相关文章

      网友评论

        本文标题:Maven打包失败

        本文链接:https://www.haomeiwen.com/subject/ubrhrqtx.html