You can't do that. What you could attempt to do is call the plugin:goal that might be bound to this phase. Like jar:package.
-----Original Message----- From: Doron Solomon [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 2:57 PM To: [email protected] Subject: Execute only a specific phase Hi, I'm wondering if there's a way to execute ONLY a given phase of a lifecycle. For example, let's say I only want to execute the 'package' phase. Calling the specific goal that I might expect to be associated to that phase isn't good enough because the POM might have configured additional goals to that phase, and I want to execute all of them. In particular, say I want to execute only the 'package' phase on an aggregate (parent) POM. If some of the modules of this POM are jars, some are wars, etc. then I cannot call a particular goal; I need maven to figure out which goal(s) to execute for that phase for each module. Thanks, Doron --------------------------------------------------------------------- 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]
