Change poms for java 8