You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "James Z.M. Gao (Jira)" <ji...@apache.org> on 2022/10/11 07:20:00 UTC
[jira] [Created] (MWRAPPER-80) Support maven-mvnd as a maven distribution
James Z.M. Gao created MWRAPPER-80:
--------------------------------------
Summary: 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
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)