You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2013/11/01 20:17:52 UTC
[jira] (MASSEMBLY-670) assembly plugin tar.gz format does not
preserve timestamps of files it adds to archive
[ https://jira.codehaus.org/browse/MASSEMBLY-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=335026#comment-335026 ]
Kristian Rosenvold commented on MASSEMBLY-670:
----------------------------------------------
I just tested this on the official maven distribution;
git clone https://git-wip-us.apache.org/repos/asf/maven.git
mvm clean install
cd apache-maven/target
extract zip file and tar file, observe all file timestamps are correct.
Can you test this same sequence on your machine ? If this does not work, it might be something platform/os/file system specific ?
> assembly plugin tar.gz format does not preserve timestamps of files it adds to archive
> --------------------------------------------------------------------------------------
>
> Key: MASSEMBLY-670
> URL: https://jira.codehaus.org/browse/MASSEMBLY-670
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Components: component descriptor
> Affects Versions: 2.4
> Environment: linux
> Reporter: Steve Cohen
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira