Just so you know, there is a project in the shared-component space to do
this (I don't think it's been released yet, though). It's called
maven-invoker, and it has the advantage that eventually its API is meant to
be converged with the embedder (in the maven 2.1 timeframe). I'm using it
now to run functional tests for the latest assembly plugin snapshots, by way
of the maven-invoker-plugin, in the sandbox. If you were interested, that
plugin offers some insight into using the invoker.

SVN:

invoker: http://svn.apache.org/repos/asf/maven/shared/trunk/maven-invoker
invoker-plugin
http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-invoker-plugin

HTH,

john

On 9/20/06, Philippe Faes <[EMAIL PROTECTED]> wrote:

Hi Raphaël,

Thanks for your help. I decided on using
org.apache.maven.plugins.release.exec.ForkedMavenExecutor
It's too bad I have to depend on the entire release plugin, but it seems
to work just fine.

Philippe

On Wed, 2006-09-20 at 10:24 +0200, Raphaël Piéroni wrote:
> Hi,
>
> you can use :
> - the embedder (as in mevenide)
> - execute an inner lifecycle (as in the release or cargo plugins)
>
> Hope ths helps.
>
> Raphaël
>
> 2006/9/20, Philippe Faes <[EMAIL PROTECTED]>:
> >
> > Dear all,
> >
> > I'm creating a mvn plug-in that needs to start an external maven
build.
> > Is there an API function I can use for this?
> >
> > thanks
> >
> > --
> > ir. Philippe Faes
> > Ghent University - Department ELIS
> > Sint-Pietersnieuwstraat 41 -- B-9000 Gent
> > Tel:+32 9 264 95 25 - Fax:+32 9 264 35 94
> >     http://www.elis.UGent.be/~pfaes
> > ON5DEU   --   LPIC1  --  gpg-key:173720B6
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
--
ir. Philippe Faes
Ghent University - Department ELIS
Sint-Pietersnieuwstraat 41 -- B-9000 Gent
Tel:+32 9 264 95 25 - Fax:+32 9 264 35 94
    http://www.elis.UGent.be/~pfaes
ON5DEU   --   LPIC1  --  gpg-key:173720B6


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


Reply via email to