How to compile WSO2 ESB?

守給你的承諾、 提交于 2019-11-28 11:29:32

问题


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?


回答1:


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.

  1. Get second checkout from "https://svn.wso2.org/repos/wso2/carbon/kernel/tags/4.0.6/" and build it.

  2. 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

  3. Then go to the products/esb/4.6.0/ directory and build it.



来源:https://stackoverflow.com/questions/15490302/how-to-compile-wso2-esb

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!