files element will be overwritten instead of extended when using multi module projects

Description

I have a parent project that defines the global setup of my cargo plugin and I have multiple maven projects that include my parent project.

When I define a configuration.configuration.files in my parent project and I also define a files element in my child project. cargo will only use the one defined in the child element.

I am not sure is this is the case for all elelments, but I really think that the elements should not be overwritten but extended

Activity

Show:
S. Ali Tokmen
March 8, 2017, 7:26 PM

Hi Elroy

Thanks for your inquiry.

This is not a bug of the Codehaus Cargo Maven2/Maven3 plugin, but rather simply how Maven works. You can refer to the article http://blog.sonatype.com/2011/01/maven-how-to-merging-plugin-configuration-in-complex-projects/ to understand how to merge property values between parent and children.

For further information, we would suggest you ask other users via our mailing lists.

Regards

Assignee

Unassigned

Reporter

Elroy Peters

Affects versions

Priority

Low
Configure