Class GitScmTestUtils
java.lang.Object
org.apache.maven.scm.provider.git.GitScmTestUtils
- Author:
- Trygve Laugstøl
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic void
deleteAllDirectories
(File startDirectory, String pattern) static String
static void
static void
static void
setDefaultUser
(File repositoryRootFile)
-
Field Details
-
GIT_COMMAND_LINE
'git' command line- See Also:
-
-
Method Details
-
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
- Throws:
IOException
-
setDefaultUser
-