You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dale Wyttenbach (JIRA)" <ji...@codehaus.org> on 2006/02/07 17:01:47 UTC
[jira] Created: (MNG-2048) Quote args in mvn script
Quote args in mvn script
------------------------
Key: MNG-2048
URL: http://jira.codehaus.org/browse/MNG-2048
Project: Maven 2
Type: Bug
Components: Command Line
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-2048) Quote args in mvn script
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2048?page=all ]
Brett Porter updated MNG-2048:
------------------------------
Fix Version: (was: 2.0.4)
2.0.3
> Quote args in mvn script
> ------------------------
>
> Key: MNG-2048
> URL: http://jira.codehaus.org/browse/MNG-2048
> Project: Maven 2
> Type: Bug
> Components: Command Line
> Versions: 2.0.2
> Environment: Windows XP
> Cygwin
> Reporter: Dale Wyttenbach
> Priority: Minor
> Fix For: 2.0.3
>
>
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-2048) Quote args in mvn script
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2048?page=all ]
Brett Porter updated MNG-2048:
------------------------------
Fix Version: 2.0.3
I think this is a dupe - assigning to same version as the others to verify.
> Quote args in mvn script
> ------------------------
>
> Key: MNG-2048
> URL: http://jira.codehaus.org/browse/MNG-2048
> Project: Maven 2
> Type: Bug
> Components: Command Line
> Versions: 2.0.2
> Environment: Windows XP
> Cygwin
> Reporter: Dale Wyttenbach
> Priority: Minor
> Fix For: 2.0.3
>
>
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-2048) Quote args in mvn script
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2048?page=all ]
John Casey updated MNG-2048:
----------------------------
Fix Version: (was: 2.0.3)
2.0.4
> Quote args in mvn script
> ------------------------
>
> Key: MNG-2048
> URL: http://jira.codehaus.org/browse/MNG-2048
> Project: Maven 2
> Type: Bug
> Components: Command Line
> Versions: 2.0.2
> Environment: Windows XP
> Cygwin
> Reporter: Dale Wyttenbach
> Priority: Minor
> Fix For: 2.0.4
>
>
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-2048) Quote args in mvn script
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2048?page=all ]
John Casey updated MNG-2048:
----------------------------
Fix Version: (was: 2.0.3)
2.0.4
> Quote args in mvn script
> ------------------------
>
> Key: MNG-2048
> URL: http://jira.codehaus.org/browse/MNG-2048
> Project: Maven 2
> Type: Bug
> Components: Command Line
> Versions: 2.0.2
> Environment: Windows XP
> Cygwin
> Reporter: Dale Wyttenbach
> Priority: Minor
> Fix For: 2.0.4
>
>
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org