Where do you list file extensions to exclude from Mule filtering?

Prepare for the MuleSoft Developer 2 Certification Exam. Access practice quizzes featuring flashcards and multiple choice questions with explanations. Get confident and ready for your certification success!

Multiple Choice

Where do you list file extensions to exclude from Mule filtering?

Explanation:
Excluding certain files from Mule’s resource filtering is done in the Maven build configuration, specifically in the Mule Maven plugin's settings inside the pom.xml. The nonFilteredFileExtensions section tells Maven which file types should be left alone during resource filtering (the token replacement step). Listing extensions like p12, crt, and pem ensures these binary certificate files aren’t altered during packaging, which could break them. That’s why this is the correct place to configure the exclusions. The other areas don’t control this behavior: secure properties in global.xml relates to storing sensitive values, APIKit Router config handles API routing, and dependencyManagement in pom.xml governs dependency versions.

Excluding certain files from Mule’s resource filtering is done in the Maven build configuration, specifically in the Mule Maven plugin's settings inside the pom.xml. The nonFilteredFileExtensions section tells Maven which file types should be left alone during resource filtering (the token replacement step). Listing extensions like p12, crt, and pem ensures these binary certificate files aren’t altered during packaging, which could break them. That’s why this is the correct place to configure the exclusions.

The other areas don’t control this behavior: secure properties in global.xml relates to storing sensitive values, APIKit Router config handles API routing, and dependencyManagement in pom.xml governs dependency versions.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy