You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/11/23 11:26:19 UTC

[jira] Updated: (MNG-2807) ciManagement from parent is not merging with children

     [ http://jira.codehaus.org/browse/MNG-2807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-2807:
-----------------------------------

    Description: 
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.

  was:
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.


> ciManagement from parent is not merging with children
> -----------------------------------------------------
>
>                 Key: MNG-2807
>                 URL: http://jira.codehaus.org/browse/MNG-2807
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.4
>         Environment: linux jdk1.5.0_10 amd64
>            Reporter: Kelly Davis
>             Fix For: Reviewed Pending Version Assignment
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira