You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Peter Palaga (Jira)" <ji...@apache.org> on 2023/05/31 15:30:00 UTC
[jira] [Commented] (MWRAPPER-105) mvnd distributionURL support for mvn qualifiers
[ https://issues.apache.org/jira/browse/MWRAPPER-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17728029#comment-17728029 ]
Peter Palaga commented on MWRAPPER-105:
---------------------------------------
Hm... the question is what is the correct URL actually? There is plenty of platform specific distros.
Setting the distributionUrl in .mvn/wrapper/maven-wrapper.properties manually to e.g.
distributionUrl=https://downloads.apache.org/maven/mvnd/1.0-m6/maven-mvnd-1.0-m6-m39-linux-amd64.zip
would make the wrapper platform specific - which I think is not really expected.
I guess the distributionUrl should perhaps contain some sort of a platform placeholder that the wrapper script should be able to resolve at runtime?
distributionUrl=https://downloads.apache.org/maven/mvnd/1.0-m6/maven-mvnd-1.0-m6-m39-@platform@.zip
> mvnd distributionURL support for mvn qualifiers
> -----------------------------------------------
>
> Key: MWRAPPER-105
> URL: https://issues.apache.org/jira/browse/MWRAPPER-105
> Project: Maven Wrapper
> Issue Type: Bug
> Affects Versions: 3.2.0
> Reporter: Delany
> Priority: Major
>
> The wrapper cannot determine the correct URL for mvnd's new qualified form which allows selecting the mvn version, for instance
> mvn wrapper:3.2.0:wrapper -Dmvnd=1.0-m6-m39 -Dtype=only-script
> [https://dist.apache.org/repos/dist/dev/maven/mvnd/1.0-m6/maven-mvnd-1.0-m6-m39-bin.zip]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)