0

プラットフォーム 4.0.3 タグを確認したSecVerifierところ、実行時に問題が発生しましたmvn eclipse:eclipse

次の Maven キャッシュを消去しましたSecVerifier

rm -rf %USERPROFILE%\.m2\repository\org\wso2\carbon\SecVerifier
rm -rf %USERPROFILE%\.m2\repository\org\wso2\carbon\integration

次に試しましたmvn eclipse:clean eclipse:eclipse

C:\wso2\src\wso2carbon_platform_tags_403>mvn eclipse:clean eclipse:eclipse
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.wso2.carbon:SecVerifier:4.0.0 (C:\wso2\src\wso2carbon_platform_tags_403\products\integration\security-verifier\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find org.wso2.carbon:integration:pom:4.0.0 in http://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 @ line 22, column 13 -> [Help 2]

この JIRA: linkを見つけて、修正を適用しました。同様のエラー:

[ERROR]   The project org.wso2.carbon:SecVerifier:4.0.0 ... has 1 error
...
[ERROR]     Non-resolvable parent POM: Could not find artifact   
org.wso2.carbon:integration:pom:4.0.0 in central (http://repo.maven.apache.org/maven2) and 
'parent.relativePath' points at wrong local POM @ line 22, column 13 -> [Help 2]

何か案は?

4

1 に答える 1

1

エラーログによると、指定された場所で利用できないため、maven は親の pom.xml ファイルを見つけることができません。チェックアウト コードを確認して、実際の場所を特定し、相対パスを正しく設定できます。これは正しく機能する必要がありますが、ユーザーが行った変更により、ビルドが壊れる場合があります。

これがお役に立てば幸いです。

ありがとう。

于 2013-07-03T11:13:34.783 に答える