Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-1025

release:prepare and release:update-version sets line endings to crlf for all lines except the first and last lines of the pom.xml files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.5.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      debian 9.8 "stretch", amd64, openjdk 8u212-b01-1~deb9u1, maven 3.3.9-4

      Description

      For these two projects

      line endings in the pom.xml files are messed up when I do

      mvn release:prepare
      

      or bump versions with e.g.

      mvn --batch-mode release:update-versions -DdevelopmentVersion=1.0.2-SNAPSHOT
      

      What happens to the line endings are:

      1. First line stays at lf
      2. Last line stays at lf
      3. All of the intervening lines get crlf
      4. The line endings were initially lf (at least they were meant to be)
      5. I run the "mvn release:prepare" and "mvn:update-version" commands from a command line on Debian GNU/linux

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sb@dod.no Steinar Bang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: