Class GitScmTestUtils

java.lang.Object
org.apache.maven.scm.provider.git.GitScmTestUtils

public final class GitScmTestUtils extends Object
  • Constructor Details

    • GitScmTestUtils

      private GitScmTestUtils()
  • 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

      public static void deleteAllDirectories(File startDirectory, String pattern) throws IOException
      Throws:
      IOException
    • setDefaultUser

      public static void setDefaultUser(File repositoryRootFile)