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
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
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