Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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
Attachments
Issue Links
- links to