[ http://jira.codehaus.org/browse/MNG-1031?page=comments#action_47358 ] 

Matthew Beermann commented on MNG-1031:
---------------------------------------

At the risk of being dumb, can you give me an example of how that might work?

Also, is there any way to tell, in general, which attributes are going to 
change as they're inherited? It's not all of them, and it feels unpredictable.

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

Reply via email to