Hi Chanaka,

What is the branch you are using. For turing branch you need to use Maven
3.0.x to build the source.

Regards,
Manoj


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188

On Tue, Apr 28, 2015 at 8:16 AM, Chanaka Sampath Cooray <
[email protected]> wrote:

> Hi all,
>
> I tried to build the esb product from the source. I got the following
> error when I tried to do that. I built using jdk 1.6 and maven 3.2.5 and I
> am using mac osx. Is there anything I have missed?
>
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen (2-p2-repo-generation) on
> project wso2esb-p2-profile: Execution 2-p2-repo-generation of goal
> org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen failed: An API
> incompatibility was encountered while executing
> org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen:
> java.lang.NoSuchMethodError:
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Lorg/codehaus/plexus/util/cli/Commandline;Lorg/codehaus/plexus/util/cli/StreamConsumer;Lorg/codehaus/plexus/util/cli/StreamConsumer;I)I
>
> [ERROR] -----------------------------------------------------
>
> [ERROR] realm =    plugin>org.wso2.maven:carbon-p2-plugin:1.5.5
>
> [ERROR] strategy =
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>
> [ERROR] urls[0] =
> file:/Users/bcchanaka/.m2/repository/org/wso2/maven/carbon-p2-plugin/1.5.5/carbon-p2-plugin-1.5.5.jar
>
> [ERROR] urls[1] =
> file:/Users/bcchanaka/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
>
> [ERROR] urls[2] =
> file:/Users/bcchanaka/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
>
> [ERROR] urls[3] =
> file:/Users/bcchanaka/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
>
> [ERROR] urls[4] =
> file:/Users/bcchanaka/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
>
> [ERROR] urls[5] =
> file:/Users/bcchanaka/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.7/plexus-utils-1.4.7.jar
>
> [ERROR] urls[6] =
> file:/Users/bcchanaka/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
>
> [ERROR] urls[7] =
> file:/Users/bcchanaka/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar
>
> [ERROR] urls[8] =
> file:/Users/bcchanaka/.m2/repository/org/sonatype/plexus/plexus-cipher/1.7/plexus-cipher-1.7.jar
>
> [ERROR] urls[9] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-equinox/0.13.0/tycho-equinox-0.13.0.jar
>
> [ERROR] urls[10] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/org.eclipse.osgi/3.8.0.v20110726-1606/org.eclipse.osgi-3.8.0.v20110726-1606.jar
>
> [ERROR] urls[11] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-equinox-api/0.13.0/tycho-equinox-api-0.13.0.jar
>
> [ERROR] urls[12] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-equinox-launching/0.13.0/tycho-equinox-launching-0.13.0.jar
>
> [ERROR] urls[13] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-core/0.13.0/tycho-core-0.13.0.jar
>
> [ERROR] urls[14] =
> file:/Users/bcchanaka/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
>
> [ERROR] urls[15] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-metadata-model/0.13.0/tycho-metadata-model-0.13.0.jar
>
> [ERROR] urls[16] =
> file:/Users/bcchanaka/.m2/repository/de/pdark/decentxml/1.3/decentxml-1.3.jar
>
> [ERROR] urls[17] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-embedder-api/0.13.0/tycho-embedder-api-0.13.0.jar
>
> [ERROR] urls[18] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-p2-facade/0.13.0/tycho-p2-facade-0.13.0.jar
>
> [ERROR] urls[19] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.facade/0.13.0/org.eclipse.tycho.p2.resolver.facade-0.13.0.jar
>
> [ERROR] urls[20] =
> file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.tools.facade/0.13.0/org.eclipse.tycho.p2.tools.facade-0.13.0.jar
>
> [ERROR] Number of foreign imports: 1
>
> [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
> null]]
>
> Regards,
> Chanaka
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to