如何从平台目录构建wso2

时间:2013-09-05 00:52:31

标签: wso2 platform

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

D:\ wso2 \ platform-master> mvn编译 在地址: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

1 个答案:

答案 0 :(得分:1)

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

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

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

在签出代码之前,请确保了解SVN存储库的结构。

网上有很多关于从源头构建WSO2碳的资源。请在网上搜索。以下是关于从源代码构建的类似问题的answer

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