Class MavenLocalRepositoryUtils
- java.lang.Object
-
- org.guvnor.common.services.project.backend.server.MavenLocalRepositoryUtils
-
public class MavenLocalRepositoryUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description MavenLocalRepositoryUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PathgetRepositoryPath(org.guvnor.common.services.project.model.GAV gav)Get a Path pointing to a transient M2 Local Repositorystatic voidtearDownMavenRepository(Path m2Folder)Destroy the temporary local Maven Repository and all content.
-
-
-
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-
-
-