You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Delany (Jira)" <ji...@apache.org> on 2023/03/13 22:15:00 UTC

[jira] [Comment Edited] (MWRAPPER-101) Cannot set distributionUrl to maven-mvnd

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

Delany edited comment on MWRAPPER-101 at 3/13/23 10:14 PM:
-----------------------------------------------------------

[~sjaranowski] what about this section of the documentation [https://maven.apache.org/wrapper/#using-a-maven-repository-manager] where it says
{noformat}
If not set, but your mirror URL in your settings.xml is configured, it will be used.{noformat}
What does this mean?


was (Author: delany):
[~sjaranowski] what about this section of the documentation [https://maven.apache.org/wrapper/#using-a-maven-repository-manager] where it says

 
{noformat}
If not set, but your mirror URL in your settings.xml is configured, it will be used.{noformat}
 

What does this mean?

> Cannot set distributionUrl to maven-mvnd
> ----------------------------------------
>
>                 Key: MWRAPPER-101
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-101
>             Project: Maven Wrapper
>          Issue Type: Bug
>          Components: Maven Wrapper Scripts
>    Affects Versions: 3.2.0
>         Environment: Linux
>            Reporter: Delany
>            Priority: Major
>
> Issue MWRAPPER-80 should have allowed me to set
> {code:java}
> distributionUrl=https://downloads.apache.org/maven/mvnd/0.9.0/maven-mvnd-0.9.0-bin.zip {code}
> When I run `./mvnw wrapper:wrapper -Dmaven=3.9.0 -Dtype=only-script` then change the URL as above, and then run `./mvnw validate -N -X` Maven hangs with no output and no network activity.
> If I use a proxied Nexus repository for download.apache.org Maven exits immediately with exit code 6.
> If I try avoid the guessing and set the final binary name
> {code:java}
> distributionUrl=https://downloads.apache.org/maven/mvnd/0.9.0/maven-mvnd-0.9.0-linux-amd64.tar.gz{code}
> I get this message "distributionUrl is not valid, must match *-bin.zip or maven-mvnd-*.zip"
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)