问题运行mvn eclipse:平台标签4.0.3上的eclipse

时间:2013-07-01 08:28:12

标签: wso2

我已检出平台4.0.3标记,并在运行SecVerifier时遇到mvn eclipse:eclipse问题。

我已清除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]

有什么想法吗?

1 个答案:

答案 0 :(得分:1)

根据错误日志,maven无法找到父pom.xml文件,因为它在给定位置不可用。您可以检查结帐代码并找出实际位置并正确设置相对路径。 这需要正常工作,但由于用户进行了一些更改,有时构建可能会中断。

希望这对你有所帮助。

感谢。