set compile JRE as 1.7 since maven doesn't support JDK 1.8