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

Michael Osipov closed MNG-7199.
-------------------------------
    Fix Version/s:     (was: 4.0.x-candidate)
                   4.0.0-alpha-1
                   4.0.0
       Resolution: Fixed

Fixed with 
[750cb6cb15c8f8d272ae3dc071f9f5377c441baf|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=750cb6cb15c8f8d272ae3dc071f9f5377c441baf].

> MAVENHOME_CONFIG var in mvnlauncher script improperly handles two options at 
> once
> ---------------------------------------------------------------------------------
>
>                 Key: MNG-7199
>                 URL: https://issues.apache.org/jira/browse/MNG-7199
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 4.0.0, 4.0.0-alpha-1
>
>
> This variable sets:
> {noformat}
> -MAVENHOME_CONFIG=`echo "-Dclassworlds.conf=${MAVEN_HOME}/bin/m2.conf" 
> "-Dmaven.home=${MAVEN_HOME}"`
> {noformat}
> We properly quote all other variables to avoid pitfalls like spaces, etc. 
> Unfortunately, Bourne shell does not support arrays to this variable is 
> passed as-is and spaces cannot be escaped. The command fails.
> This variable needs to be replaced with one for ClassWorlds Conf file and 
> Maven home is already present.
> Windows command script properly handles spaces in the variables and passes to 
> the java command.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to