[
https://issues.apache.org/jira/browse/MWRAPPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17655862#comment-17655862
]
ASF GitHub Bot commented on MWRAPPER-80:
----------------------------------------
gzm55 commented on PR #65:
URL: https://github.com/apache/maven-wrapper/pull/65#issuecomment-1374992444
> please also add IT test - to see how it works
IT test is added. The test case success on linux and macos, but failed on
windows since not implemented in `mvnw.cmd`.
> 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)