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.com/questions/1524775/error-reading-settings-xml
[2]
http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/

On Fri, Oct 3, 2014 at 10:43 AM, Tharindu Edirisinghe <tharin...@wso2.com>
wrote:

> Hi Chamin,
>
> Try adding below to the pom file.
>
>
>   <properties>
>     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>   </properties>
>
>
> Seems it's a character encoding issue.
>
>
>
>
> On Fri, Oct 3, 2014 at 10:17 AM, Chamin Nalinda <cha...@wso2.com> 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
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Tharindu Edirisinghe
> Software Engineer | WSO2 Inc
> Identity Server Team
> mobile : +94 775 181586
>



-- 
*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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to