How-to articles, tricks, and solutions about JAVA-6
How to set specific Java version to Maven?
To set a specific Java version for Maven, you can specify the maven.compiler.source and maven.compiler.target properties in the pom.xml file.