Re: [hibernate-dev] Enforcer business

2009-10-29 Thread Emmanuel Bernard
OK I understand. That's a bit above my current knowledge but it would be nice to have a test-with-jdk6 profile for annotations and entitymanager that runs the test suite under JDK 6. If anyone has free time and maven knowledge, feel free to chime in :) On 29 oct. 09, at 02:31, Steve Ebersole w

Re: [hibernate-dev] Enforcer business

2009-10-28 Thread Steve Ebersole
The issue is that Maven wants to use the same jvm for everything. Specifically the jvm used to lanuch maven. You can point it at different jdks for various tasks within the build, but that is static info unless you use a profile or such. We do this today for a few things. We have defined a stand

[hibernate-dev] Enforcer business

2009-10-28 Thread Emmanuel Bernard
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? ___ hibernate-dev mailing list