I have a Maven-based EAR application that I am deploying to Glassfish. IntelliJ generates its artifacts from my Maven POMs just fine, except for one tiny detail. I have a META-INF directory containing some extra XML files in my EAR module. I can't seem to have IntellJ include this directory in its artifacts. I can do it manually, but everytime I change a POM file, this change gets lost because artifacts get generated automatically.
How can I have IntellJ recognize the resources folder of the EAR module and include its files?