2016-08-10 7 views
-1

SOAPUIのテストケースを実行できる単純なMAVENプロジェクトを作成しようとしています。プロジェクトビルドエラー:com.smartbear.soapuiの解決できない親POM:soapui:[unknown-version]

SOAPUI Webサイトに記載されているpom.xmlを使用しようとしています。 pom.xmlに私は次の例外を取得しています

http://smartbearsoftware.com/repository/maven2/com/smartbear/soapui/soapui/5.2.1/

:下記のリンクである

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 

エラーメッセージとしては、私は、それは親のリポジトリを見つけていないと思うと言います。

+0

あなたのpomファイルのどこかに、バージョンがない間違った依存関係などがあります: 'com.smartbear.soapui:soapui:[unknown-version]'? – khmarbaise

+0

@khmarbaise返事をありがとう。私はそのバージョンを追加しました。それでも同じ問題 – HemaSundar

+0

あなたのローカルリポジトリ '$ HOME/.m2/repository/com/smartbear/soapui'のフォルダを削除し、再構築します... – khmarbaise

答えて

0

あなたが探している依存関係はhttp://smartbearsoftware.com/repository/maven2/ mavenリポジトリにありますが、https://repo.maven.apache.org/maven2/にはありません(少なくとも今、将来は別のレポに追加される可能性があります)。

あなたが見せているエラーは、この意味ではかなり明確である:

... Failure to find com.smartbear.soapui:soapui-project:pom:5.2.1 in https://repo.maven.apache.org/maven2 ...

あなたの問題を解決するために、あなたが必要な点を解決するために、あなたのPOM.xmlまたはあなたのMavenの設定でsmartbearリポジトリを追加しました依存関係。次のように単に<repositories>ノードを使用して、あなたのPOM.xmlに追加するたとえば:

<project> 
... 
    <repositories> 
    <repository> 
     <id>smartbear</id> 
     <name>smartbear repository</name> 
     <url>http://smartbearsoftware.com/repository/maven2</url> 
    </repository> 
    </repositories> 
... 

あなたは余分なMavenのリポジトリにhereの構成についての詳細情報を見ることができます。

関連する問題