Re: Maven module only for site?

2009-04-21 Thread Nick Stolwijk
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
 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 C 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-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven module only for site?

2009-04-21 Thread solo1970

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 C 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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven module only for site?

2009-04-20 Thread solo1970

Hello everyone,

Here is what I need to do:

inlcude a C 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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org