0

SecVerifier我已经检查了平台 4.0.3 标签,并且在运行时遇到了问题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 回答