jira-importer opened a new issue, #184: URL: https://github.com/apache/maven-ear-plugin/issues/184
**[Rich M](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=richm123)** opened **[MEAR-308](https://issues.apache.org/jira/browse/MEAR-308?redirect=false)** and commented I am using maven-resources plugin to copy an additional file insider EAR META-INF folder. It works fine for the first time with clean. But when run again without clean, EAR plugin deletes the file saying "deleting outdated resource...". The pipeline runs the clean install first, and then run mvn deploy at later stage. Since mvn deploy builds ear again, it results in ear without the additional file. Here is a sample code attached. To recreate the problem: 1. Run mvn clean package. Note that \target\testear-1.0\META-INF will have 2 files. 2. Run mvn package. \target\testear-1.0\META-INF will have only 1 file now. How can this behavior be fixed ? --- **Affects:** 3.2.0 **Attachments:** - [build.log](https://issues.apache.org/jira/secure/attachment/13041985/build.log) (_3.23 kB_) - [earmetainfissue.zip](https://issues.apache.org/jira/secure/attachment/13041986/earmetainfissue.zip) (_1.78 kB_) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
