M1 Tip#13: Running Maven in English

If you're like me and you have an OS running in a non-English locale but you still Maven to run in English then here's a tip for you (tip gleaned from Emmanuel Venisse).

Modify your bin/maven.bat (or bin/maven but I haven't tried this tip on a non-Windows machine) and add a -Duser.language=en system property to the commande line that executes Maven:


%MAVEN_JAVA_EXE% 
  -Duser.language=en 
  "-Dmaven.home=%MAVEN_HOME%" 
  "-Dmaven.home.local=%MAVEN_HOME_LOCAL%"
  ..?

Note: You'll need to add this property in 2 places in the file (once where it says "Start MAVEN without MAVEN_HOME_LOCAL override" and once where it says "Start MAVEN with MAVEN_HOME_LOCAL override".