[ https://issues.apache.org/activemq/browse/SM-699?page=all ]

Anders Hammar resolved SM-699.
------------------------------

    Resolution: Fixed

Turns out it it possible to specify the encoding in the plugin configuration 
(in the pom.xml) like this:

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.servicemix.tooling</groupId>
                <artifactId>jbi-maven-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <type>service-assembly</type>
                    <encoding>ISO-8859-1</encoding>
                </configuration>
            </plugin>
        </plugins>
    </build>


> Incorrect encoding in generated jbi.xml
> ---------------------------------------
>
>                 Key: SM-699
>                 URL: https://issues.apache.org/activemq/browse/SM-699
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.0
>         Environment: MS Windows XP SP2, Maven 2.0.4
>            Reporter: Anders Hammar
>            Priority: Minor
>
> The jbi.xml file generated by the jbi-maven-plugin gets encoding="UTF-8". 
> This will result in error if, for instance, some special characters are 
> included in the file (Swedish characters such as åäö, for instance). As some 
> strings (e.g. project.name) are copied from the pom.xml file, this could 
> happen (the pom.xml could, for instance, have encoding="ISO-8859-1").
> Possible solutions would be to honor the encoding in the pom.xml or allow the 
> encoding to be specified by plugin configuration.
> Work-around for now is to remove special characters in pom.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to