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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15372793#comment-15372793 ] 

Hudson commented on ARCHETYPE-502:
----------------------------------

SUCCESS: Integrated in maven-archetype-m3 #214 (See [https://builds.apache.org/job/maven-archetype-m3/214/])
[ARCHETYPE-502] XMLOutputter generates files with inconsistent line (michaelo: rev 11907b619a2c363def22fe5a2d8decc8a89ffeca)
* archetype-common/src/main/java/org/apache/maven/archetype/common/util/XMLOutputter.java


> 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)