Resource filtering is designed primarily for textual resources in which Maven substitutes property expressions. Binary files such as PKCS#12 keystores and certificate files must not be passed through text filtering because filtering can corrupt their binary representation.
The Maven Resources Plugin provides the dedicated configuration element nonFilteredFileExtensions. Each additional extension is declared using a nested nonFilteredFileExtension. The plugin documentation specifically defines this parameter as the list of additional file extensions to which filtering must not be applied.
Option C correctly uses the documented structure:
< nonFilteredFileExtensions >
< nonFilteredFileExtension > p12 < /nonFilteredFileExtension >
< nonFilteredFileExtension > crt < /nonFilteredFileExtension >
< nonFilteredFileExtension > pem < /nonFilteredFileExtension >
< /nonFilteredFileExtensions >
This is important because the application's normal resource configuration can still use < filtering > true < /filtering > for textual files while Maven leaves the listed certificate/keystore formats untouched.
The alternative constructs visible in the other exhibits, such as excludeFileExtensions or excludeBinaryFiles, are not the Maven Resources Plugin parameter used for this purpose.
Reference topics: Maven Resources Plugin; resource filtering; binary resources; nonFilteredFileExtensions; Mule Maven builds.
Official documentation: https://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html
===============================================================