The default compliance level for Maven is 1.5 and every time that I update a maven project in Eclipse it sets back the compliance level from 1.6 to 1.5 which is really annoy
This worked for me..
ProjectName org.apache.maven.plugins maven-compiler-plugin 2.3.1 1.6 1.6