Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.4
-
Fix Version/s: 3.2
-
Component/s: Inheritance and Interpolation
-
Labels:None
-
Environment:linux jdk1.5.0_10 amd64
-
Complexity:Intermediate
-
Number of attachments :
Description
If I define the following in my parent pom:
<ciManagement> <system>continuum</system> <url>http://blah</url> </ciManagement>
and then in the child pom I have the following:
<ciManagement> <notifiers> <notifier> <type>mail</type> <configuration> <address>blah</address> </configuration> </notifier> </notifiers> </ciManagement>
The ciManagement for the effective pom lacks the system and url properties from the parent pom. Seems like it should be merging them but isn't. This would helpful for reducing code duplication.
This would greatly help when submodules are ran by different developers. The software engineers can be placed in the parent POM, and additional developers notified via the children POM. In the company I work for, we aren't allowed to have custom mailing lists – so we have to list people (i.e., developers) individually in the POM. A pain, yes, but if this element was inheritable, it would be easier to deal with our constraint.