REV: fist step to change to java8

change maven-compiler-plugin configuration
change all event listner to lambda expression