title: How to set env variables for maven to run test correctly?
body: <p>Is it possible to set env vars in pom.xml that junit tests uses? Netbeans can get env vars and builds project correnctly. But when i use command line (mvn clean -> mvn install), build fails due to test errors.</p>
  
  <p>Thanks.</p>