title: Set surefire plugin Locale in Maven pom file
body: <p>I read in <a href="http://www.mail-archive.com/users@maven.apache.org/msg98949.html"><em>maven-surefire-plugin and default locale</em></a> that Maven runs tests forked and thus might lose any locale you might have set. </p>
  
  <p>Is there a way to run tests in Maven in forked mode and still retain locale? </p>
  
  <p>-- EDIT --</p>
  
  <p>So, to clarify a bit: It is fully possible to set language and region in System Properties using: </p>
  
  <pre><code>&lt;systemPropertyVariables&gt;
    &lt;user.language&gt;en&lt;/user.language&gt;
    &lt;user.region&gt;GB&lt;/user.region&gt;
  &lt;/systemPropertyVariables&gt;
  </code></pre>
  
  <p>And they are actually passed to the running process. This does not however set locale accordingly; locale remains as System Default. </p>