On 14/11/2007, Brian De Pradine <[EMAIL PROTECTED]> wrote: > > Hello all, > > Is there a way to configure maven2 so that it loads classes from a > dependency that I specify rather than from the JVM?
could you explain which classes you'd want to load from a dependency rather than the JVM - and also explain why you want to do this? (there may be a better solution) I guess that I need to > configure the class path so that my library is located in front of the > libraries from the JVM. the core JVM libraries are supplied from the boot classloader, which all classloaders delegate to in the normal parent delegation model, so if you want to make sure you override the JVM libraries you'd normally use -Xbootclasspath/p:... (JVM libraries are separate from application libraries, which use the normal classpath) Cheers > > Brian DePradine > Web Services Development > IBM Hursley > External +44 (0) 1962 816319 Internal 246319 > > If you can't find the time to do it right the first time, where will you > find the time to do it again? > > > > > > > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > > > > > -- Cheers, Stuart