force to use jdk1.7 when running mvn compile.