You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by solo1970 <so...@ericsson.com> on 2009/04/20 19:41:36 UTC
Maven module only for site?
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--tp23141464p23141464.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven module only for site?
Posted by Nick Stolwijk <ni...@gmail.com>.
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
<so...@ericsson.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven module only for site?
Posted by solo1970 <so...@ericsson.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org