jboss-ejb3.xml entry keeps disappearing from ${PROJECT_DIR}/.idea/artifacts/XXX_war_exploded.xml

Why is it that although I've set

1.  the proper path to the JBoss EJB deployment descriptor in my project's EJB facet

2.  added jboss-ejb3.xml to artifact Patrac-web:war exploded's <output root>/WEB-INF

that any time I make the simplest change to pom.xml Intellij removes the following entry from ${PROJECT_DIR}/.idea/artifacts/Patrac_web_war_exploded.xml

<element id="file-copy" path="$PROJECT_DIR$/Patrac-ejb/src/main/resources/META-INF/jboss-ejb3.xml" />

and, as a result, jboss-ejb3.xml does not get copied to the deployment directory?

I have no entry for jboss-ejb3.xml in my pom.xml.  Is this why the settings I make in Intellij IDE keep disappearing whenever I edit pom.xml?

If so, what do I need to add to pom.xml in order to make this stop happening?

2 comments

Thanks Nik for your persistence in getting the question answered!  You were very helpful  :D

0

Please sign in to leave a comment.