Compiler ******** Java 1.5 ======== To configure the Java compiler to allow JDK 5.0 sources: :: org.apache.maven.plugins maven-compiler-plugin 1.6 1.6 Configuration ============= ...not sure if these are valid, but they might be useful... :: org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 true true UTF-8 Test ==== To compile the test code (without running the tests): :: mvn test-compile