Moved pom to java 8