Updated pom to Java 8