On 10/2/2010 7:42 AM, Benjamin Bentmann wrote:
> Xavier D. wrote:
>
>> My pom structure is:  pom.xml has a parent:  parent-pom.xml.
>>
>> Both have a<resources>  section to include files.
>>
>> The (child) pom.xml is executed directly and has the effect of only copying
>> the child's resources.   Commenting out this resource section, results in
>> the parent's resources being copied.
>
> This is expected behavior, <resources> given in a child POM are not merged
> with <resources> in the parent but completely override those.

I'm curious as to why this design decision was taken, versus an approach which
allows merging, or perhaps some kind of user (pom - specified) choice.

I was "bitten" by this also.

-Marshall Schor

>
>
> Benjamin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to