51.0 is the version of Java 7 class files. I think this error indicates that Maven is using an earlier version of Java for compiling. Where are you getting that version information? If you run "mvn -version" from a command line, it should tell you the version that Maven is actually using.
She'll be back. I'm just gonna wait here. With this tiny ad: