Removed maven-compiler-plugin.
Added jdk8.