You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/06/27 21:36:10 UTC

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

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

Michael Osipov updated MNG-3844:
--------------------------------

    Fix Version/s:     (was: 3.x / Backlog)

> Review inheritance of SCM info
> ------------------------------
>
>                 Key: MNG-3844
>                 URL: https://jira.codehaus.org/browse/MNG-3844
>             Project: Maven
>          Issue Type: New Feature
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.9, 2.1.0-M1
>            Reporter: Benjamin Bentmann
>            Priority: Trivial
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)