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.

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

And last but not least and again this component is very (very) helpfull :-).

I give my +1 (but IMHO the 1.5 pre requisite must be clearly write in
the documentation).

--
Olivier


2008/4/29 Mark Hobson <[EMAIL PROTECTED]>:
> 2008/4/29 Brian E. Fox <[EMAIL PROTECTED]>:
>
> > I browsed the repo earlier and everything seemed in order, I have no
>  >  idea what this does or how to test it, but given that it's a shared
>  >  component that won't harm anyone, +1.
>
>  Thanks.  I tried to give a brief synopsis of maven-runtime at the
>  start of this thread:
>
>
>  "Maven Runtime allows introspection of Maven project metadata at
>  runtime.  For example, MavenProject instances can be obtained for all
>  projects given a classloader, optionally sorted into dependency order.
>  This is useful for tools wishing to utilise Maven metadata at
>  runtime."
>
>  Let me know if you need any more info.
>
>  Cheers,
>
>
>
>  Mark
>
>  ---------------------------------------------------------------------
>  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]

Reply via email to