【问题标题】:soapUI Maven integration errorsoapUI Maven 集成错误
【发布时间】:2015-07-24 06:47:26
【问题描述】:

从 Maven 运行soapUI 测试时出现错误。

[INFO] --- soapui-pro-maven-plugin:4.6.1:test (默认) @ HelloWorld.application


下载: http://www.soapui.org/repository/maven2/com/smartbear/soapui/soapui/4.6.1/soapui-4.6.1.jar

[ERROR] 未能执行目标 com.smartbear.soapui:soapui-pro-maven-plugin:4.6.1:test (默认) on project HelloWorld.application:目标的执行默认值 com.smartbear.soapui:soapui-pro-maven-plugin:4.6.1:test failed: Plugin com.smartbear.soapui:soapui-pro-maven-plugin:4.6.1 或其之一 无法解决依赖关系:无法传输工件 com.smartbear.soapui:soapui:jar:4.6.1 从/到 SmartBearPluginRepository (http://www.soapui.org/repository/maven2/):

GET请求:com/smartbear/soapui/soapui/4.6.1/soapui-4.6.1.jar 从 SmartBearPluginRepository 失败:内容长度过早结束 分隔消息正文(预期:10092383;收到:7941773 -> [帮助 1]

soapui-4.6.1.jar 中似乎有一些问题。它没有成功下载。我尝试从浏览器下载 jar 文件,但不成功。

【问题讨论】:

  • 你能发布你的 pom.xml 吗?您也可以尝试删除 $USER_HOME/.m2/repository/com/smartbear 目录并重试。
  • 另外,可能是服务器的原因。我尝试从浏览器下载,甚至在 %70 失败。您可以尝试从浏览器下载,成功后您可以手动更新本地存储库。
  • 您这边好像是网络问题?尝试不同的版本来证明这一点。

标签: maven soapui maven-plugin


【解决方案1】:

看来是网络问题。当我使用不同的服务提供商连接到互联网时,Maven 下载了该文件。

【讨论】: