On Tue, Jul 12, 2005 at 09:47:53PM +0300, Miks Rozenbergs wrote:
> Hello everybody!
> We are investigating the use of Maven (M2) as a way to describe 
> dependancies between various components making up our Web applications and 
> do builds. Components are developed using our own in-house development and 
> configuration tools which already have implemented code generation, 
> packaging, etc. tasks, so, all we need is to create simple Maven plug-in 
> (-s) calling those tasks. However the catch is that all our development 
> tools are tightly integrated into Eclipse and require running Eclipse 
> Workspace with all the Eclipse plug-ins loaded in order to perform code 
> generation, packaging etc.
> 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?

I think that your best bet for now is to take a look at
o.a.m.cli.MavenCli. It uses the embedder to start the Plexus container and
look up the Maven component which is most likely what you want.

You might also want to check in with the mevenide[1] guys to see what
their status on integrating mevenide with eclipse and any work on the
maven eclipse plugin plugin (nice name eh?). It's a plugin to Maven for
creating Eclipse plugins.

[1]: http://mevenide.codehaus.org

--
Trygve

Attachment: signature.asc
Description: Digital signature

Reply via email to