I have a project on Mule Runtime 4.2.2 and I am working on AnypointStudio.
Now I am trying to exclude dev.properties file from src/main/resources
folder when packaging. Because I am using prod.properties on a production. But for some reason nothing works. It keeps showing up in .jar file.
Here is what I did:
1) Created a new file in the project folder named "_muleExclude"
2) Added exclusion rule:
dev.properties
. Also tried **/src/main/resources/dev.properties
3) Packaged with mvn clean package
I am using mule-maven-plugin version 3.3.5. Found only this documentation about _muleExclude: https://docs.mulesoft.com/mule-runtime/4.3/package-a-mule-application#exclude-files-from-the-application-package
It doesn't seem to be working. It could be a bug.