Hi Chanaka,

Check the p2-plugin version in the p2-profile module in the ESB.
There you can find segment like

<plugin>

   <groupId>org.wso2.maven</groupId>

   <artifactId>carbon-p2-plugin</artifactId>

   <version>${carbon.p2.plugin.version}</version>

check the version there

Thanks

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

> Hi Kasun,
>
> I tried with maven 3.0.5 and got the same error, how do I change the
> version of the p2 plugin?
>
> Thanks
>
> On Tue, Apr 28, 2015 at 10:31 AM, Kasun Gajasinghe <[email protected]>
> wrote:
>
>>
>> Can you guys build with maven 3.0.x, and update the status as Manoj
>> mentioned?
>>
>> This may have occurred due to a latest p2 plugin release. If the above
>> doesn't work, set the p2 plugin version as 1.5.4, and build the product.
>>
>> Thanks.
>>
>> On Apr 28, 2015, at 10:26 AM, Firzhan Naqash <[email protected]> wrote:
>>
>> Hi Chanaka,
>>
>> The same error has also been observed in IS. I am not sure whether this
>> error occurs due to change in p2 plugin.
>>
>> I am adding kasung.
>>
>> Regards,
>> Firzhan
>>
>> On Mon, Apr 27, 2015 at 11:48 PM, Chanaka Sampath Cooray <
>> [email protected]> wrote:
>>
>>> Ok I will try maven 3.0.x and let you know the results.
>>>
>>> Thanks.
>>>
>>> On Tue, Apr 28, 2015 at 10:13 AM, Manoj Kumara <[email protected]> wrote:
>>>
>>>> Did you tried with maven 3.0.x
>>>>
>>>>
>>>> *Manoj Kumara*
>>>> Software Engineer
>>>> WSO2 Inc. http://wso2.com/
>>>> *lean.enterprise.middleware*
>>>> Mobile: +94713448188
>>>>
>>>> On Tue, Apr 28, 2015 at 10:10 AM, Chanaka Sampath Cooray <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Manoj,
>>>>>
>>>>> I used the repo [1] and the master branch of that and I also checked
>>>>> with the M6 and M7 releases as well, None of them did not work for me.
>>>>>
>>>>> [1] https://github.com/wso2/product-esb
>>>>>
>>>>> Regards,
>>>>> Chanaka
>>>>>
>>>>> On Tue, Apr 28, 2015 at 10:04 AM, Manoj Kumara <[email protected]> wrote:
>>>>>
>>>>>> 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
>>>
>>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to