updating poms and some stuff to java8.