I'm trying to build the source code of WSO2 ESB from the following URL https://svn.wso2.org/repos/wso2/carbon/platform/tags/4.0.7/products/esb/4.6.0/
But when I'm compiling with Maven the project it throw me the following exception:
Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Axis2 Transport HTTP Pass-through Feature 1.0.2 (org.wso2.carbon.transports.passthru.feature.group 1.0.2) Missing requirement: WSO2 Carbon - Axis2 Transport HTTP Pass-through Feature 1.0.2 (org.wso2.carbon.transports.passthru.feature.group 1.0.2) requires 'org.wso2.carbon.core.server.feature.group [4.1.0.SNAPSHOT,4.2.0)' but it could not be found
What could be wrong? Is not the correct URL from the 4.6.0 source code?
Reason is you dont have required dependencies to build WSO2 ESB. Below steps will helps you to build esb 4.6.0
1.Do checkout form" https://svn.wso2.org/repos/wso2/carbon/orbit/tags/4.0.6/" and build it.
Get second checkout from "https://svn.wso2.org/repos/wso2/carbon/kernel/tags/4.0.6/" and build it.
Finally get the checkout from "https://svn.wso2.org/repos/wso2/carbon/platform/tags/4.0.6/" and build below modules by order,parent, dependencies,service-stubs,components,features,samples/shopping-cart,samples/shopping-cart-global/2.0.0
Then go to the products/esb/4.6.0/ directory and build it.
来源:https://stackoverflow.com/questions/15490302/how-to-compile-wso2-esb