Specified a maven compiler plugin version and a java version.

Prevents some systems from trying (and failing) to build with really old versions of Java, such as 1.3.