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

Specifying <lineEnding> option of <fileSet> causes timestamps not to be preserved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.5
    • component descriptor
    • None
    • linux

    Description

      (Summary originally was "assembly plugin tar.gz format does not preserve timestamps of files it adds to archive". Changed to reflect actual issue discovered through investigation.)

      The .tar.gz archives created by the assembly plugin do not preserve the timestamps of the files it adds to the archive. There is no setting to override this.

      This differs from the functionality of the tar program. That program preserves timestamps by default, when adding to the archive and there is no option to change this, although there are options to change the timestamps on extraction.

      The maven plugin should emulate tar here, I would think.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            scohen@javactivity.org Steve Cohen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: