[ https://jira.codehaus.org/browse/MASSEMBLY-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=335145#comment-335145 ]
Steve Cohen commented on MASSEMBLY-670: --------------------------------------- Looking at source some more I eventually find my way here: org.codehaus.plexus.archiver.tar.TarArchiver line 318-320 318 long teLastModified = entry.getResource().getLastModified(); 319 te.setModTime( teLastModified == PlexusIoResource.UNKNOWN_MODIFICATION_DATE ? System.currentTimeMillis() 320 : teLastModified ); evidently, in my case, teLastModified == PlexusIoResource.UNKNOWN_MODIFICATION_DATE (0) Why would that be the case? > 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