[ https://jira.codehaus.org/browse/MEAR-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=344886#comment-344886 ]
Peter Gabriel commented on MEAR-184: ------------------------------------ If u r familiar with IntelliJ, here is the answer from their support: When you call 'maven clean' and then 'maven compile', the output directory of 'exploded ear' artifact is cleared but then it is recreated because META-INF/application.xml is generated in it. So when you invoke 'Build Artifact' (directly or by starting 'Deploy' run configuration) IDEA won't notice that the output of 'exploded ear' artifact was changed and won't recompile the artifact. Simply it makes a trouble in IDEA and it took some time to find the culprit. > Application.xml generated in 2 locations > ---------------------------------------- > > Key: MEAR-184 > URL: https://jira.codehaus.org/browse/MEAR-184 > Project: Maven Ear Plugin > Issue Type: Bug > Affects Versions: 2.9 > Reporter: Peter Gabriel > > If is use: > > <generatedDescriptorLocation>${basedir}/src/main/application/META-INF</generatedDescriptorLocation> > the application.xml is generated in this dir but it is also generated in > target dir under '/target/META-INF/application.xml' > This is the problem for IntelliJ IDEA, cause target dir is not empty. I think > only one and only one should be created. (NOt in target dir) -- This message was sent by Atlassian JIRA (v6.1.6#6162)