Strub,

thank you for your comments. Unfortunately (as I already wrote two times
before) this thread started by the exact problem of overloading a JRE class
(Resource annotation) by javaee6.jar... so it just don't work (otherwise I
wouldn't have started this thread).

Anyway, thanks for chiming in! :-)

Regards
Markus

> -----Original Message-----
> From: Mark Struberg [mailto:strub...@yahoo.de]
> Sent: Dienstag, 25. September 2012 21:48
> To: Maven Users List
> Subject: Re: How to put a dependency in the classpath BEFORE jre.jar?
> 
> I did not read through the whole thread, so maybe I missed (sorry for
> that).
> 
> Afaik maven plugins use a different ClassLoader hierarchy than you
> might expect.
> Most frameworks use ParentClassLoaderFirst, but maven afaik uses
> ClientClassLoaderFirst.
> 
> Which means it's perfectly fine to to put a javax.* dependency in your
> plugin classpath. The only thing which is not allowed is to overwrite
> native SE stuff.
> 
> LieGrue,
> strub
> 
> 
> 
> 
> ----- Original Message -----
> > From: Benson Margulies <bimargul...@gmail.com>
> > To: Maven Users List <users@maven.apache.org>
> > Cc:
> > Sent: Tuesday, September 25, 2012 8:08 PM
> > Subject: Re: How to put a dependency in the classpath BEFORE jre.jar?
> >
> > Markus,
> >
> > If you want to join in on the fun of the development community,
> please
> > join us on the dev list. As you've heard on this thread, your
> > particular concern smacks into a messy conundrum about our desire to
> > avoid breaking other people's tools that read poms -- no matter how
> > poorly coded. However, there is a design in progress, it needs more
> > refinement, and mostly it will need people to actually code it.
> >
> > --benson
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to