0

我从 github 下载代码,并尝试从平台运行“mvn compile”,然后出现以下错误:

D:\wso2\platform-master>mvn compile 在地址:8000 监听传输 dt_socket

[INFO] Scanning for projects...
[ERROR] The build could not read 4 projects -> [Help 1]
[ERROR]
[ERROR]   The project org.wso2.carbon:carbon-dependents:4.2.0-SNAPSHOT (D:\wso2\platform-master\dependencies\pom.xml) has 1 error
[ERROR]     Child module D:\wso2\platform-master\dependencies\commons\charon\2.0.0-SNAPSHOT of D:\wso2\platform-master\dependencies\pom.xml does not e
xist
[ERROR]
[ERROR]   The project org.wso2.carbon:carbon-components:4.2.0-SNAPSHOT (D:\wso2\platform-master\components\pom.xml) has 1 error
[ERROR]     Child module D:\wso2\platform-master\components\jaggery of D:\wso2\platform-master\components\pom.xml does not exist
[ERROR]
[ERROR]   The project org.wso2.carbon:carbon-features:4.2.0-SNAPSHOT (D:\wso2\platform-master\features\pom.xml) has 1 error
[ERROR]     Child module D:\wso2\platform-master\features\jaggery\features of D:\wso2\platform-master\features\pom.xml does not exist
[ERROR]
[ERROR]   The project org.wso2.carbon:carbon-products:4.2.0-SNAPSHOT (D:\wso2\platform-master\products\pom.xml) has 1 error
[ERROR]     Child module D:\wso2\platform-master\products\integration\security-verifier of D:\wso2\platform-master\products\pom.xml does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
4

1 回答 1

1

当你说,你从 GitHub 下载代码时,我猜你克隆了https://github.com/wso2/platform

WSO2 目前使用 SVN 作为主要源存储库,因此我建议您使用 SVN 存储库。以下是当前的 WSO2 Carbon 代码。

https://svn.wso2.org/repos/wso2/carbon/

在查看代码之前,请确保您了解 SVN 存储库的结构。

网上有很多关于从源代码构建 WSO2 Carbon 的资源。请在网上搜索。这是我对有关从源代码构建的类似问题的回答。

仅供参考:WSO2 刚刚发布了 Carbon 4.2.0,因此我们目前使用 4.2.0 分支。

于 2013-09-05T03:14:03.297 回答