You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/12/22 10:00:00 UTC

[jira] [Commented] (MWRAPPER-80) Support maven-mvnd as a maven distribution

    [ https://issues.apache.org/jira/browse/MWRAPPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651206#comment-17651206 ] 

ASF GitHub Bot commented on MWRAPPER-80:
----------------------------------------

nicoloboschi commented on PR #65:
URL: https://github.com/apache/maven-wrapper/pull/65#issuecomment-1362638693

   This is a great feature!
   @bmarwell @amitmisra-ww @slawekjaranowski PTAL 
   




> 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)