Browse Source

Filter only `*.tag` files

Instead of excluding all binary files, just filter `*.tag` files.
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
pull/952/merge
Mark Janssen 9 years ago committed by Justin Richer
parent
commit
4c1e6866ce
  1. 23
      openid-connect-server-webapp/pom.xml

23
openid-connect-server-webapp/pom.xml

@ -40,23 +40,20 @@
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<configuration> <configuration>
<warName>openid-connect-server-webapp</warName> <warName>openid-connect-server-webapp</warName>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>gif</nonFilteredFileExtension>
<nonFilteredFileExtension>ico</nonFilteredFileExtension>
<nonFilteredFileExtension>jpg</nonFilteredFileExtension>
<nonFilteredFileExtension>png</nonFilteredFileExtension>
<nonFilteredFileExtension>pdf</nonFilteredFileExtension>
<nonFilteredFileExtension>eot</nonFilteredFileExtension>
<nonFilteredFileExtension>woff</nonFilteredFileExtension>
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
<nonFilteredFileExtension>svg</nonFilteredFileExtension>
<nonFilteredFileExtension>jwks</nonFilteredFileExtension>
<nonFilteredFileExtension>json</nonFilteredFileExtension>
</nonFilteredFileExtensions>
<webResources> <webResources>
<resource> <resource>
<directory>src/main/webapp</directory> <directory>src/main/webapp</directory>
<filtering>true</filtering> <filtering>true</filtering>
<includes>
<include>**/*.tag</include>
</includes>
</resource>
<resource>
<directory>src/main/webapp</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/*.tag</exclude>
</excludes>
</resource> </resource>
</webResources> </webResources>
</configuration> </configuration>

Loading…
Cancel
Save