compile with java8 too
set compile target 1.6 which is minimum for spring 4