@Component(role=MavenSettingsBuilder.class) public class DefaultMavenSettingsBuilder extends org.codehaus.plexus.logging.AbstractLogEnabled implements MavenSettingsBuilder
ALT_GLOBAL_SETTINGS_XML_LOCATION, ALT_LOCAL_REPOSITORY_LOCATION, ALT_USER_SETTINGS_XML_LOCATION, ROLE
Constructor and Description |
---|
DefaultMavenSettingsBuilder() |
Modifier and Type | Method and Description |
---|---|
Settings |
buildSettings() |
Settings |
buildSettings(boolean useCachedSettings) |
Settings |
buildSettings(File userSettingsFile) |
Settings |
buildSettings(File userSettingsFile,
boolean useCachedSettings) |
Settings |
buildSettings(MavenExecutionRequest request) |
public Settings buildSettings() throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings
in interface MavenSettingsBuilder
Settings
object from the user settings file.IOException
- if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException
- if anypublic Settings buildSettings(boolean useCachedSettings) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings
in interface MavenSettingsBuilder
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 anypublic Settings buildSettings(File userSettingsFile) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings
in interface MavenSettingsBuilder
userSettingsFile
- a given user settings fileSettings
object from the user settings file.IOException
- if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException
- if anypublic Settings buildSettings(File userSettingsFile, boolean useCachedSettings) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings
in interface MavenSettingsBuilder
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 anypublic Settings buildSettings(MavenExecutionRequest request) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings
in interface MavenSettingsBuilder
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.