[jira] Updated: (MNG-2048) Quote args in mvn script

2007-04-08 Thread Brett Porter (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter updated MNG-2048:
--

Fix Version/s: (was: 2.0.x)

> Quote args in mvn script
> 
>
> Key: MNG-2048
> URL: http://jira.codehaus.org/browse/MNG-2048
> Project: Maven 2
>  Issue Type: Bug
>  Components: Command Line
>Affects Versions: 2.0.2
> Environment: Windows XP
> Cygwin
>Reporter: Dale Wyttenbach
>Priority: Minor
>
> The mvn script as distributed does not handle quoted args such as:
> m2 -Dgreeting="huh bah" hello:sayhi
> You get the error:
> Invalid task 'bah': you must specify a valid lifecycle phase, or a goal in 
> the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
> Here is a fix for the mvn script:
> *** mvn   2006/02/07 15:58:33 1.1
> --- mvn   2006/02/07 15:58:38
> ***
> *** 134,138 
> -classpath "${M2_HOME}"/core/boot/classworlds-*.jar \
> "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
> "-Dmaven.home=${M2_HOME}"  \
> !   ${CLASSWORLDS_LAUNCHER} $@
>   
> --- 134,138 
> -classpath "${M2_HOME}"/core/boot/classworlds-*.jar \
> "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
> "-Dmaven.home=${M2_HOME}"  \
> !   ${CLASSWORLDS_LAUNCHER} "$@"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MNG-2048) Quote args in mvn script

2006-11-02 Thread Kenney Westerhof (JIRA)
 [ http://jira.codehaus.org/browse/MNG-2048?page=all ]

Kenney Westerhof updated MNG-2048:
--

Fix Version/s: (was: 2.0.5)
   2.0.6

> Quote args in mvn script
> 
>
> Key: MNG-2048
> URL: http://jira.codehaus.org/browse/MNG-2048
> Project: Maven 2
>  Issue Type: Bug
>  Components: Command Line
>Affects Versions: 2.0.2
> Environment: Windows XP
> Cygwin
>Reporter: Dale Wyttenbach
>Priority: Minor
> Fix For: 2.0.6
>
>
> The mvn script as distributed does not handle quoted args such as:
> m2 -Dgreeting="huh bah" hello:sayhi
> You get the error:
> Invalid task 'bah': you must specify a valid lifecycle phase, or a goal in 
> the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
> Here is a fix for the mvn script:
> *** mvn   2006/02/07 15:58:33 1.1
> --- mvn   2006/02/07 15:58:38
> ***
> *** 134,138 
> -classpath "${M2_HOME}"/core/boot/classworlds-*.jar \
> "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
> "-Dmaven.home=${M2_HOME}"  \
> !   ${CLASSWORLDS_LAUNCHER} $@
>   
> --- 134,138 
> -classpath "${M2_HOME}"/core/boot/classworlds-*.jar \
> "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
> "-Dmaven.home=${M2_HOME}"  \
> !   ${CLASSWORLDS_LAUNCHER} "$@"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira