Fri, 20 Jan 2023 13:38:32 +0200, /Delany/:
Hi Tom,
You can turn off filtering if you don't need it. The docs suggest having
separate folders for plaintext/binary resources
https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
The docs also mention a configuration to explicitly exclude certain file
extensions from filtering:
https://maven.apache.org/plugins/maven-resources-plugin/examples/binaries-filtering.html
The plugin will prevent binary files filtering without adding some
excludes configuration for the following file extensions jpg, jpeg, gif,
bmp and png.
If you like to add supplemental file extensions this can simply achieved
by using a configuration like the following:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.0</version>
<configuration>
...
<nonFilteredFileExtensions>
<nonFilteredFileExtension>pdf</nonFilteredFileExtension>
<nonFilteredFileExtension>swf</nonFilteredFileExtension>
</nonFilteredFileExtensions>
...
</configuration>
</plugin>
--
Stanimir
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org