pom.xml(maven-enforcer-plugin): add rule for checking java version.