This is discussed now and then on this list with various approaches posted, so search the Archives.
Also, this is discussed in the Wiki: http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Different+JDK+Versions I have to imagine you could utilize various configurations in multiple profiles to achieve your goals without a lot of trouble. Wayne On 2/15/07, JC Walmetz <[EMAIL PROTECTED]> wrote:
I need to compile and deploy my sources in JDK1.4. Tests are executed with JDK 1.4. Now I'd like to run all the tests without recompiling sources (I'd like to recompile only tests) I'd like to test my jars compile with JDK1.4 with other JDK (1.5 and 1.6). The only solution I found is to create another project for tests in JDK1.5 and to play with my SCM to create alias over test sources. That's definitively a bad solution. A lot of code of the pom.xml is duplicated and I have to maintain the alias in the SCM. Do you have a better solution ? -- View this message in context: http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a8990300 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
