Added support for the maven enforcer plugin to check java version is 1.7