Add support for older Maven to ensure Java built to JDK1.6