JDK 1.5
The default javac settings cause problems with jdk 1.5 because the target is set to 1.1 and no source has been set.
You will need to provide two properties to allow compilation to work with 1.5:
maven.compile.source=1.5 maven.compile.target=1.5