Ensure we run from maven in JDK 1.7 mode