I\'m using the maven-resources-plugin to copy some resources from my project but one of my resources is a binary file. The output says it is Using \'UTF-8\' encoding t
Set up two separate elements, one with false and the other with true. Use the and elements of to exclude your binary files by extension from one of them.
The resources plugin is however getting smarter about excluding e.g. images by default, so make sure you use the latest version.