Re: Get the effective pom to a program

2010-02-26 Thread Brett Porter
Please post your question to the us...@maven list. Thanks. On 26/02/2010, at 6:56 PM, pubudu gunawardena wrote: > 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

Re: Get the effective pom to a program

2010-02-25 Thread pubudu gunawardena
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 programmat

Re: Get the effective pom to a program

2010-02-25 Thread Wayne Fay
> 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 ---

Get the effective pom to a program

2010-02-25 Thread pubudu gunawardena
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? Thanks, Pubudu