Why do you want to achieve that? Afaik you can't activate a profile based upon running phases.
Just make sure the module only includes goals which are run in the site lifecycle. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Tue, Apr 21, 2009 at 5:20 PM, solo1970 <[email protected]> wrote: > > I was thinking of using profiles but can't seem to find a way to activate the > profile based on the lifecycle or phase??? > > > > solo1970 wrote: >> >> Hello everyone, >> >> Here is what I need to do: >> >> inlcude a <module>C</module> in my aggregator (multi-module) POM that >> would ONLY BE "executed" when doing a mvn site command, not when I do a >> mvn compile, package or deploy... >> >> Any ideas on how to do this??? >> >> Sonia >> > > -- > View this message in context: > http://www.nabble.com/Maven-module-only-for-site--tp23141464p23158439.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]
