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

Stephen Connolly reopened MNG-5823:
-----------------------------------

Maven 3.4.0 has been dropped. See [this 
thread|https://mail-archives.apache.org/mod_mbox/maven-dev/201701.mbox/%3CCA%2BnPnMx-e7kGYy3Hp87v8hLGdhp1q%3DtKLx_6QuZ4kGUqHEBGcw%40mail.gmail.com%3E]
 for more details.

This issue will need to be re-scheduled for a Maven release in the (hopefully 
near) future.

> mvnDebug doesn't work with M2_HOME with spaces - missing quotes
> ---------------------------------------------------------------
>
>                 Key: MNG-5823
>                 URL: https://issues.apache.org/jira/browse/MNG-5823
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.3.1
>         Environment: Windows, Cygwin
>            Reporter: Tobias Oberlies
>            Assignee: Christian Schulte
>             Fix For: 3.4.0
>
>
> When calling {{mvnDebug}} in a Cygwin shell, I get the following error
> {noformat}
> Preparing to Execute Maven in Debug Mode
> dirname: extra operand `Files/Maven/apache-maven-3.3.1/bin/mvnDebug'
> Try `dirname --help' for more information.
> env: /mvn: No such file or directory
> {noformat}
> The root cause are missing quotes in and around the dirname call. The script 
> currently calls
> {noformat}
> env MAVEN_OPTS="$MAVEN_OPTS $MAVEN_DEBUG_OPTS" $(dirname $0)/mvn "$@"
> {noformat}
> but the call should be 
> {noformat}
> env MAVEN_OPTS="$MAVEN_OPTS $MAVEN_DEBUG_OPTS" "$(dirname "$0")/mvn" "$@"
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to