Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: plexus-archiver-1.2
-
Fix Version/s: None
-
Component/s: plexus-archiver
-
Labels:None
-
Environment:Linux x86_84
-
Number of attachments :
Description
When building a directory archive, DirectoryArchiver does not preserve files' last modification times as it seems meant to.
Steps to reproduce:
1) Untar the attached sample project
2) Run 'mvn package'
3) Notice that files in target/sample-1.0-dist-dir/config have mod times from the build instead of copied from src/main/config.
Expected behavior:
The copied files should preserve modification time.
Here's a patch based on trunk that fixes the issue for me.