public interface MavenSettingsBuilder
org.apache.maven.user-settingsorg.apache.maven.global-settings| Modifier and Type | Field and Description |
|---|---|
static String |
ALT_GLOBAL_SETTINGS_XML_LOCATION |
static String |
ALT_LOCAL_REPOSITORY_LOCATION |
static String |
ALT_USER_SETTINGS_XML_LOCATION |
static String |
ROLE |
| Modifier and Type | Method and Description |
|---|---|
Settings |
buildSettings() |
Settings |
buildSettings(boolean useCachedSettings) |
Settings |
buildSettings(File userSettingsFile) |
Settings |
buildSettings(File userSettingsFile,
boolean useCachedSettings) |
static final String ROLE
static final String ALT_USER_SETTINGS_XML_LOCATION
static final String ALT_GLOBAL_SETTINGS_XML_LOCATION
static final String ALT_LOCAL_REPOSITORY_LOCATION
Settings buildSettings() throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Settings object from the user settings file.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anySettings buildSettings(boolean useCachedSettings) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
useCachedSettings - if true, doesn't reload the user settingsSettings object from the user settings file.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anySettings buildSettings(File userSettingsFile) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
userSettingsFile - a given user settings fileSettings object from the user settings file.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anySettings buildSettings(File userSettingsFile, boolean useCachedSettings) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
userSettingsFile - a given user settings fileuseCachedSettings - if true, doesn't reload the user settingsSettings object from the user settings file.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anyCopyright © 2001-2021 The Apache Software Foundation. All Rights Reserved.