avoid java 7 api
configure maven-compiler-plugin in root pom to avoid redundancy, inconsistency