You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2009/05/15 00:16:44 UTC
[jira] Commented: (SCM-468) Add scm:update-scm-tag
[ http://jira.codehaus.org/browse/SCM-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=176470#action_176470 ]
Olivier Lamy commented on SCM-468:
----------------------------------
we can only update developerConnection as it could be different from connection.
Maybe adding a parameter which says duplicate dev cnx to cnx.
And btw we can't touch url element.
Have a look at an apache project pom
{code:xml}
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/scm/trunk</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/scm/trunk</developerConnection>
<url>http://svn.apache.org/viewvc/maven/scm/</url>
</scm>
{code}
> Add scm:update-scm-tag
> ----------------------
>
> Key: SCM-468
> URL: http://jira.codehaus.org/browse/SCM-468
> Project: Maven SCM
> Issue Type: New Feature
> Components: maven-plugin
> Affects Versions: 1.2
> Reporter: Baptiste MATHUS
> Priority: Minor
>
> In each pom, maven users have to maintain the <scm /> xxxConnection tags to match the actual location of the project.
> When you checkout or move a project in the repository tree, those tags become incorrect. So you have to update them manually and take care for typos.
> As the information is present in the scm metadata (subversion, for me, by using "svn info"), those tags could be simply updated automatically by such a goal.
> Obviously, this goal would be even more useful when being ran at the root of a multimodule project.
> Thanks a lot.
> Cheers.
--
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