public interface MavenSettingsBuilder
org.apache.maven.user-settings
org.apache.maven.global-settings
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALT_GLOBAL_SETTINGS_XML_LOCATION |
static java.lang.String |
ALT_LOCAL_REPOSITORY_LOCATION |
static java.lang.String |
ALT_USER_SETTINGS_XML_LOCATION |
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
Settings |
buildSettings() |
Settings |
buildSettings(boolean useCachedSettings) |
Settings |
buildSettings(java.io.File userSettingsFile) |
Settings |
buildSettings(java.io.File userSettingsFile,
boolean useCachedSettings) |
static final java.lang.String ROLE
static final java.lang.String ALT_USER_SETTINGS_XML_LOCATION
static final java.lang.String ALT_GLOBAL_SETTINGS_XML_LOCATION
static final java.lang.String ALT_LOCAL_REPOSITORY_LOCATION
Settings buildSettings() throws java.io.IOException, XmlPullParserException
Settings
object from the user settings file.java.io.IOException
- if anyXmlPullParserException
- if anySettings buildSettings(boolean useCachedSettings) throws java.io.IOException, XmlPullParserException
useCachedSettings
- if true, doesn't reload the user settingsSettings
object from the user settings file.java.io.IOException
- if anyXmlPullParserException
- if anySettings buildSettings(java.io.File userSettingsFile) throws java.io.IOException, XmlPullParserException
userSettingsFile
- a given user settings fileSettings
object from the user settings file.java.io.IOException
- if anyXmlPullParserException
- if anySettings buildSettings(java.io.File userSettingsFile, boolean useCachedSettings) throws java.io.IOException, XmlPullParserException
userSettingsFile
- a given user settings fileuseCachedSettings
- if true, doesn't reload the user settingsSettings
object from the user settings file.java.io.IOException
- if anyXmlPullParserException
- if any