You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Gonzalez <ad...@yahoo.fr> on 2007/11/09 23:44:47 UTC
RE : [war] warSourceExcludes not working for war:inplace
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 <ad...@yahoo.fr> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org