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:

<plugin>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
                <warSourceExcludes>**/external/dojo/**/*.js</warSourceExcludes>
        </configuration>
</plugin>

Thanks,

David

--
View this message in context: 
http://maven.40175.n5.nabble.com/if-condition-in-pom-xml-tp5639737p5639737.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to