Hi,

Adding 1.5.4 as the version solved the problem.

Thanks everyone.

On Tue, Apr 28, 2015 at 2:57 PM, Supun Malinga <[email protected]> wrote:

> Hi,
>
> To set the p2 plugin version to 1.5.4, if the version not defined in the
> p2 pom you need to define the version.
> <plugin>
>                 <groupId>org.wso2.maven</groupId>
>                 <artifactId>carbon-p2-plugin</artifactId>
>                 *<version>${carbon.p2.plugin.version}</version>*
>
>
>
> On Tue, Apr 28, 2015 at 11:59 AM, Isuru Ranawaka <[email protected]> wrote:
>
>> Hi all,
>>
>> After after changing p2-plugin version to 1.5.4 above mentioned error
>> will be fixed but there will be still build breaks if builds in clean repo.
>> Because current develop branch refers to old jars and those are got
>> removed . So we need to update to newer versions and for that we need to
>> wait until carbon-governance is released.
>>
>> thanks
>>
>> On Tue, Apr 28, 2015 at 11:16 AM, KasunG Gajasinghe <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>>
>>> On Tue, Apr 28, 2015 at 11:04 AM, Isuru Ranawaka <[email protected]>
>>> wrote:
>>>
>>>> Hi KasunG,
>>>>
>>>> After changing  p2-plugin version for 1.5.4  it works
>>>>
>>>> On Tue, Apr 28, 2015 at 10:51 AM, Kasun Indrasiri <[email protected]>
>>>> wrote:
>>>>
>>>>> Isn't this a bug in latest p2 plugin ?
>>>>>
>>>>>
>>> It looks like it. Please stick to the 1.5.4 version for your build. We
>>> will fix the issue in 1.5.5, and do a release.
>>>
>>> @Chanaka/Isuru, can you file a bug in jira?
>>>
>>> Thanks.
>>>
>>>
>>>> On Tue, Apr 28, 2015 at 10:47 AM, Manoj Kumara <[email protected]> wrote:
>>>>>
>>>>>> [Adding ESB team]
>>>>>>
>>>>>>
>>>>>> *Manoj Kumara*
>>>>>> Software Engineer
>>>>>> WSO2 Inc. http://wso2.com/
>>>>>> *lean.enterprise.middleware*
>>>>>> Mobile: +94713448188
>>>>>>
>>>>>> On Tue, Apr 28, 2015 at 10:43 AM, Thusitha Thilina Dayaratne <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Kasun Indrasiri
>>>>> Software Architect
>>>>> WSO2, Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> cell: +94 77 556 5206
>>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards
>>>> Isuru Ranawaka
>>>> M: +94714629880
>>>> Blog : http://isurur.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>> email: kasung AT spamfree wso2.com
>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>> blog: http://kasunbg.org
>>>
>>>
>>>
>>
>>
>>
>> --
>> Best Regards
>> Isuru Ranawaka
>> M: +94714629880
>> Blog : http://isurur.blogspot.com/
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: [email protected] <[email protected]>
> mobile: +94 (0)71 56 91 321
>
> _______________________________________________
> 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