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.

        Attachments

          Issue Links

            Activity

              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: