edit the pom.xml file. use jdk5 compile.