Class ScmUrl
- java.lang.Object
-
- zone.gryphon.maven.plugins.scm.model.ScmUrl
-
public class ScmUrl extends Object
-
-
Constructor Summary
Constructors Constructor Description ScmUrl()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScmUrl
parse(String scm)
Parses the<scm_provider>
component of a the given Maven Maven SCM URL.
-
-
-
Method Detail
-
parse
public static ScmUrl parse(String scm) throws IllegalArgumentException
Parses the<scm_provider>
component of a the given Maven Maven SCM URL.
The complete URL format isscm:<scm_provider><delimiter><provider_specific_part>
, where<delimiter>
can be either ":
" or "|
"- Parameters:
scm
- The URL- Returns:
- The
<scm_provider>
component of the URL - Throws:
IllegalArgumentException
- if the provided URL is invalid
-
-