Filter only `*.tag` files
Instead of excluding all binary files, just filter `*.tag` files. http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.htmlpull/952/merge
parent
a3d01727f9
commit
4c1e6866ce
|
@ -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…
Reference in New Issue