JDK 1.5 How do I get Maven to compile using 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: