MavenSettingsBuilder, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializablepublic class DefaultMavenSettingsBuilder extends org.codehaus.plexus.logging.AbstractLogEnabled implements MavenSettingsBuilder, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
userHome |
ALT_GLOBAL_SETTINGS_XML_LOCATION, ALT_LOCAL_REPOSITORY_LOCATION, ALT_USER_SETTINGS_XML_LOCATION, ROLE| Constructor | Description |
|---|---|
DefaultMavenSettingsBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
Settings |
buildSettings() |
|
Settings |
buildSettings(boolean useCachedSettings) |
|
Settings |
buildSettings(java.io.File userSettingsFile) |
|
Settings |
buildSettings(java.io.File userSettingsFile,
boolean useCachedSettings) |
|
void |
initialize() |
public void initialize()
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializablepublic Settings buildSettings() throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings in interface MavenSettingsBuilderSettings object from the user settings file.java.io.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anypublic Settings buildSettings(boolean useCachedSettings) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings in interface MavenSettingsBuilderuseCachedSettings - if true, doesn't reload the user settingsSettings object from the user settings file.java.io.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anypublic Settings buildSettings(java.io.File userSettingsFile) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings in interface MavenSettingsBuilderuserSettingsFile - a given user settings fileSettings object from the user settings file.java.io.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anypublic Settings buildSettings(java.io.File userSettingsFile, boolean useCachedSettings) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings in interface MavenSettingsBuilderuserSettingsFile - a given user settings fileuseCachedSettings - if true, doesn't reload the user settingsSettings object from the user settings file.java.io.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if any