Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-502

XMLOutputter generates files with inconsistent line ending on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 3.0.0
    • Component/s: Creator, Generator
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          Hide
          michael-o Michael Osipov added a comment -
          Show
          michael-o Michael Osipov added a comment - Fixed with 11907b619a2c363def22fe5a2d8decc8a89ffeca .
          Hide
          hudson Hudson added a comment -

          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
          Show
          hudson Hudson added a comment - 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

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              michael-o Michael Osipov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development