You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/07/12 11:47:20 UTC

[jira] [Closed] (ARCHETYPE-502) XMLOutputter generates files with inconsistent line ending on Windows

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

Michael Osipov closed ARCHETYPE-502.
------------------------------------
    Resolution: Fixed

Fixed with [11907b619a2c363def22fe5a2d8decc8a89ffeca|https://git-wip-us.apache.org/repos/asf?p=maven-archetype.git;a=commit;h=11907b619a2c363def22fe5a2d8decc8a89ffeca].

> XMLOutputter generates files with inconsistent line ending on Windows
> ---------------------------------------------------------------------
>
>                 Key: ARCHETYPE-502
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-502
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Creator, Generator
>    Affects Versions: 2.4
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>             Fix For: 2.5
>
>
> Run ITs on Windows and inspect {{maven-archetype-plugin\target\it\build-archetype-and-run-its-with-existing-parent\target\test-classes\projects\basic\project\project\basic\pom.xml}}. The license header contains {{\n}} while the rest contains {{\r\n}}. Though this is mandated by the XML recommentation to normalize line endings for comments and alike to {{\n}}, it leaves us with inconsistent files where several SCMs will refuse to commit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)