-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function
Description
Rich M opened MEAR-308 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:
- Run mvn clean package. Note that \target\testear-1.0\META-INF will have 2 files.
- 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 (3.23 kB)
- earmetainfissue.zip (1.78 kB)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function