Change maven.compiler.source (and .target) to 1.8.