[
https://issues.apache.org/jira/browse/MWRAPPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17655529#comment-17655529
]
ASF GitHub Bot commented on MWRAPPER-80:
----------------------------------------
gzm55 commented on PR #65:
URL: https://github.com/apache/maven-wrapper/pull/65#issuecomment-1373951163
> What with additional task per OS, like for macOs `xattr -r -d ...`?
>
> https://github.com/apache/maven-mvnd#install-manually
The "com.apple.quarantine" extended attribute is set when the zip/tgz files
are downloaded by the browsers, and not set when downloaded by curl/wget/java.
This is tested on macos since 10.15. And the original maven distribution
installed by wrapper also relies on this behavior. So the `xattr -r -d ...`
step is not required by the wrapper for both original maven and mvnd.
> Support maven-mvnd as a maven distribution
> ------------------------------------------
>
> Key: MWRAPPER-80
> URL: https://issues.apache.org/jira/browse/MWRAPPER-80
> Project: Maven Wrapper
> Issue Type: New Feature
> Components: Maven Wrapper Scripts
> Reporter: James Z.M. Gao
> Priority: Major
>
> Here is a proposal method to integrate maven-mvnd.
> When set distributionUrl to a maven-mvnd downloading url, the wrapper should
> distinguish then download/install/run the maven-mvnd on the fly. The script
> should take own the os/hardware detecting to select a proper native version.
> For example:
> * manual select platform:
> distributionUrl=[https://downloads.apache.org/maven/mvnd/0.8.2/maven-mvnd-0.8.2-darwin-amd64.zip]
> * auto select platform:
> distributionUrl=[https://downloads.apache.org/maven/mvnd/0.8.2/maven-mvnd-0.8.2-bin.zip]
> In the auto mode, the script can select the real platform via the result of
> "uname -a", or fallback to the pure java version for unknown platform. For
> `distributionSha256Sum`, we also need new pattern to support multiple
> checksum, such as
>
> * distributionSha256Sum=darwin-aarch64:111;linux-amd64:222
--
This message was sent by Atlassian Jira
(v8.20.10#820010)