Re: Maven: Creating a new phase

2012-09-19 Thread Stephen Connolly
On 18 September 2012 23:19, John Riedl ri...@umn.edu wrote: Stephen: Wow, nice detailed observations. Just to make sure everyone else catches something that I misread the first time: it's only if you don't specify any phase that you get the help text without the new phases included. If

Re: Maven: Creating a new phase

2012-09-18 Thread Stephen Connolly
There are some limits to this... perhaps due to some bugs in how Maven handles this type of thing e.g. This requires Maven 3.0 or newer to work. When you try to use this in Maven 2.x you will get a error such as: $ mvn eval [INFO] Scanning for projects... [INFO]

Re: Maven: Creating a new phase

2012-09-18 Thread John Riedl
Stephen: Wow, nice detailed observations. Just to make sure everyone else catches something that I misread the first time: it's only if you don't specify any phase that you get the help text without the new phases included. If you do specify a phase that maven is confused about (as in your

Re: Maven: Creating a new phase

2012-09-18 Thread Benson Margulies
On Mon, Sep 17, 2012 at 6:48 PM, John Riedl ri...@umn.edu wrote: And *that* was exactly what I needed. Thank you very much for your help. It turns out the lifecycle.xml was fine, but I needed *both* a LifecycleMapping component *and* a Lifecycle component. I had discovered examples with

Re: Maven: Creating a new phase

2012-09-17 Thread John Riedl
And *that* was exactly what I needed. Thank you very much for your help. It turns out the lifecycle.xml was fine, but I needed *both* a LifecycleMapping component *and* a Lifecycle component. I had discovered examples with each separately on the web, but this is the first example I've seen with

Re: Maven: Creating a new phase

2012-09-17 Thread Manfred Moser
Fork the book on github and write the update. Send a pull request and I will work with your for whatever else is necessary. Manfred On Mon, September 17, 2012 3:48 pm, John Riedl wrote: And *that* was exactly what I needed. Thank you very much for your help. It turns out the lifecycle.xml

Re: Maven: Creating a new phase

2012-09-16 Thread Benson Margulies
We happen to have an example of this in stock, recently minted. https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-scm-publish-plugin That is, this is a plugin with a custom lifecycle definition and custom phases. On Sun, Sep 16, 2012 at 12:00 AM, Barrie Treloar baerr...@gmail.com

Re: Maven: Creating a new phase

2012-09-15 Thread Baptiste MATHUS
everyone. I'm a newbie to Maven, but have spent the last two days beating my head against this problem ... I posted the long form of this question, with XML to: http://stackoverflow.com/questions/12433120/maven-creating-a-new-phase The short form that I'm hoping someone on this list can answer

Re: Maven: Creating a new phase

2012-09-15 Thread John Riedl
Riedl ri...@umn.edu Hello everyone. I'm a newbie to Maven, but have spent the last two days beating my head against this problem ... I posted the long form of this question, with XML to: http://stackoverflow.com/questions/12433120/maven-creating-a-new-phase The short form that I'm hoping

Re: Maven: Creating a new phase

2012-09-15 Thread Barrie Treloar
On Sun, Sep 16, 2012 at 7:06 AM, John Riedl ri...@umn.edu wrote: Baptiste: Thanks for the answer. You're certainly right about needing the extensions true line, and I do have that in my pom (below). Note that the error message I'm getting gives a complete list of all lifecycle phases that

Maven: Creating a new phase

2012-09-14 Thread John Riedl
Hello everyone. I'm a newbie to Maven, but have spent the last two days beating my head against this problem ... I posted the long form of this question, with XML to: http://stackoverflow.com/questions/12433120/maven-creating-a-new-phase The short form that I'm hoping someone on this list can