Maven war Plugin: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 10: Line 10:


=Filtering Web Resources=
=Filtering Web Resources=
<pre>
<configuration>
    <webResources>
        <resource>
            <directory>src/main/resources</directory>
          <excludes>
                <exclude>*jgroups.xml</exclude>
                <exclude>jdg-jgroups-configuration.xml</exclude>
          </excludes>
      </resource>
</webResources>
</configuration>
</pre>
does not seem to work for files placed in <tt>src/main/resources</tt>. The files are NOT filtered out.

Latest revision as of 13:21, 10 May 2017

External

Internal

Overview

Filtering Web Resources

<configuration>
    <webResources>
        <resource>
            <directory>src/main/resources</directory>
           <excludes>
                <exclude>*jgroups.xml</exclude>
                <exclude>jdg-jgroups-configuration.xml</exclude>
           </excludes>
      </resource>
 </webResources>
</configuration>

does not seem to work for files placed in src/main/resources. The files are NOT filtered out.