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 voiddeleteAllDirectories(File startDirectory, String pattern)static StringgetScmUrl(File repositoryRootFile, String provider)static voidinitRepo(File repository, File workingDirectory, File assertionDirectory)static voidinitRepo(String source, File repository, File workingDirectory)static voidsetDefaultUser(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)
-
-