V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
工单节点使用指南
• 请用平和的语言准确描述你所遇到的问题
• 厂商的技术支持和你一样也是有喜怒哀乐的普通人类,尊重是相互的
• 如果是关于 V2EX 本身的问题反馈,请使用 反馈 节点
nothingistrue
V2EX  ›  全球工单系统

163,你家 Maven 镜像用不了了

  •  
  •   nothingistrue · 2019-11-22 15:08:33 +08:00 · 2682 次点击
    这是一个创建于 1588 天前的主题,其中的信息可能已经有所发展或是发生改变。

    不知道啥内容需要 30 天,我链接都去掉了。

    网页直接访问,是 Nginx 给的 504 响应。主页看到还是每天定时更新,是不是 Nginx 配置需要更新了。

    命令行的错误日志后面补。

    4 条回复    2019-11-22 15:26:56 +08:00
    nothingistrue
        1
    nothingistrue  
    OP
       2019-11-22 15:12:32 +08:00
    好吧,虽然链接都表面上去掉了,貌似还是过不了后台,我再打下码,凑合着看吧。

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:copy (copy-winsw-exe) on project xxxxxxxxr: Unable to find/resolve artifact.: Failed to read artifact descriptor for com.sun.winsw:winsw:exe:bin:2.1.2: Could not transfer artifact com.sun.winsw:winsw:pom:2.1.2 from/to nexus-163 (~~~~~~~~~~~~~repository/maven-public/): Failed to transfer file:~~~~~~~~~/repository/maven-public/com/sun/winsw/winsw/2.1.2/winsw-2.1.2.pom. Return code is: 504, ReasonPhrase: Gateway Time-out. -> [Help 1]
    nothingistrue
        2
    nothingistrue  
    OP
       2019-11-22 15:14:40 +08:00
    所有链接都是 http,不是 https。
    nothingistrue
        3
    nothingistrue  
    OP
       2019-11-22 15:17:49 +08:00
    阿里 Maven 不是官方镜像,而是 jcenter 的镜像,貌似还有魔改,经常出问题。网易你家的已不能访问,现在老难受。
    nothingistrue
        4
    nothingistrue  
    OP
       2019-11-22 15:26:56 +08:00
    [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-clean-plugin:jar:2.5 in ~~~~~maven.aliyun~~~~/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced -> [Help 1]

    这就是阿里 Maven 镜像干得好事,org.apache.maven.plugins:maven-clean-plugin:2.5,这个包它竟然没有。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2933 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:09 · PVG 23:09 · LAX 08:09 · JFK 11:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.