Friday, May 20, 2016

How to Build WSO2 Carbon

To build WSO2 carbon from source I follow this post [1]. But when i tried to build using this mvn clean install -Dmaven.test.skip=true, I got error like below.

"
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR] 
[ERROR]   The project org.apache.tomcat.wso2:jdbc-pool:${jdbc.pool.version}.wso2v1 (/home/biruntha/Desktop/carbon/orbit/trunk/jdbc-pool/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.tomcat.wso2:jdbc-pool:${jdbc.pool.version}.wso2v1: Failure to find org.wso2.carbon:carbon-dependents:pom:4.0.0 in 
https://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]
[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
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException  "

Then Using [2] , i solve this by changing the repository link or by editing jdbc-pool/pom.xml file.




[1] - https://dzone.com/articles/how-build-wso2-carbon-420
[2] - http://mail.wso2.org/mailarchive/dev/2014-July/033978.html 




No comments:

Post a Comment