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
   @REM ==== END VALIDATION ====
   
  
positive.code: echo Please set the JAVA_HOME variable in your environment to match the
  echo location of your Java installation
  echo.
  goto end
  
  :chkMHome
  
negative.code: @REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
  if "%MAVEN_BATCH_PAUSE%" == "on" pause
  
  exit /B %ERROR_CODE%
  
  