Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-753

LineEnding CR to LF conversion output is wrong : All EOL are removed

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5, 2.5.1, 2.5.2, 2.5.3
    • 2.5.4
    • None
    • None

    Description

      when lineEnding=unix the conversion is not correct if the file contains CR end of line characters. The EOL characters are removed

      Example on a file containing the text:

      MKDIR,/apps/myapp/<CR>
      MKDIR,/apps/myapp/repbatch/scripts/eod/<CR>
      MKDIR,/apps/myapp/repbatch//scripts/eod/log/<CR>
      MKDIR,/apps/myapp/repbatch/scripts/cre/<CR>
      

      We should expect this:

      MKDIR,/apps/myapp/<LF>
      MKDIR,/apps/myapp/repbatch/scripts/eod/<LF>
      MKDIR,/apps/myapp/repbatch//scripts/eod/log/<LF>
      MKDIR,/apps/myapp/repbatch/scripts/cre/<LF>
      

      The result is :

      MKDIR,/apps/myapp/MKDIR,/apps/myapp/repbatch/scripts/eod/MKDIR,/apps/myapp/repbatch//scripts/eod/log/MKDIR,/apps/myapp/repbatch/scripts/cre/
      

      See zip attachment.

      Attachments

        Activity

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

          People

            krosenvold Kristian Rosenvold
            lautou Laurent TOURREAU
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment