org.mule.devkit.maven
Class RepositoryUtils
java.lang.Object
org.mule.devkit.maven.RepositoryUtils
public class RepositoryUtils
- extends Object
Repository utilities
- Author:
- Kevin Sawicki (kevin@github.com)
|
Method Summary |
static org.eclipse.egit.github.core.RepositoryId |
extractRepositoryFromScmUrl(String url)
Extra repository id from given SCM URL |
static org.eclipse.egit.github.core.RepositoryId |
getRepository(org.apache.maven.project.MavenProject project,
String owner,
String name)
Get repository |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryUtils
public RepositoryUtils()
extractRepositoryFromScmUrl
public static org.eclipse.egit.github.core.RepositoryId extractRepositoryFromScmUrl(String url)
- Extra repository id from given SCM URL
- Parameters:
url -
- Returns:
- repository id or null if extraction fails
getRepository
public static org.eclipse.egit.github.core.RepositoryId getRepository(org.apache.maven.project.MavenProject project,
String owner,
String name)
- Get repository
- Parameters:
project - owner - name -
- Returns:
- repository id or null if none configured
Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.