Java version specification

Hey Terence, I have added the java version into the pom to cater for the annotations, the default is 1.3