simono commented on PR #435:
URL: https://github.com/apache/maven-wrapper/pull/435#issuecomment-6751554540

   Agreed, a simpler mvnw would be nice. Two things to keep in mind if `jar` 
becomes the extractor:
   
   - JRE-only images (e.g. `eclipse-temurin:*-jre`) don't have it: `jar` lives 
in the `jdk.jartool` module, which only ships with a JDK.
   - `jar xf` doesn't restore Unix permissions, so `bin/mvn` would come out 
non-executable and would need a `chmod` afterwards. Quick check with JDK 25: a 
zip entry stored as `-rwxr-xr-x` extracts as `-rw-r--r--`.
   
   Thanks for confirming this one doesn't regress anything; could you or 
@bmarwell (who approved earlier) merge it?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to