You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2013/06/08 23:51:03 UTC

[jira] (ARCHETYPE-413) on linux adding element to generate pom.xml changes line endings to /r/n

     [ https://jira.codehaus.org/browse/ARCHETYPE-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier closed ARCHETYPE-413.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3
         Assignee: Arnaud Heritier

patch applied. Thx a lot
                
> on linux adding <parent> element to generate pom.xml changes line endings to /r/n
> ---------------------------------------------------------------------------------
>
>                 Key: ARCHETYPE-413
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-413
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 2.2
>            Reporter: Milos Kleint
>            Assignee: Arnaud Heritier
>            Priority: Critical
>             Fix For: 2.3
>
>         Attachments: ARCHETYPE-413.patch
>
>
> originally reported as http://netbeans.org/bugzilla/show_bug.cgi?id=197505
> the newly created pom.xml from any archetype is modified by the archetype plugin in case the current working directory contains a pom.xml file and a <parent> section is inserted to the newly created pom.
> on linux this appears to be changing newlines from \n to \r\n (windows style newlines) which becomes a problem with scm systems for example.
> included is a patch that fixes the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira