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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.3
    • 3.0.0-M4
    • None
    • 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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            slachiewicz Sylwester Lachiewicz
            sb@dod.no Steinar Bang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment