public class MavenInstallationUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MAVEN_CORE_POMPROPERTIES |
static String |
SYSPROP_CLASSWORLDSCONF |
static String |
SYSPROP_MAVEN_HOME |
Constructor and Description |
---|
MavenInstallationUtils() |
Modifier and Type | Method and Description |
---|---|
static File |
getClassworldsConf(File mavenHome,
File classworldsConf) |
static File |
getForcedClassworldsConf() |
static File |
getForcedMavenHome() |
static String |
getMavenVersion(Class<?> clazz) |
static String |
getMavenVersion(File mavenHome,
File classworldsConf) |
static String |
getMavenVersion(InputStream is) |
public static final String MAVEN_CORE_POMPROPERTIES
public static final String SYSPROP_MAVEN_HOME
public static final String SYSPROP_CLASSWORLDSCONF
public static String getMavenVersion(Class<?> clazz) throws IOException
IOException
public static String getMavenVersion(InputStream is) throws IOException
IOException
public static File getForcedClassworldsConf()
public static File getForcedMavenHome()
Copyright © 2015. All rights reserved.