You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by tjunak <tj...@tlen.pl> on 2009/03/25 14:39:31 UTC

profiles activation - how does it work ?

Hello,

I have switched into Maven 2.1.0 hoping that it will be possible to 
use AND operator for defined activation criteria - it seems that it is still
OR am I right ?

Anyway I made some tests and with the configuration:

<activation>
<os>
  <familiy>windows</family>
</os>
<property>
   <name>build</name>
   <value>client</value>
</property>
</activation>

Regarless of how "build" property is set, profile is activated on windows
machine.

Ok, it is decided to use OR - is it some workaround to use AND ?

Another question: Is it possible to use more than one property in activation
section?

Thank you in advance!
Tomasz
-- 
View this message in context: http://www.nabble.com/profiles-activation---how-does-it-work---tp22701927p22701927.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