Hello,
warSourceExcludes appears to work only for war:war,
but not war:inplace or war:exploded.
I'm using war plugin 2.0.2. Looked at source code, but
don't understand when AbstractWarMojo
#getExcludes() is taken into account.
Thanks for your help !
---
I've the following pom.xml (extract) :
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceExcludes>WEB-INF/lib/aws-service*.jar</warSourceExcludes>
<warSourceDirectory>
src/main/webapp
</warSourceDirectory>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
<manifestEntries>
<Class-Path>aws-service.jar</Class-Path>
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<id>war-eclipse-manifest</id>
<phase>generate-resources</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
<execution>
<id>war-eclipse-test</id>
<phase>generate-resources</phase>
<goals>
<goal>inplace</goal>
</goals>
</execution>
<execution>
<id>war-eclipse-test2</id>
<phase>generate-resources</phase>
<goals>
<goal>war</goal>
</goals>
</execution>
</executions>
</plugin>
____________________________________________________________________________________________
Découvrez le blog Yahoo! Mail : le nouveau Yahoo! Mail, astuces, conseils.. et
vos réactions !
http://blog.mail.yahoo.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]