Uploaded image for project: 'Maven Wrapper'
  1. Maven Wrapper
  2. MWRAPPER-101

Cannot set distributionUrl to maven-mvnd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.2.0
    • None
    • Maven Wrapper Scripts
    • None
    • Linux

    Description

      Issue MWRAPPER-80 should have allowed me to set

      distributionUrl=https://downloads.apache.org/maven/mvnd/0.9.0/maven-mvnd-0.9.0-bin.zip 

      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

      distributionUrl=https://downloads.apache.org/maven/mvnd/0.9.0/maven-mvnd-0.9.0-linux-amd64.tar.gz

      I get this message "distributionUrl is not valid, must match bin.zip or maven-mvnd.zip"

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            delany Delany
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: