This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch MASSEMBLY-941 in repository https://gitbox.apache.org/repos/asf/maven-assembly-plugin.git
commit e57cae9590e75352eb03d9245dd9eabd60f2da6c Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Fri Nov 11 18:53:41 2022 +0100 [MASSEMBLY-941] keep file permission in Reproducible mode --- pom.xml | 4 ++-- src/it/projects/reproducible/verify.groovy | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index ff550a55..0c4d55bf 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ under the License. </parent> <artifactId>maven-assembly-plugin</artifactId> - <version>3.4.3-SNAPSHOT</version> + <version>3.5.0-SNAPSHOT</version> <packaging>maven-plugin</packaging> <name>Apache Maven Assembly Plugin</name> @@ -175,7 +175,7 @@ under the License. <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> - <version>4.4.0</version> + <version>4.6.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> diff --git a/src/it/projects/reproducible/verify.groovy b/src/it/projects/reproducible/verify.groovy index 798c2fb8..9beebd90 100644 --- a/src/it/projects/reproducible/verify.groovy +++ b/src/it/projects/reproducible/verify.groovy @@ -18,13 +18,13 @@ * under the License. */ -//import java.util.zip.*; -import org.apache.commons.compress.archivers.zip.*; +//import java.util.zip.* +import org.apache.commons.compress.archivers.zip.* File deployDir = new File( basedir, 'target/repo/org/apache/maven/its/reproducible/1.0' ) assert deployDir.exists() -assert new File( deployDir, 'reproducible-1.0-src.zip.sha1' ).text == '5ce34fc133d47cbc9c81195877dbe10b9ec7d864' -assert new File( deployDir, 'reproducible-1.0-src.tar.sha1' ).text == '0b9dc1da069705a93b4954a198c18bd248822bf8' -assert new File( deployDir, 'reproducible-1.0-src.jar.sha1' ).text == '289cb3ecd418b8099deefb930dc7aa39c06888cb' +assert new File( deployDir, 'reproducible-1.0-src.zip.sha1' ).text == 'abf1cf8f84b839d796d55b9e3eb7f41530f517e5' +assert new File( deployDir, 'reproducible-1.0-src.tar.sha1' ).text == '7535236be97964050e8c4734746733c185fe1762' +assert new File( deployDir, 'reproducible-1.0-src.jar.sha1' ).text == '18a3fd34d53bf763c3b57f82260662ab7241a20c'