Seems to be a bug. war:war with excludes is working, war:inplace and
war:exploded don't honor the excludes.
-Tim
mraible schrieb:
I tried this and it doesn't work.
<warSourceExcludes>WEB-INF/lib/**,WEB-INF/classes/struts.xml</warSourceExcludes>
I also tried customizing it just for the war:inplace goal:
<executions>
<execution>
<id>war-inplace</id>
<goals>
<goal>inplace</goal>
</goals>
<configuration>
<warSourceExcludes>WEB-INF/lib/**,WEB-INF/classes/struts.xml</warSourceExcludes>
</configuration>
</execution>
</executions>
I'm using maven-war-plugin version 2.0.2.
Thanks,
Matt
Tim Kettler wrote:
Hi,
<warSourceExcludes>WEB-INF/lib/*.jar,...,...</warSourceExcludes> [1]
-Tim
[1] http://maven.apache.org/plugins/maven-war-plugin/inplace-mojo.html
mraible schrieb:
Is it possible to customize maven-war-plugin so JARs aren't put in
src/main/webapp/WEB-INF/lib when using war:inplace?
I'd like to stop JARs from getting put in this directory (if I remove it,
jetty:run still works fine), as well as exclude some files from
src/main/resources (because Jetty picks those up too).
Thanks,
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]