【发布时间】:2016-08-10 06:09:07
【问题描述】:
我正在尝试创建可以执行 SOAPUI 测试用例的简单 MAVEN 项目。
我正在尝试使用 SOAPUI 网站中提到的 pom.xml。以下是链接:
http://smartbearsoftware.com/repository/maven2/com/smartbear/soapui/soapui/5.2.1/
在 POM.xml 中我得到以下异常:
Project build error: Non-resolvable parent POM for com.smartbear.soapui:soapui:[unknown-version]: Failure to find com.smartbear.soapui:soapui-project:pom:
5.2.1 in 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 and 'parent.relativePath' points at wrong local POM
正如错误消息所说,我认为它找不到父存储库。
【问题讨论】:
-
您在 pom 文件中的某处使用了错误的依赖项等,没有版本:
com.smartbear.soapui:soapui:[unknown-version]? -
@khmarbaise 感谢您的回复。我为此添加了版本。还是一样的问题
-
删除本地仓库
$HOME/.m2/repository/com/smartbear/soapui中的文件夹并重建... -
还是一样的问题..