[ http://jira.codehaus.org/browse/MNG-1031?page=comments#action_47360 ]
Brett Porter commented on MNG-1031:
-----------------------------------
root pom:
<properties>
<scmUrl>scm:cvs:pserver:[EMAIL PROTECTED]:/projects</scmUrl>
</properties>
each child pom:
<scm>
<connection>${scmUrl}:${artifactId}</connection>
the properties added to when inherited are:
website url, scm connection/dev connection/url, site deployment url
> SCM connection attribute being inherited incorrectly
> ----------------------------------------------------
>
> Key: MNG-1031
> URL: http://jira.codehaus.org/browse/MNG-1031
> Project: Maven 2
> Type: Bug
> Components: maven-project
> Versions: 2.0-beta-2
> Reporter: Matthew Beermann
>
>
> (Not sure of the correct component, but taking a stab at it...)
> It appears that the <connection> attribute of <scm> is being modified as it
> is inherited, but not correctly. For example, if my parent project had
> something like:
> <scm>
> <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/projects:</connection>
> </scm>
> ...then the final value of the attribute, as seen by the children and any
> plugins, ends up looking something like:
> scm:cvs:pserver:[EMAIL PROTECTED]:/projects:/my-artifact-id
> ...which is wrong. It appended the artifact id automagically, which is good,
> but it added a leading slash that CVS doesn't like at all. It does work in
> Subversion I suspect. Anyway, I'm not sure where the appending happens, so
> reassign as needed...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]