It has the code for populating a classloader, and anything in Maven uses plexus. If you're writing a Maven plugin it uses plexus.

What exactly are you trying to do aside from populating a classloader with the classes and dependencies of the current project?
On 22-Feb-08, at 1:55 PM, Bengali Bengali wrote:

Thanks for the information,
but jetty plugin does not use plexus. I thought of using plexus to execute
some class scanning (with compiled classes)
in its own classloader.


Luc

On Fri, Feb 22, 2008 at 9:47 PM, Jason van Zyl <[EMAIL PROTECTED]> wrote:

Look at the Jetty plugin as it has exactly what you need.

On 22-Feb-08, at 12:42 PM, Bengali Bengali wrote:

Hi,

I am writing my first Maven plugin and i need to load, at package
phase,
some compiled classes. I was wondering if it was possible to configure
plexus's classloader with the following ressources:

- ${project.build.dir}/classes to be able to load some compiled
classes.
- all the runtime dependencies'jar  in need to load some classes
also in
them.

Thanks in advance,

Luc

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

Selfish deeds are the shortest path to self destruction.

-- The Seven Samuari, Akira Kirosawa




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

First, the taking in of scattered particulars under one Idea,
so that everyone understands what is being talked about ... Second,
the separation of the Idea into parts, by dividing it at the joints,
as nature directs, not breaking any limb in half as a bad carver might.

-- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to