public class MavenLocalRepositoryUtils extends Object
| Constructor and Description |
|---|
MavenLocalRepositoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
createTempDirectory(String name)
Get a Path pointing to a transient folder
|
static File |
getRepositoryPath(GAV gav)
Get a Path pointing to a transient M2 Local Repository
|
static void |
tearDownMavenRepository(File m2Folder)
Destroy the temporary local Maven Repository and all content.
|
public static File getRepositoryPath(GAV gav) throws IOException
gav - GAV (helper to name temporary folder)IOExceptionpublic static void tearDownMavenRepository(File m2Folder)
m2Folder - public static File createTempDirectory(String name) throws IOException
name - Name of folder to createIOExceptionCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.