Class MavenLocalRepositoryUtils


  • public class MavenLocalRepositoryUtils
    extends Object
    • Constructor Detail

      • MavenLocalRepositoryUtils

        public MavenLocalRepositoryUtils()
    • Method Detail

      • getRepositoryPath

        public static Path getRepositoryPath​(org.guvnor.common.services.project.model.GAV gav)
                                      throws IOException
        Get a Path pointing to a transient M2 Local Repository
        Parameters:
        gav - GAV (helper to name temporary folder)
        Returns:
        Throws:
        IOException
      • tearDownMavenRepository

        public static void tearDownMavenRepository​(Path m2Folder)
        Destroy the temporary local Maven Repository and all content.
        Parameters:
        m2Folder -