Update pom for Java 8 build
Add licence plugin
Update licence for main java sources