Herve Boutemy created MRESOURCES-288:
----------------------------------------

             Summary: make test jar reproducible
                 Key: MRESOURCES-288
                 URL: https://issues.apache.org/jira/browse/MRESOURCES-288
             Project: Maven Resources Plugin
          Issue Type: Improvement
    Affects Versions: 3.3.0
            Reporter: Herve Boutemy


found when rebuilding release 3.3.0:
{noformat}diffoscope target/reference/maven-resources-plugin-3.3.0-tests.jar 
target/maven-resources-plugin-3.3.0-tests.jar
--- target/reference/maven-resources-plugin-3.3.0-tests.jar
+++ target/maven-resources-plugin-3.3.0-tests.jar
├── zipinfo {}
│ @@ -1,8 +1,8 @@
│ -Zip file size: 126173 bytes, number of entries: 445
│ +Zip file size: 126162 bytes, number of entries: 445
│  drwxr-xr-x  2.0 unx        0 b- stor 22-Jul-23 17:48 META-INF/
│  -rw-r--r--  2.0 unx      355 b- defN 22-Jul-23 17:48 META-INF/MANIFEST.MF
│  drwxr-xr-x  2.0 unx        0 b- stor 22-Jul-23 17:48 META-INF/plexus/
│  drwxr-xr-x  2.0 unx        0 b- stor 22-Jul-23 17:48 org/
│  drwxr-xr-x  2.0 unx        0 b- stor 22-Jul-23 17:48 org/apache/
│  drwxr-xr-x  2.0 unx        0 b- stor 22-Jul-23 17:48 org/apache/maven/
│  drwxr-xr-x  2.0 unx        0 b- stor 22-Jul-23 17:48 
org/apache/maven/plugins/
│ @@ -404,15 +404,15 @@
│  -rw-r--r--  2.0 unx       11 b- defN 22-Jul-23 17:48 
unit/test-dir/resourcePropertyFiles_MainAndExtra/src/test/resources/filter.properties
│  -rw-r--r--  2.0 unx       63 b- defN 22-Jul-23 17:48 
unit/test-dir/resourcePropertyFiles_MainAndExtra/src/test/resources/main-extra.properties
│  -rw-r--r--  2.0 unx       13 b- defN 22-Jul-23 17:48 
unit/test-dir/resourcePropertyFiles_MainAndExtra/target/classes/extra-filter.properties
│  -rw-r--r--  2.0 unx       11 b- defN 22-Jul-23 17:48 
unit/test-dir/resourcePropertyFiles_MainAndExtra/target/classes/filter.properties
│  -rw-r--r--  2.0 unx       65 b- defN 22-Jul-23 17:48 
unit/test-dir/resourcePropertyFiles_MainAndExtra/target/classes/main-extra.properties
│  -rw-r--r--  2.0 unx       39 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceSystemProperties_Filtering/src/main/resources/file4.txt
│  -rw-r--r--  2.0 unx       39 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceSystemProperties_Filtering/src/test/resources/file4.txt
│ --rw-r--r--  2.0 unx       95 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceSystemProperties_Filtering/target/classes/file4.txt
│ +-rw-r--r--  2.0 unx       80 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceSystemProperties_Filtering/target/classes/file4.txt
│  -rw-r--r--  2.0 unx        0 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceTargetPath/src/main/resources/file4.txt
│  -rw-r--r--  2.0 unx        0 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceTargetPath/src/main/resources/notpackage/file1.include
│  -rw-r--r--  2.0 unx        0 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceTargetPath/src/main/resources/notpackage/test/file2.txt
│  -rw-r--r--  2.0 unx        0 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceTargetPath/src/main/resources/package/file3.nottest
│  -rw-r--r--  2.0 unx        0 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceTargetPath/src/main/resources/package/test/file1.txt
│  -rw-r--r--  2.0 unx        0 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceTargetPath/src/test/resources/file4.txt
│  -rw-r--r--  2.0 unx        0 b- defN 22-Jul-23 17:48 
unit/test-dir/resourceTargetPath/src/test/resources/notpackage/file1.include
│ @@ -440,8 +440,8 @@
│  -rw-r--r--  2.0 unx        0 b- defN 22-Jul-23 17:48 
unit/test-dir/testResourceDirectoryStructure/target/test-classes/package/file3.nottest
│  -rw-r--r--  2.0 unx        0 b- defN 22-Jul-23 17:48 
unit/test-dir/testResourceDirectoryStructure/target/test-classes/package/test/file1.txt
│  -rw-r--r--  2.0 unx       54 b- defN 22-Jul-23 17:48 
unit/test-dir/windows-paths/src/main/resources/path-listing.txt
│  -rw-r--r--  2.0 unx       54 b- defN 22-Jul-23 17:48 
unit/test-dir/windows-paths/src/test/resources/path-listing.txt
│  -rw-r--r--  2.0 unx       86 b- defN 22-Jul-23 17:48 
unit/test-dir/windows-paths/target/classes/path-listing.txt
│  -rw-r--r--  2.0 unx     8499 b- defN 22-Jul-23 17:48 
META-INF/maven/org.apache.maven.plugins/maven-resources-plugin/pom.xml
│  -rw-r--r--  2.0 unx       84 b- defN 22-Jul-23 17:48 
META-INF/maven/org.apache.maven.plugins/maven-resources-plugin/pom.properties
│ -445 files, 80896 bytes uncompressed, 34719 bytes compressed:  57.1%
│ +445 files, 80881 bytes uncompressed, 34708 bytes compressed:  57.1%
├── unit/test-dir/resourceSystemProperties_Filtering/target/classes/file4.txt
│ @@ -1 +1 @@
│ -current-working-directory = 
D:\\Entwicklung\\Projekte\\maven-resources-plugin\\target\\checkout
│ +current-working-directory = 
/Users/hboutemy/dev/tmp/maven-resources-plugin-3.3.0
{noformat)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to