[ 
http://jira.codehaus.org/browse/MVERSIONS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars-Olof Moilanen updated MVERSIONS-72:
----------------------------------------

    Attachment: pom.xml.diff

Attached a .diff file illustrating the problem.

> versions-maven-plugin should determine POM encoding from 
> property/configuration entry
> -------------------------------------------------------------------------------------
>
>                 Key: MVERSIONS-72
>                 URL: http://jira.codehaus.org/browse/MVERSIONS-72
>             Project: Maven 2.x Versions Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Lars-Olof Moilanen
>            Priority: Minor
>         Attachments: pom.xml, pom.xml.diff, pom.xml.versionsBackup
>
>
> Where I work most pom.xml files are encoded in ISO-8859-1, some containing 
> Norwegian characters. As of today versions-maven-plugin assume UTF-8 encoding 
> for all pom.xml files, potentially corrupting contents of files not encoded 
> in UTF-8. The encoding is specified here: PomHelper.POM_ENCODING.
>    It would be nice if versions-maven-plugin determined the encoding from 
> some property -ncoding/project.build.sourceEncoding as specified here: 
> http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding.
>    It would be even nicer if it autodetected the encoding, as specified at 
> http://docs.codehaus.org/display/MAVENUSER/XML+encoding.
>    The attached files illustrate the problem; running mvn versions:set 
> -DnewVersion=1.0.1-SNAPSHOT have mangled the description in pom.xml.

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to