Class GitScmTestUtils
- java.lang.Object
-
- org.apache.maven.scm.provider.git.GitScmTestUtils
-
public final class GitScmTestUtils extends Object
- Author:
- Trygve Laugstøl
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
deleteAllDirectories(File startDirectory, String pattern)
static String
getScmUrl(File repositoryRootFile, String provider)
static void
initRepo(File repository, File workingDirectory, File assertionDirectory)
static void
initRepo(String source, File repository, File workingDirectory)
static void
setDefaultUser(File repositoryRootFile)
-
-
-
Method Detail
-
initRepo
public static void initRepo(File repository, File workingDirectory, File assertionDirectory) throws IOException
- Throws:
IOException
-
initRepo
public static void initRepo(String source, File repository, File workingDirectory) throws IOException
- Throws:
IOException
-
getScmUrl
public static String getScmUrl(File repositoryRootFile, String provider) throws org.codehaus.plexus.util.cli.CommandLineException
- Throws:
org.codehaus.plexus.util.cli.CommandLineException
-
deleteAllDirectories
public static void deleteAllDirectories(File startDirectory, String pattern) throws IOException
- Throws:
IOException
-
setDefaultUser
public static void setDefaultUser(File repositoryRootFile)
-
-