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 10:41:20 UTC

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

Michael Osipov created ARCHETYPE-502:
----------------------------------------

             Summary: 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 is with {{\n}} while the rest is with {{\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)