Re: if condition in pom.xml

2012-04-13 Thread Jeff MAURY
Look at maven profiles Jeff Le samedi 14 avril 2012, wzhao6898 a écrit : > Hi there, > > Is there a way for me configure maven-war-plugin (or any plugin in general) > to execute conditionally? > e.g.: I want to configure to exclude a js directory if property notExclude > set to false, and skip i

Re: if condition in pom.xml

2012-04-13 Thread Olivier Lamy
You can use profiles and configure the plugin with your values in each profile. 2012/4/14 wzhao6898 : > Hi there, > > Is there a way for me configure maven-war-plugin (or any plugin in general) > to execute conditionally? > e.g.: I want to configure to exclude a js directory if property notExclude

if condition in pom.xml

2012-04-13 Thread wzhao6898
Hi there, Is there a way for me configure maven-war-plugin (or any plugin in general) to execute conditionally? e.g.: I want to configure to exclude a js directory if property notExclude set to false, and skip if property notExclude set to true: maven-war-plugin