Thanks for the quick reply. But what I want to do is to use the maven help
plugin classes inside my program to generate the effective pom. But since
the variables are set by Mojo parameters ${reactorProjects} and ${project} I
cannot accomplish this. Is there a way to get
these parameters programmatically and pass them to the Mojo?

On Fri, Feb 26, 2010 at 6:37 AM, Wayne Fay <wayne...@gmail.com> wrote:

> > I want to get the effective pom of a given pom file in to a progam that I
> am
> > writing. Is there a way to reuse the code in the maven help plugin to get
> > this done?
>
> 1. Probably should be asking this on Maven Users list.
> 2. This should do it: mvn help:effective-pom | your-program
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to