【问题标题】:Failed to parse plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1无法解析 org.apache.maven.plugins:maven-clean-plugin:2.4.1 的插件描述符
【发布时间】:2015-04-13 13:36:05
【问题描述】:

我有一个 Maven 项目并将其上传到 SubVersion。对于持续集成,我们使用的是 Team City。我确实在 Team City 中配置了一个构建,并尝试通过 Team City 运行我的项目。运行构建时出现以下错误。请指教。

[com.testing:MavenTestUC] 无法解析 org.apache.maven.plugins:maven-clean-plugin:2.4.1 的插件描述符(C:\Users\autobuild.m2\repository\org\apache\maven \plugins\maven-clean-plugin\2.4.1\maven-clean-plugin-2.4.1.jar): 打开 zip 文件时出错

【问题讨论】:

  • 在构建过程中检查控制台输出。我假设有关于下载问题/校验和验证问题等的警告。此外,maven-clean-plugin 2.4.1 有点过时......当前版本 2.6.1。

标签: maven selenium teamcity


【解决方案1】:

下载的工件似乎已损坏。尝试删除以下目录并重试:

C:\Users\autobuild.m2\repository\org\apache\maven\plugins\maven-clean-plugin\2.4.1

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-01
    • 1970-01-01
    • 2018-03-07
    • 1970-01-01
    • 2018-08-24
    • 1970-01-01
    相关资源
    最近更新 更多