[ 
https://issues.apache.org/jira/browse/MWRAPPER-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy updated MWRAPPER-25:
----------------------------------
    Priority: Minor  (was: Major)

> fix installer messages
> ----------------------
>
>                 Key: MWRAPPER-25
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-25
>             Project: Maven Wrapper
>          Issue Type: Bug
>          Components: Maven Wrapper Jar
>    Affects Versions: 0.5.6
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>            Priority: Minor
>             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)

Reply via email to