[16/50] [abbrv] maven git commit: MNG-5776 Drop support for Win9x in mvn launch scripts for Windows, rename .bat to .cmd, remove duplicate code from mvnDebug.cmd

2015-03-31 Thread aheritier
MNG-5776 Drop support for Win9x in mvn launch scripts for Windows, rename .bat 
to .cmd, remove duplicate code from mvnDebug.cmd


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/c6faf8dd
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/c6faf8dd
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/c6faf8dd

Branch: refs/heads/slf4j-log4j2
Commit: c6faf8dd65587c3ea6d79ccf48e25bb7b90e18df
Parents: 7b3e956
Author: Andreas Gudian agud...@apache.org
Authored: Sat Feb 28 15:50:58 2015 +0100
Committer: Andreas Gudian agud...@apache.org
Committed: Sat Feb 28 15:50:58 2015 +0100

--
 apache-maven/README.txt   |   6 +-
 apache-maven/src/bin/mvn.bat  | 239 
 apache-maven/src/bin/mvn.cmd  | 176 
 apache-maven/src/bin/mvnDebug.bat | 243 -
 apache-maven/src/bin/mvnDebug.cmd |  31 +
 5 files changed, 211 insertions(+), 484 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/maven/blob/c6faf8dd/apache-maven/README.txt
--
diff --git a/apache-maven/README.txt b/apache-maven/README.txt
index 668fb31..448ef6e 100644
--- a/apache-maven/README.txt
+++ b/apache-maven/README.txt
@@ -31,8 +31,10 @@
 that, additional disk space will be used for your local Maven repository. 
The size
 of your local repository will vary depending on usage but expect at least 
500MB.
   Operating System:
-No minimum requirement. Start up scripts are included as shell scripts and 
Windows
-batch files.
+Windows:
+  Windows 2000 or above.
+Unix based systems (Linux, Solaris and Mac OS X) and others:
+  No minimum requirement.
 
   Installing Maven
   

http://git-wip-us.apache.org/repos/asf/maven/blob/c6faf8dd/apache-maven/src/bin/mvn.bat
--
diff --git a/apache-maven/src/bin/mvn.bat b/apache-maven/src/bin/mvn.bat
deleted file mode 100644
index 546842a..000
--- a/apache-maven/src/bin/mvn.bat
+++ /dev/null
@@ -1,239 +0,0 @@
-@REM 

-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements.  See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership.  The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM License); you may not use this file except in compliance
-@REM with the License.  You may obtain a copy of the License at
-@REM
-@REMhttp://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied.  See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-@REM 

-
-@REM 

-@REM Maven2 Start Up Batch script
-@REM
-@REM Required ENV vars:
-@REM JAVA_HOME - location of a JDK home dir
-@REM
-@REM Optional ENV vars
-@REM M2_HOME - location of maven2's installed home dir
-@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
-@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
-@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
-@REM e.g. to debug Maven itself, use
-@REM set MAVEN_OPTS=-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
-@REM 

-
-@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
-@echo off
-@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
-@if %MAVEN_BATCH_ECHO% == on  echo %MAVEN_BATCH_ECHO%
-
-@REM set %HOME% to equivalent of $HOME
-if %HOME% ==  (set HOME=%HOMEDRIVE%%HOMEPATH%)
-
-@REM Execute a user defined script before this one
-if not %MAVEN_SKIP_RC% ==  goto skipRcPre
-if exist %HOME%\mavenrc_pre.bat call %HOME%\mavenrc_pre.bat
-:skipRcPre
-
-set ERROR_CODE=0
-
-@REM set local scope for the variables with windows NT shell
-if %OS%==Windows_NT @setlocal
-if %OS%==WINNT @setlocal
-
-@REM  START VALIDATION 
-if not %JAVA_HOME% ==  goto OkJHome
-
-echo.
-echo Error: JAVA_HOME not found in your environment. 2
-echo Please set the JAVA_HOME variable in your environment to match the 2
-echo location of your Java installation. 2
-echo.
-goto 

maven git commit: MNG-5776 Drop support for Win9x in mvn launch scripts for Windows, rename .bat to .cmd, remove duplicate code from mvnDebug.cmd

2015-02-28 Thread agudian
Repository: maven
Updated Branches:
  refs/heads/master 7b3e95675 - c6faf8dd6


MNG-5776 Drop support for Win9x in mvn launch scripts for Windows, rename .bat 
to .cmd, remove duplicate code from mvnDebug.cmd


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/c6faf8dd
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/c6faf8dd
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/c6faf8dd

Branch: refs/heads/master
Commit: c6faf8dd65587c3ea6d79ccf48e25bb7b90e18df
Parents: 7b3e956
Author: Andreas Gudian agud...@apache.org
Authored: Sat Feb 28 15:50:58 2015 +0100
Committer: Andreas Gudian agud...@apache.org
Committed: Sat Feb 28 15:50:58 2015 +0100

--
 apache-maven/README.txt   |   6 +-
 apache-maven/src/bin/mvn.bat  | 239 
 apache-maven/src/bin/mvn.cmd  | 176 
 apache-maven/src/bin/mvnDebug.bat | 243 -
 apache-maven/src/bin/mvnDebug.cmd |  31 +
 5 files changed, 211 insertions(+), 484 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/maven/blob/c6faf8dd/apache-maven/README.txt
--
diff --git a/apache-maven/README.txt b/apache-maven/README.txt
index 668fb31..448ef6e 100644
--- a/apache-maven/README.txt
+++ b/apache-maven/README.txt
@@ -31,8 +31,10 @@
 that, additional disk space will be used for your local Maven repository. 
The size
 of your local repository will vary depending on usage but expect at least 
500MB.
   Operating System:
-No minimum requirement. Start up scripts are included as shell scripts and 
Windows
-batch files.
+Windows:
+  Windows 2000 or above.
+Unix based systems (Linux, Solaris and Mac OS X) and others:
+  No minimum requirement.
 
   Installing Maven
   

http://git-wip-us.apache.org/repos/asf/maven/blob/c6faf8dd/apache-maven/src/bin/mvn.bat
--
diff --git a/apache-maven/src/bin/mvn.bat b/apache-maven/src/bin/mvn.bat
deleted file mode 100644
index 546842a..000
--- a/apache-maven/src/bin/mvn.bat
+++ /dev/null
@@ -1,239 +0,0 @@
-@REM 

-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements.  See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership.  The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM License); you may not use this file except in compliance
-@REM with the License.  You may obtain a copy of the License at
-@REM
-@REMhttp://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied.  See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-@REM 

-
-@REM 

-@REM Maven2 Start Up Batch script
-@REM
-@REM Required ENV vars:
-@REM JAVA_HOME - location of a JDK home dir
-@REM
-@REM Optional ENV vars
-@REM M2_HOME - location of maven2's installed home dir
-@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
-@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
-@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
-@REM e.g. to debug Maven itself, use
-@REM set MAVEN_OPTS=-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
-@REM 

-
-@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
-@echo off
-@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
-@if %MAVEN_BATCH_ECHO% == on  echo %MAVEN_BATCH_ECHO%
-
-@REM set %HOME% to equivalent of $HOME
-if %HOME% ==  (set HOME=%HOMEDRIVE%%HOMEPATH%)
-
-@REM Execute a user defined script before this one
-if not %MAVEN_SKIP_RC% ==  goto skipRcPre
-if exist %HOME%\mavenrc_pre.bat call %HOME%\mavenrc_pre.bat
-:skipRcPre
-
-set ERROR_CODE=0
-
-@REM set local scope for the variables with windows NT shell
-if %OS%==Windows_NT @setlocal
-if %OS%==WINNT @setlocal
-
-@REM  START VALIDATION 
-if not %JAVA_HOME% ==  goto OkJHome
-
-echo.
-echo Error: JAVA_HOME not found in your environment. 2
-echo Please set the JAVA_HOME variable in your environment to