You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2020/05/09 10:20:20 UTC

[maven-integration-testing] branch MNG-5937 updated: [MNG-5379] Unpack/copy with attributes

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch MNG-5937
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git


The following commit(s) were added to refs/heads/MNG-5937 by this push:
     new e1f1466  [MNG-5379] Unpack/copy with attributes
e1f1466 is described below

commit e1f1466df1dff2b07e924bb334103c6d4e927965
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat May 9 12:20:11 2020 +0200

    [MNG-5379] Unpack/copy with attributes
---
 .../src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java
index 3dfa224..fb0a505 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java
@@ -155,7 +155,9 @@ public class MavenITmng5937MavenWrapper
                 {
                     Files.createDirectories( newFile.getParent() );
 
-                    Files.copy( zis, newFile.toAbsolutePath(), StandardCopyOption.REPLACE_EXISTING );
+                    Files.copy( zis, newFile.toAbsolutePath(), 
+                                StandardCopyOption.REPLACE_EXISTING,
+                                StandardCopyOption.COPY_ATTRIBUTES );
                 }
 
                 zipEntry = zis.getNextEntry();