You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/08/30 16:54:09 UTC

[maven-source-plugin] branch MSOURCES-120 updated: try to ignore permissions to get better reproducibility

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

hboutemy pushed a commit to branch MSOURCES-120
in repository https://gitbox.apache.org/repos/asf/maven-source-plugin.git


The following commit(s) were added to refs/heads/MSOURCES-120 by this push:
     new 4aa8327  try to ignore permissions to get better reproducibility
4aa8327 is described below

commit 4aa8327b6aa9f1226c3ab9123f669a78a870807b
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Fri Aug 30 18:54:05 2019 +0200

    try to ignore permissions to get better reproducibility
---
 src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java b/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java
index 2300882..255be6a 100644
--- a/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java
+++ b/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java
@@ -292,6 +292,7 @@ public abstract class AbstractSourceJarMojo
                     return s1.compareTo( s2 );
                 }
             } );
+            archiver.getArchiver().setIgnorePermissions( true );
         }
 
         for ( MavenProject pItem : theProjects )