Profile activation based on property absence OR property value of false

2011-10-24 Thread Laird Nelson
It looks like activating a profile based on EITHER the absence of a property
OR the presence of that property with a particular value is not possible.
Is that correct?

For example, suppose I wanted to add in a bunch of plugins if the
skipTests property was (a) specified with a value of false or (b) not
specified at all.  It looks like I cannot activate a profile that takes (a)
and (b) into account.

Best,
Laird

-- 
http://about.me/lairdnelson


RE: Profile activation based on property absence OR property value of false

2011-10-24 Thread Robert Scholte

Yes you can, try: !true

 

See http://svn.codehaus.org/mojo/trunk/mojo/sql-maven-plugin/pom.xml


 Date: Mon, 24 Oct 2011 17:30:24 -0400
 Subject: Profile activation based on property absence OR property value of 
 false
 From: ljnel...@gmail.com
 To: users@maven.apache.org

 It looks like activating a profile based on EITHER the absence of a property
 OR the presence of that property with a particular value is not possible.
 Is that correct?

 For example, suppose I wanted to add in a bunch of plugins if the
 skipTests property was (a) specified with a value of false or (b) not
 specified at all. It looks like I cannot activate a profile that takes (a)
 and (b) into account.

 Best,
 Laird

 --
 http://about.me/lairdnelson 
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org