[MNG-5963] mvn.cmd does not return ERROR_CODE
Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/a7f50d7c Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/a7f50d7c Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/a7f50d7c Branch: refs/heads/DEPMGMT-INCLUDE-IT Commit: a7f50d7c56861222d98221596e2721d484bf00a0 Parents: 53a5141 Author: Michael Osipov <micha...@apache.org> Authored: Wed Feb 3 23:13:55 2016 +0100 Committer: Christian Schulte <schu...@apache.org> Committed: Tue Jan 31 18:08:22 2017 +0100 ---------------------------------------------------------------------- apache-maven/src/bin/mvn.cmd | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/a7f50d7c/apache-maven/src/bin/mvn.cmd ---------------------------------------------------------------------- diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd index 467269a..0c2fd4b 100644 --- a/apache-maven/src/bin/mvn.cmd +++ b/apache-maven/src/bin/mvn.cmd @@ -46,9 +46,6 @@ if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" set ERROR_CODE=0 -@REM To isolate internal variables from possible post scripts, we use another setlocal -@setlocal - @REM ==== START VALIDATION ==== if not "%JAVA_HOME%" == "" goto OkJHome