In my maven project, I have this Effective POM:
Changed version to 3.1 and the tags and to 1.7
maven-compiler-plugin 3.1 1.7 1.7