updated poms to java8