You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2021/12/18 11:29:00 UTC
[jira] [Created] (MWRAPPER-38) build from source-release has different result from Git
Herve Boutemy created MWRAPPER-38:
-------------------------------------
Summary: build from source-release has different result from Git
Key: MWRAPPER-38
URL: https://issues.apache.org/jira/browse/MWRAPPER-38
Project: Maven Wrapper
Issue Type: Bug
Components: Maven Wrapper Scripts
Affects Versions: 3.1.0
Reporter: Herve Boutemy
Fix For: 3.2.0
{noformat}
$ unzip maven-wrapper-parent-3.1.0-source-release.zip
$ cd maven-wrapper-parent-3.1.0/
$ rm DEPENDENCIES LICENSE NOTICE
$ mvn -Papache-release clean verify -Dgpg.skip artifact:compare
$ diffoscope target/reference/maven-wrapper-distribution-3.1.0-script.zip maven-wrapper-distribution/target/maven-wrapper-distribution-3.1.0-script.zip
--- target/reference/maven-wrapper-distribution-3.1.0-script.zip
+++ maven-wrapper-distribution/target/maven-wrapper-distribution-3.1.0-script.zip
├── zipinfo /dev/stdin
│ @@ -1,6 +1,6 @@
│ Zip file size: 7999 bytes, number of entries: 4
│ --rw-rw-r-- 2.0 unx 6921 b- defN 21-Dec-13 20:56 mvnw.cmd
│ --rw-rw-r-- 2.0 unx 2091 b- defN 21-Dec-13 20:56 mvnwDebug.cmd
│ +-rw-r--r-- 2.0 unx 6921 b- defN 21-Dec-13 20:56 mvnw.cmd
│ +-rw-r--r-- 2.0 unx 2091 b- defN 21-Dec-13 20:56 mvnwDebug.cmd
│ -rwxr-xr-x 2.0 unx 10283 b- defN 21-Dec-13 20:56 mvnw
│ -rwxr-xr-x 2.0 unx 1618 b- defN 21-Dec-13 20:56 mvnwDebug
│ 4 files, 20913 bytes uncompressed, 7605 bytes compressed: 63.6%
{noformat}
reference build has group write on, local build has group write off on mvnw*.cmd
--
This message was sent by Atlassian Jira
(v8.20.1#820001)