0
votes

I have downloaded platform source code and trying to build ESB 4.6.0 "by running mvn clean install inside "carbon/platform/tags/4.0.7/patch-releases/4.0.6/"

I am getting following error message -

Installation failed. Cannot complete the install because one or more required items could not be foun d. Software being installed: WSO2 Carbon - Axis2 Transport HTTP Pass-through Featu re 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,4.2.0)' but it could not be found Application failed, log file location: C:\Users\user.m2\repository\org\eclipse\ tycho\tycho-p2-runtime\0.13.0\eclipse\configuration\1368415821993.log

1

1 Answers

0
votes

Can you comment out following two code segments in pom.xml[1] and continue build using "mvn clean install -Dmaven.test.skip=true -Dproduct=esb" inside "carbon/platform/tags/4.0.7/patch-releases/4.0.6/" . this passthru feature is already included in synapse code. so you can remove it.

@line 178
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.transports.passthru.feature:${passthru.transport.patch.version}</featureArtifactDef>

@line 512
    <feature>
          <id>org.wso2.carbon.transports.passthru.feature.group</id>
          <version>${passthru.transport.patch.version}</version>
    </feature>

[1] https://svn.wso2.org/repos/wso2/carbon/platform/tags/4.0.7/products/esb/4.6.0/modules/p2-profile/pom.xml