Re: [Dev] Carbon component writing pom xml error

2014-10-07 Thread Darshana Akalanka Pagoda Arachchi
Hi Buddhi, Is this issue resolved? Have you tried removing ** open and close tags and specially adding the *version* of the maven bundle plugin? As Vimalanathan suggested this does not effect the end result, only eclipse has an issue understanding this. The structure as below.

Re: [Dev] Carbon component writing pom xml error

2014-10-06 Thread Saneth Dharmakeerthi
HI Buddhi, Remove the ** tag from your POM and add following segment in-between and * * org.eclipse.m2e lifecycle-mapping 1.0.0 org.codehaus.mojo build-helper-maven-plugin [1.9.1,) add-source org.apache.maven.plugins maven-antrun

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Chamin Nalinda
Hi Amal, Thanks for heaps :) On Fri, Oct 3, 2014 at 1:21 PM, Amal Gunatilake wrote: > Hi Chamin, > > If you are badly need to copy pasting a code from web, you can convert the > clipboard text using [1] to make it to the correct standard encoding. > > [1] > http://coderstoolbox.net/string/#!enc

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Amal Gunatilake
Hi Chamin, If you are badly need to copy pasting a code from web, you can convert the clipboard text using [1] to make it to the correct standard encoding. [1] http://coderstoolbox.net/string/#!encoding=xml&action=decode&charset=utf_8 Thank you & Best regards, *Amal Gunatilake* Software Engin

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Vimalanathan Rajeevan
Hi Buddhi, You have to remove *..* tag to successfully build it using maven. After removing that, even though the line is marked as error in Eclipse, It does not matter. This may be because of some bug with Eclipse. You can even successfully build the bundle and deploy in carbon server. On Fri, O

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Buddhi Senarathna
Hi all, Thanks for your support. I did remove tag and tested with . but result was the same. then i tried as Roshan said. now it is working fine. but again eclipse indicates *Plugin execution not covered by lifecycle configuration* error in ** tag. i have no issue with building the jar file. maven

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Chamin Nalinda
Hi to Chamila and Amal, Thanks Chamila for the explanation. Amal, do I have to code manually? What are the recommended options if I need to use a code that is available on web ? On Fri, Oct 3, 2014 at 12:09 PM, Chamila De Alwis wrote: > > On Fri, Oct 3, 2014 at 11:46 AM, Amal Gunatilake wrot

Re: [Dev] Carbon component writing pom xml error

2014-10-02 Thread Roshan Deniyage
yes. the element is not (typo). but same rule applies. Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku * LinkedIn : https://www.linkedin.com/in/roshandeniyage On Fri, Oct 3,

Re: [Dev] Carbon component writing pom xml error

2014-10-02 Thread Shashika Karunatilaka
Hi Buddhi, Try to use instead of tag On Fri, Oct 3, 2014 at 12:11 PM, Roshan Deniyage wrote: > Hi, > The problem seems with the "" element. you don't need to > put that element unless the pom is a parent pom which is inherited by other > children poms. "maven-bundle-plugin" needs to come out

Re: [Dev] Carbon component writing pom xml error

2014-10-02 Thread Roshan Deniyage
Hi, The problem seems with the "" element. you don't need to put that element unless the pom is a parent pom which is inherited by other children poms. "maven-bundle-plugin" needs to come outside of the "" tag. Just removing the "" would solve the issue. Try it. Thanks, Roshan Deniyage Associat

Re: [Dev] Carbon component writing pom xml error

2014-10-02 Thread Chamila De Alwis
On Fri, Oct 3, 2014 at 11:46 AM, Amal Gunatilake wrote: > Best practice is to generate the pom from your IDE (esclipse, Idea) and > then do the updates. +1 When displaying code online, the formatters usually insert HTML tags and other formatting characters. Create the projects and submodules u

Re: [Dev] Carbon component writing pom xml error

2014-10-02 Thread Amal Gunatilake
Hi Chamin, Did you copy paste any code from a web page? I think there are hidden characters placed in your pom file. Best practice is to generate the pom from your IDE (esclipse, Idea) and then do the updates. Thank you & Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2

Re: [Dev] Carbon component writing pom xml error

2014-10-02 Thread Roshan Deniyage
Hi Chamin, It seems your pom file contains non-unicode characters. Which IDE are you using? Make sure that you save your pom files and source files in UTF-8 format. Try that way. Thanks, Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter

Re: [Dev] Carbon component writing pom xml error

2014-10-02 Thread Chamin Nalinda
Hi Tharindu, I tried it, but still it remains. I found the following link[1]. I suppose, this is because, I did *copy and pasting *the code (and did adjustments accordingly). It was quite all right when I follow this tutorial[2] before I started Order Processing example. [1] http://stackoverflow

[Dev] Carbon component writing pom xml error

2014-10-02 Thread Buddhi Senarathna
Hi All, I wrote pom.xml file to build the stub to create my carbon component. When i build it, it builds the bundle without giving any error. but it indicates an error in ** tag and it says "Plugin execution not covered by lifecycle configuration". to fix that i had put all the *..* part inside *.

Re: [Dev] Carbon component writing pom xml error

2014-10-02 Thread Tharindu Edirisinghe
Hi Chamin, Try adding below to the pom file. UTF-8 Seems it's a character encoding issue. On Fri, Oct 3, 2014 at 10:17 AM, Chamin Nalinda wrote: > Hi All, > > When I try to write the carbon component, I get the following error in my > org.wso2.carbon.process.order/pom.xml > > T

[Dev] Carbon component writing pom xml error

2014-10-02 Thread Chamin Nalinda
Hi All, When I try to write the carbon component, I get the following error in my org.wso2.carbon.process.order/pom.xml The error line is in red color *Error Message* Project build error: Non-parseable POM /home/coolck/Carbon/myWS/process-order/process-order-components/org.wso2.carbon.process.o