I’ve looked through the code. I can’t see a way to get the EAR plugin to leave this file alone. Your best bet will be to post process the file and remove the line.
You have a withXml block there that looks like it’s trying to do this. That should work I think.