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.
Issue Links
Activity
Jason van Zyl
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | Reviewed [ 13555 ] |
Paul Benedict
made changes -
Benjamin Bentmann
made changes -
Benjamin Bentmann
made changes -
Benjamin Bentmann
made changes -
| 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> <notifier> <type>mail</type> <configuration> <address>blah</address> </configuration </notifier> </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. |
If I define the following in my parent pom: {code:xml} <ciManagement> <system>continuum</system> <url>http://blah</url> </ciManagement> {code} and then in the child pom I have the following: {code:xml} <ciManagement> <notifiers> <notifier> <type>mail</type> <configuration> <address>blah</address> </configuration> </notifier> </notifiers> </ciManagement> {code} 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. |
Brett Porter
made changes -
| Fix Version/s | Reviewed Pending Version Assignment [ 13555 ] | |
| Fix Version/s | 2.x [ 14504 ] |
Brett Porter
made changes -
| Fix Version/s | 2.x [ 14504 ] | |
| Fix Version/s | 3.1 [ 15565 ] |
Benjamin Bentmann
made changes -
Herve Boutemy
made changes -
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.