Maven war Plugin: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * http://maven.apache.org/plugins/maven-war-plugin/ =Internal= * Maven =Overview= =Plugin Options=")
 
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
=Overview=
=Overview=


=Plugin Options=
=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.