You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2021/12/06 21:04:00 UTC

[jira] [Created] (MWRAPPER-25) fix installer messages

Herve Boutemy created MWRAPPER-25:
-------------------------------------

             Summary: fix installer messages
                 Key: MWRAPPER-25
                 URL: https://issues.apache.org/jira/browse/MWRAPPER-25
             Project: Maven Wrapper
          Issue Type: Bug
    Affects Versions: 0.5.6
            Reporter: Herve Boutemy
             Fix For: 3.1.0


{noformat}$ MVNW_VERBOSE=true ./mvnw -v
Found .mvn/wrapper/maven-wrapper.jar
/home/herve/projets/maven/sources/core/maven-wrapper
Apache Maven Wrapper 3.0.3-SNAPSHOT
Downloading Maven binary from https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip
Exception in thread "main" java.lang.RuntimeException: Maven distribution 'https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip' contains too many directories. Expected to find exactly 1 directory.
        at org.apache.maven.wrapper.Installer.createDist(Installer.java:113)
        at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:160)
        at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:69)
{noformat}

2 issues:
1. "Downloading Maven binary from ..." when we're not at download but installing to local directory
2. "RuntimeException: Maven distribution 'https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip' contains too many directories": it's not about download url but local installation directory



--
This message was sent by Atlassian Jira
(v8.20.1#820001)