To add a bit of detail for a volunteer to submit as documentation... :)

m2/core/boot is what is in the java classpath (ie, just classworlds,
which constructs classloaders for the rest of the system)

the top level classloader contains plexus container and plexus utils
(see m2/core), and also has access to classworlds

the next classloader has the libraries in m2/lib (a bug in beta 1
incorporated commons-logging and -lang, sorry about that!) In general
these are just maven libraries. We hope to further separate these in
future to just be maven apis.

after that, each plugin has its own classloader, including its
dependencies, itself, and the libraries above. It *does not* contain
the project dependencies like in m1, but instead has access to a list
of JAR files in case they are needed.

In addition, a project can list "extensions". These are loaded into
the same place as m2/lib and so available to the maven core and all
plugins for the currnet project and subsequent projects (in future, we
plan to remove it from subsequent projects).

- Brett

On 9/24/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-09-23 at 16:49 -0300, Peter Lynch wrote:
> > Sorry this may be old news but, but I am wondering if Maven 2 has plugin
> > classloader seperation to avoid this? I'm scared of what the answer
> > might be ;)
>
> In m2 plug-ins are actually executed from their own Plexus child
> container which has its own classloader. We have sometimes had problems
> with libraries that are needed by Maven itself but for things like
> commons-foo different versions used by different plug-ins should, in
> theory, be Just Fine(tm). :-)
>
>
>
> > -Peter
> >
> > Brett Porter wrote:
> > > I don't think this is a specific bug as much as it might be a weird
> > > combination of dependencies that clash. We'll see. Plugin classloader
> > > separation would probably fix it (but break most everything else that
> > > assumes all those dependencies are laying around in one classloader :)
> > >
> > > - Brett
> > >
> > >
> > > On Wed, 22 Sep 2004 14:55:54 +0200, Eric Pugh <[EMAIL PROTECTED]> wrote:
> > >
> > >>Brett,
> > >>
> > >>I like seeing a bug that I thought was going to end up on my plate on
> > >>someone elses!  If I can help test this, let me know..  I have had some 
> > >>icky
> > >>problems in the past with changing around the template used by the CC
> > >>plugin, but this specific bug isn't something I ever had..
> > >>
> > >>Eric
> > >>
> > >>
> > >>
> > >>
> > >>>-----Original Message-----
> > >>>From: Brett Porter [mailto:[EMAIL PROTECTED]
> > >>>Sent: Wednesday, September 22, 2004 1:59 PM
> > >>>To: Maven Users List
> > >>>Subject: Re: cruisecontrol:configure
> > >>>
> > >>>
> > >>>MAVEN.
> > >>>
> > >>>Thanks
> > >>>
> > >>>
> > >>>On Wed, 22 Sep 2004 13:56:45 +0200,
> > >>>[EMAIL PROTECTED]
> > >>><[EMAIL PROTECTED]> wrote:
> > >>>
> > >>>>In the MPCRUISECONTROL or MAVEN jira module ?
> > >>>>
> > >>>>Brett Porter <[EMAIL PROTECTED]>
> > >>>>22/09/2004 12:36
> > >>>>Veuillez répondre à "Maven Users List"
> > >>>>
> > >>>>        Pour :  Maven Users List <[email protected]>
> > >>>>        cc :
> > >>>>        Objet : Re: cruisecontrol:configure
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>classpath issue. Please post this to JIRA with maven --info output.
> > >>>>
> > >>>>- Brett
> > >>>>
> > >>>>On Wed, 22 Sep 2004 10:12:13 +0200,
> > >>>>[EMAIL PROTECTED]
> > >>>><[EMAIL PROTECTED]> wrote:
> > >>>>
> > >>>>>I use cc 2.1.6 with the the 1.5 plugin. It seem I have a probleme with
> > >>>>
> > >>>>the
> > >>>>
> > >>>>>jsl:template tag. I try by setting the properties
> > >>>>
> > >>>>maven.cruisecontrol.template=cruisecontrol or use it with the default
> > >>>>value but there is no change
> > >>>>
> > >>>>>allways the same message.
> > >>>>>I probally forgot to set some properties or don't set them
> > >>>
> > >>>with correct
> > >>>
> > >>>>>value.
> > >>>>>
> > >>>>>[EMAIL PROTECTED] ...maven-struts-module-plugin/]$ maven
> > >>>>>cruisecontrol:configure
> > >>>>> __  __
> > >>>>>|  \/  |__ _Apache__ ___
> > >>>>>| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > >>>>>|_|  |_\__,_|\_/\___|_||_|  v. 1.0
> > >>>>>
> > >>>>>build:start:
> > >>>>>
> > >>>>>scm:parse-connection:
> > >>>>>    [echo] Using connection:
> > >>>>>
> > >>>>
> > >>>scm:cvs:pserver:[EMAIL PROTECTED]:/usr/ngasi/contexts/codec
> > >>>zar/cvs:maven-struts-module-plugin
> > >>>
> > >>>>>Using SCM method: cvs
> > >>>>>Using CVSROOT:
> > >>>>>:pserver:[EMAIL PROTECTED]:/usr/ngasi/contexts/codeczar/cvs
> > >>>>>Using module: maven-struts-module-plugin
> > >>>>>
> > >>>>>BUILD FAILED
> > >>>>>File...... C:\Documents and
> > >>>>>
> > >>>>
> > >>>Settings\PropriÚtaire\.maven\cache\maven-cruisecontrol-plugin-1.5\
> > >>>plugin.jelly
> > >>>
> > >>>>>Element... j:include
> > >>>>>Line...... 72
> > >>>>>Column.... 51
> > >>>>>file:C:/Documents and
> > >>>>>
> > >>>>
> > >>>Settings/PropriÚtaire/.maven/cache/maven-cruisecontrol-plugin-1.5/
> > >>>plugin-resources/cruisecontrol.jsl:30:52:
> > >>>
> > >>>>><jsl:template
> > >>>>> > Property 'match' has no write method
> > >>>>>Total time: 4 seconds
> > >>>>>Finished at: Wed Sep 22 20:56:03 GMT+01:00 2004
> > >>>>>
> > >>>>>So if some one have any idea ...
> > >>>>>
> > >>>>>I solve it temporary by comment the jsl:template tag in the
> > >>>>
> > >>>>cruisecontrol.jsl but it is a very bad thing
> > >>>>
> > >>>>>Nicolas
> > >>>>>
> > >>>>>---------------------------------------------------------------------
> > >>>>>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]
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>---------------------------------------------------------------------
> > >>>>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]
> > >>
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >
> --
> jvz.
>
> Jason van Zyl
> jason at maven.org
> http://maven.apache.org
>
> happiness is like a butterfly: the more you chase it, the more it will
> elude you, but if you turn your attention to other things, it will come
> and sit softly on your shoulder ...
>
>  -- Thoreau
>
>
> ---------------------------------------------------------------------
> 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