Update pom to JDK1.8