Re: are not aggregated from parent to child pom

2010-10-04 Thread Ron Wheeler
On 04/10/2010 8:29 AM, Caoilte O'Connor wrote: Hi Ron, That's a very noble sentiment. Thanks. I think it would help if "Best Practices" were codified. You are right. This causes almost all of the traffic on this site. Everyone starts out with an existing methodology that serves their non-Mave

Re: are not aggregated from parent to child pom

2010-10-04 Thread Caoilte O'Connor
It bites in quite a lot of places. I wanted to define one "execution" of the build-helper-maven-plugin in a parent pom and another in one of it's children then have the two merged together. However, Maven overrode the parent configuration in the child. Given that some sections of the pom (eg depen

Re: are not aggregated from parent to child pom

2010-10-04 Thread Caoilte O'Connor
Hi Ron, That's a very noble sentiment. Thanks. I think it would help if "Best Practices" were codified. I'm quite prepared to believe that there is a cogent and reasoned position for why some parts of the pom are merged and others not but like Marshall I am not familiar with it. Regards Caoilt

Re: are not aggregated from parent to child pom

2010-10-04 Thread Ron Wheeler
Maven is almost always right. Figure out why your methodology is not following "Best Practices" and change the way that you work so that maven does it for you automatically. You can fight Maven as much as you want but it will always win. If you can identify why you are building an application

Re: are not aggregated from parent to child pom

2010-10-02 Thread Marshall Schor
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 section to include files. >> >> The (child) pom.xml is executed directly and has the effect of only copying >> the child's resources. Commenting

Re: are not aggregated from parent to child pom

2010-10-02 Thread Benjamin Bentmann
Xavier D. wrote: My pom structure is: pom.xml has a parent: parent-pom.xml. Both have a 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 bein

are not aggregated from parent to child pom

2010-10-01 Thread Xavier D.
My pom structure is: pom.xml has a parent: parent-pom.xml. Both have a 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. I believe