Hi Olivier, 2008/4/30 Olivier Lamy <[EMAIL PROTECTED]>: > Hi, > This component is very helpfull. > But I can't build it with jdk 1.4 > > [INFO] Compilation failure > > /local/olamy/open-source/maven-svn/tags/maven-runtime-1.0-alpha-1/src/test/java/org/apache/maven/shared/runtime/MavenRuntimeVisitorUtilsTest.java:[29,-1] > cannot access org.easymock.EasyMock > bad class file: > > /local/olamy/.m2/repository/org/easymock/easymock/2.2/easymock-2.2.jar(org/easymock/EasyMock.class) > class file has wrong version 49.0, should be 48.0 > > bash-3.00$ mvn -v > Maven version: 2.0.9 > Java version: 1.4.2_15 > OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix" > > And the class DelegatingClassLoader overrides Enumeration > getResources( String name ) which is final in 1.4.
Thanks for pointing that out. I was quite tempted to move to 1.5 anyhow since the API would really benefit from generic Lists, so I'll do that and call another vote. > The build is very long : > > Running org.apache.maven.shared.runtime.DefaultMavenRuntimeTest > Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 577.816 sec Yes, sorry about that, it's because the tests invoke Maven repeatedly on test projects to utilise the packaged jar. I could avoid that by directly committing the packaged jars to SVN, or by packaging them once for the entire testcase. > And last but not least and again this component is very (very) helpfull :-). Thanks :) I'm curious as to what you use it for? > I give my +1 (but IMHO the 1.5 pre requisite must be clearly write in > the documentation). I'll move to 1.5 and call another vote. Cheers, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
