On Nov 28, 2007 5:59 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> I am trying to achieve:
>
> if (profile == documentation){
>    modules = this
> } else{
>     modules = this
> }
...
>           <activation>
>              <activeByDefault/>
>           </activation>
...
> but if I run a mvn install it does not get picked up. Only when I run mvn -P
> no-doc install does it get picked up.

It would probably need to be <activeByDefault>true</activeByDefault>.

Another way to do it is to activate the default one on the absence of
a property, and the other on the presence (or a particular value) of
the same property.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to