In your pom.xml file, simply remove the tag <release>..</release> from your maven-compiler-plugin configuration: