Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-139

Create a utility class for scm url checking/parsing

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-4
    • maven-scm-api
    • None
    • Patch

    Description

      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.

      Attachments

        1. SCM-139.zip
          97 kB
          dennislundberg
        2. SCM-139-2.zip
          5 kB
          dennislundberg
        3. ScmUrlUtils.java
          3 kB
          dennislundberg

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            dennisl@apache.org Dennis Lundberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: