maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <herve.bout...@free.fr>
Subject Re: git commit: Adding envar MAVEN_CMD_LINE_ARGS to shell scripts to provide consistency for accessing CLI args via env.MAVEN_CMD_LINE_ARGS user property (from plugins, for example).
Date Sat, 23 Nov 2013 10:46:42 GMT
I don't understand the change
there is no Jira issue associated

and it breaks ITs both on Apache's Jenkins instance and on my local machine

can you explain and check, please?

Regards,

Hervé

Le lundi 21 octobre 2013 18:30:19 jdcasey@apache.org a écrit :
> Updated Branches:
>   refs/heads/master b0acd5e73 -> 70218af1c
> 
> 
> Adding envar MAVEN_CMD_LINE_ARGS to shell scripts to provide consistency for
> accessing CLI args via env.MAVEN_CMD_LINE_ARGS user property (from plugins,
> for example).
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/70218af1
> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/70218af1
> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/70218af1
> 
> Branch: refs/heads/master
> Commit: 70218af1c1824caa892e7e507463ea713faa7133
> Parents: b0acd5e
> Author: John Casey <jdcasey@commonjava.org>
> Authored: Mon Oct 21 13:26:56 2013 -0500
> Committer: John Casey <jdcasey@commonjava.org>
> Committed: Mon Oct 21 13:26:56 2013 -0500
> 
> ----------------------------------------------------------------------
>  apache-maven/src/bin/mvn      | 4 ++++
>  apache-maven/src/bin/mvnDebug | 4 ++++
>  2 files changed, 8 insertions(+)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-us.apache.org/repos/asf/maven/blob/70218af1/apache-maven/src/
> bin/mvn
> ---------------------------------------------------------------------- diff
> --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn
> index f535d38..1a65193 100755
> --- a/apache-maven/src/bin/mvn
> +++ b/apache-maven/src/bin/mvn
> @@ -182,6 +182,10 @@ if $cygwin; then
>      CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
>  fi
> 
> +# Provide a "standardized" way to retrieve the CLI args that will
> +# work with both Windows and non-Windows executions.
> +export MAVEN_CMD_LINE_ARGS="$@"
> +
>  exec "$JAVACMD" \
>    $MAVEN_OPTS \
>    -classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
> 
> http://git-wip-us.apache.org/repos/asf/maven/blob/70218af1/apache-maven/src/
> bin/mvnDebug
> ---------------------------------------------------------------------- diff
> --git a/apache-maven/src/bin/mvnDebug b/apache-maven/src/bin/mvnDebug index
> 43a09cc..263a061 100755
> --- a/apache-maven/src/bin/mvnDebug
> +++ b/apache-maven/src/bin/mvnDebug
> @@ -186,6 +186,10 @@ if $cygwin; then
>      CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
>  fi
> 
> +# Provide a "standardized" way to retrieve the CLI args that will
> +# work with both Windows and non-Windows executions.
> +export MAVEN_CMD_LINE_ARGS="$@"
> +
>  exec "$JAVACMD" \
>    $MAVEN_OPTS \
>    $MAVEN_DEBUG_OPTS \


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message