On 7/28/11 11:18 PM, Jörg Schaible wrote: > Jörg Schaible wrote: > >> Phil Steitz wrote: >> >>> On 7/27/11 9:47 PM, Stefan Bodewig wrote: >>>> Tag: >>>> >>>> > https://svn.apache.org/repos/asf/commons/proper/compress/tags/COMPRESS_1.2_RC2/ >>>> Site: >>>> >>>> http://people.apache.org/~bodewig/commons-compress-1.2RC2/site/ >>>> >>>> Tarballs/ZIPs: >>>> >>>> http://people.apache.org/~bodewig/commons-compress-1.2RC2/ >>>> >>>> Maven artifacts: >>>> >>>> > https://repository.apache.org/content/repositories/orgapachecommons-007/org/apache/commons/commons- >> compress/1.2/ >>>> [X] +1 release it >>> Sigs and hashes are good. >>> Release contents look good. >>> Checked build (compile and run tests) on >>> Ubuntu 10.10: >>> Java HotSpot(TM) Client VM (build Blackdown-1.4.2-03, mixed mode) >>> Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode) >>> Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing) >>> Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing) >>> BEA JRockit(R) (build >>> R27.6.5-32_o-121899-1.4.2_21-20091001-2113-linux-ia32, compiled mode) >>> BEA JRockit(R) (build >>> R27.6.5-32_o-121899-1.5.0_19-20091001-2113-linux-ia32, compiled mode) >>> BEA JRockit(R) (build >>> R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, compiled mode) >>> Apple OSX 10.7: >>> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode) >>> >>> I had to hack the pom to get it to work under jdk 1.4 (remove >>> assembly plugin, back rev surefire to 2.0) with maven 2.0.10; but >>> all code and tests compile and succeed for the jdks above. Given >>> that the maven build will not work for jdk 1.4, it might have been >>> good to include a working Ant build. Not a showstopper. >> Use the java-1.4 profile (look into the commons parent) and define its >> home in your settings.xml: >> >> <profile> >> <id>java-1.4</id> >> <properties> >> <JAVA_1_4_HOME>/opt/blackdown- >> jdk-1.4.2.03</JAVA_1_4_HOME> >> </properties> >> </profile> >> >> You can use then any newer Java version to build. > Speak: You can use any newer Java version to run Maven, compilation and > running the test will use the Java version of the profile.
Thanks! You said compilation and execution both, right? So Surefire is somehow smart enough to avoid using its own jdk 1.5+ stuff, or does it somehow launch a new JVM for each test? Also, can the property to specified on the command line? Phil > > - Jörg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org