Updated pom.xml for Java 1.8