adding enforcer rules to enforce java 7 for build