title: How to set specific Java version to Maven?
body: <p>On my machine I have two Java versions installed: (1.6 and 1.7 installed manually by me).  I need both of them for different projects. But for Maven I need 1.7, but my Maven uses the 1.6 Java version.</p>
  <p>How can I set Maven to use 1.7?</p>