anchor.diff:  echo Please set the M2_HOME variable in your environment to match the
   echo location of the Maven installation
   echo.
  +set ERROR_CODE=1
   goto end
   
   :valMHome
  
positive.code: @REM set local scope for the variables with windows NT shell
  if "%OS%"=="Windows_NT" @setlocal
  
  @REM ==== START VALIDATION ====
  if not "%JAVA_HOME%" == "" goto OkJHome
  
  
negative.code: echo Please set the M2_HOME variable in your environment to match the
  echo location of the Maven installation
  echo.
  set ERROR_CODE=1
  goto end
  @REM ==== END VALIDATION ====
  
  