maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-670) assembly plugin tar.gz format does not preserve timestamps of files it adds to archive
Date Wed, 06 Nov 2013 09:28:53 GMT

    [ https://jira.codehaus.org/browse/MASSEMBLY-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=335252#comment-335252
] 

Kristian Rosenvold commented on MASSEMBLY-670:
----------------------------------------------

Alternately you can clone https://github.com/sonatype/plexus-io.git and just load /that/ as
the source root in eclipse, but its a bit harder that way since the assembly probably iterates
thousands of files in your project.

IntelliJ simply has an button I press to download the source for any class file that is missing
sources, I would assume even eclipse could do that :) 
                
> 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

Mime
View raw message