On Tue, Jul 12, 2005 at 09:00:55PM +0200, Peter Neubauer wrote:
> On Tuesday 12 July 2005 20:47, Miks Rozenbergs wrote:
> > So the question is how to call Maven from Eclipse providing Maven plug-in
> > (which we are about to develop) with access to Eclipse Workspace and
> > Eclipse plug-in classes? Is there anything out there already?
> As far as I can tell, M2 is written for use embedded in other systems. OSGi 
> would be one of them. I guess you should look at the Embedder class, and 
> possibly at the Continuum project in order to get more hints.
> 
> I'm not sure if it is easy to modify the plexus container (using the Avalon 
> framework as the container contract) in order to plug in OSGi bundles 
> providing bundles as components into the Plexus Service Manager, looking up 
> through OSGi when it can't find required services for a component. That would 
> possibly allow to mix OSGi bundles with Avalon components, providing "native" 
> plugging into OSGi and Eclipse.
> Probably JVZ can give more info on that?

That is not entirely correct, Plexus has it's own (native) component
personality but has also a Avalon personality for running Avalon
components. We are definitely interested in writing a OGSi personality for
Plexus. This will, as you say, make it possible to mix and match Plexus,
OGSi and Avalon components. It will also make it possible to use OSGi
components directly from Maven 2 Mojos through a field with a expression like

  expression="${component.my.component.role}"

If anyone are interested in more information and/or want to look into
implementing this we can chat more on IRC: #plexus at irc.codehaus.org

--
Trygve

Attachment: signature.asc
Description: Digital signature

Reply via email to