Some enforcer has been added to maven to avoid improper compilation with the incorrect JDK. One of the problem with that is I can't test annotations / entitymanager (ie run tests) with JDK 6. Is there a way around that?