Sorry, same question was already asked in mailing list. See http://www.nabble.com/forum/ViewPost.jtp?post=12760227&framed=y&skin=177.
I've raised a JIRA http://jira.codehaus.org/browse/MWAR-130. --- Adrian Gonzalez <[EMAIL PROTECTED]> a écrit : > 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 > ____________________________________________________________________________________________ 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]