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.com
lean.enterprise.middleware

On Fri, Oct 3, 2014 at 11:37 AM, Roshan Deniyage <[email protected]> wrote:

> 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    :  *https://twitter.com/roshku <https://twitter.com/roshku>*
> LinkedIn :  https://www.linkedin.com/in/roshandeniyage
>
>
> On Fri, Oct 3, 2014 at 10:17 AM, Chamin Nalinda <[email protected]> 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
>>
>> 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.order/pom.xml:
>> start tag unexpected character \ua0 (position: START_DOCUMENT seen
>> ...ing="UTF-8"?>\n<project xmlns="http://maven.apache.org/POM/4.0.0"\n\ua0...
>> @3:2)
>>
>> ----------------------- *Start org.wso2.carbon.process.order/pom.xml *
>> -----------------------------
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <project xmlns="http://maven.apache.org/POM/4.0.0";
>>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>>     <parent>
>>         <artifactId>process-order-components</artifactId>
>>         <groupId>org.wso2.carbon</groupId>
>>         <version>4.2.0</version>
>>     </parent>
>>     <modelVersion>4.0.0</modelVersion>
>>
>>     <artifactId>org.wso2.carbon.process.order</artifactId>
>>
>>     <packaging>bundle</packaging>
>>     <name>WSO2 Carbon - Process Order Server Component</name>
>>
>>     <build>
>>         <plugins>
>>             <plugin>
>>                 <groupId>org.apache.felix</groupId>
>>                 <artifactId>maven-bundle-plugin</artifactId>
>>                 <extensions>true</extensions>
>>                 <configuration>
>>                     <instructions>
>>
>> <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
>>                         <Bundle-Name>${pom.artifactId}</Bundle-Name>
>>
>> <Export-Package>org.wso2.carbon.process.order.*</Export-Package>
>>                     </instructions>
>>                 </configuration>
>>             </plugin>
>>         </plugins>
>>     </build>
>> </project>
>>
>>
>> ----------------------- *End org.wso2.carbon.process.order/pom.xml*
>> -----------------------------
>>
>>
>>
>>
>> --
>> *Chamin Nalinda*
>>
>> Intern - Engineering
>> WSO2 Inc. http://www.wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: (+94) 77 241 66 04
>> Linkedin: https://www.linkedin.com/in/chaminnalinda
>> Web: http://www.ckreativity.com
>>
>>
>> _______________________________________________
>> 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

Reply via email to