Hi,

Thanks for the reply.

The phases can also vary depending on the artifact type. For example, the 
phases of a WAR 
type project is different from a JAR type.

I have no idea if Maven supplies an API that we could use, in a plugin, to get 
all this info.

All this info, or almost, is available with the help:effective-pom goal. So, 
probably
it wouldn't be so hard to create a plugin for this.

Anyway, I'll try to investigate and do something soon.

thanks


On Tue, 13 Oct 2009 09:37:28 +1100
Brett Porter <[email protected]> wrote:

> No, the phases are fixed so there's nothing POM-specific to question,  
> and the goals are unlimited based on what plugins are available.
> 
> As for which goals are mapped to the list of phases - that's more  
> interesting, but not currently available to my knowledge.
> 
> - Brett
> 
> On 13/10/2009, at 9:31 AM, 529pss wrote:
> 
> > Hi all,
> >
> > Does anybody know if it is, somehow, possible to question maven for  
> > the available goals
> > and phases for a given pom.xml?
> >
> > thanks
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to