You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by Dennis Lundberg <de...@mdh.se> on 2006/01/21 13:32:07 UTC

[proposal] Create a utility class for scm url checking/parsing

Hello

There is a lot of code in different places, both in maven-scm and 
elsewhere, that checks and parses scm url:s. I propose that we create a 
utility class ScmUrlUtils in maven-scm-api where such code (static 
methods) can be placed. The code there should not be scm provider specific.

There should of course be an accompanying test suite for it.

This concept might also be applied to the individual scm providers, e.g. 
there could be a CvsScmUrlUtils in maven-scm-provider-cvs.


-- 
Dennis Lundberg

Re: [proposal] Create a utility class for scm url checking/parsing

Posted by John Casey <jd...@yahoo.com>.
sounds like a pretty good idea. The utility could live in 
maven-scm-provider-api.

Would you like to file a jira against:

http://jira.codehaus.org/browse/SCM

and start work on it? :)

-john

Dennis Lundberg wrote:
> Hello
> 
> There is a lot of code in different places, both in maven-scm and 
> elsewhere, that checks and parses scm url:s. I propose that we create a 
> utility class ScmUrlUtils in maven-scm-api where such code (static 
> methods) can be placed. The code there should not be scm provider specific.
> 
> There should of course be an accompanying test suite for it.
> 
> This concept might also be applied to the individual scm providers, e.g. 
> there could be a CvsScmUrlUtils in maven-scm-provider-cvs.
> 
>