public class MavenSettingsBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALT_GLOBAL_SETTINGS_XML_LOCATION
Sets an alternate location of Maven global settings.xml configuration
|
static String |
ALT_LOCAL_REPOSITORY_LOCATION
Sets an alternate location of Maven local repository
|
static String |
ALT_MAVEN_OFFLINE
Sets Maven resolution either online or offline
|
static String |
ALT_USER_SETTINGS_XML_LOCATION
Sets an alternate location to Maven user settings.xml configuration
|
Constructor and Description |
---|
MavenSettingsBuilder() |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.settings.Settings |
buildDefaultSettings()
Loads default Maven settings from standard location or from a location specified by a property
|
org.apache.maven.settings.Settings |
buildSettings(File file)
Loads Maven settings and updates session settings
|
public static final String ALT_USER_SETTINGS_XML_LOCATION
public static final String ALT_GLOBAL_SETTINGS_XML_LOCATION
public static final String ALT_MAVEN_OFFLINE
public static final String ALT_LOCAL_REPOSITORY_LOCATION
public org.apache.maven.settings.Settings buildDefaultSettings()
public org.apache.maven.settings.Settings buildSettings(File file)
file
- The file which contains Maven settingsCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.