You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 06:15:19 UTC

[jira] Updated: (MNG-3844) Review inheritance of SCM info

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

Brett Porter updated MNG-3844:
------------------------------

    Fix Version/s: 3.x

> Review inheritance of SCM info
> ------------------------------
>
>                 Key: MNG-3844
>                 URL: http://jira.codehaus.org/browse/MNG-3844
>             Project: Maven 2
>          Issue Type: Wish
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.9, 2.1.0-M1
>            Reporter: Benjamin Bentmann
>            Priority: Trivial
>             Fix For: 3.x
>
>
> Consider this parent POM snippet:
> {code:xml}
> <scm>
>   <url>http://parent.url/viewvc</url>
>   <connection>http://parent.url/scm</connection>
>   <developerConnection>https://parent.url/scm</developerConnection>
>   <tag>parent-tag</tag>
> </scm>
> {code}
> And now this child POM snippet:
> {code:xml}
> <scm>
>   <developerConnection>https://child.url/scm</developerConnection>
> </scm>
> {code}
> This delivers the effective child POM:
> {code:xml}
> <scm>
>   <url>http://parent.url/viewvc/child</url>
>   <connection>http://parent.url/scm/child</connection>
>   <developerConnection>https://child.url/scm</developerConnection>
> </scm>
> {code}
> i.e. {{<url>}} and {{<connection>}} are still inherited.
> This appears neither sensible nor consistent with other inheritance rules (e.g. {{<ciManagement>}} and {{<issueManagement>}} are only inherited if completely omitted in the child).

-- 
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