[ 
https://jira.codehaus.org/browse/MNG-5249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=315315#comment-315315
 ] 

Darryl L. Miles commented on MNG-5249:
--------------------------------------

This convention is not documented (or useful for non SVN / Apache Foundation 
remote SCM system setups).  I would expect this to be documented here 
https://maven.apache.org/pom.html#SCM

It would be useful to remove the convention of appending the "/${parent.name}" 
value onto the end of the <project><scm> elements for URLs such as <connection> 
<developerConnection> and <url>.

Instead have Maven configure a system variable like ${maven.scm.path} which 
would be "/parent-parent/parent" in the case where we have foobar:project 
inherit from foobar:parent inherit from foobar:parent-parent which has <scm> 
elements configured.  This way when compatibility is broken in some future 
release those users wishing to keep the old behaviour only need to add 
${maven.scm.path} to the end of their URLs (in their equivalent 
foobar:parent-parent pom.xml)

                
> inherit scm in superPom
> -----------------------
>
>                 Key: MNG-5249
>                 URL: https://jira.codehaus.org/browse/MNG-5249
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: Issues to be reviewed for 3.x
>         Environment: maven 3.0.3
>            Reporter: Jose Manuel Prieto
>
> It's similar to http://jira.codehaus.org/browse/MNG-2006 but with GIT.
> Show too: 
> http://mail-archives.apache.org/mod_mbox/maven-users/201202.mbox/%3CCAAUMjNbO_o4WhwTvGoZueVLsaM5XULczdrp%3D9eioMV2YH9gk1A%40mail.gmail.com%3E
> and reponses into maven user lists

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to