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

on linux adding <parent> element to generate pom.xml changes line endings to /r/n

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2
    • 2.3
    • Generator
    • None
    • Patch

    Description

      originally reported as http://netbeans.org/bugzilla/show_bug.cgi?id=197505

      the newly created pom.xml from any archetype is modified by the archetype plugin in case the current working directory contains a pom.xml file and a <parent> section is inserted to the newly created pom.

      on linux this appears to be changing newlines from \n to \r\n (windows style newlines) which becomes a problem with scm systems for example.

      included is a patch that fixes the problem.

      Attachments

        1. ARCHETYPE-413.patch
          1.0 kB
          Milos Kleint

        Activity

          People

            aheritier Arnaud Heritier
            mkleint Milos Kleint
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: