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]
>
>
>
--
View this message in context:
http://www.nabble.com/Is-it-possible-to-customize-maven-war-plugin-so-JARs-aren%27t-put-in-src-main-webapp-WEB-INF-lib-when-using-war%3Ainplace--tf4466701s177.html#a12759424
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]