I needed to run some selenium tests written by a Java team using maven
I ran into a couple of errors
Annotations are not supported in -source 1.3
This error is because by default maven comples code to be compatible with an older version of Java
To fix I had to add the foloowing to then pom.xml file