[ https://issues.apache.org/jira/browse/SCM-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964366#comment-17964366 ]
Olivier Lamy commented on SCM-139: ---------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-scm#343|https://github.com/apache/maven-scm/issues/343]. > Create a utility class for scm url checking/parsing > --------------------------------------------------- > > Key: SCM-139 > URL: https://issues.apache.org/jira/browse/SCM-139 > Project: Maven SCM (Moved to GitHub Issues) > Issue Type: New Feature > Components: maven-scm-api > Reporter: Dennis Lundberg > Assignee: Dennis Lundberg > Priority: Major > Fix For: 1.0-beta-4 > > Attachments: SCM-139-2.zip, SCM-139.zip, ScmUrlUtils.java > > > 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 a utility class ScmUrlUtils > be crated in maven-scm-api where such code (static methods) can be placed. > The code there should not be scm provider specific. This should be > accompanied by a test suite. > This concept might also be applied to individual scm providers, e.g. there > could be a CvsScmUrlUtils in maven-scm-provider-cvs. -- This message was sent by Atlassian Jira (v8.20.10#820010)