Interface MavenSettingsBuilder

    • Field Detail

      • ROLE

        static final java.lang.String ROLE
        Deprecated.
      • ALT_USER_SETTINGS_XML_LOCATION

        static final java.lang.String ALT_USER_SETTINGS_XML_LOCATION
        Deprecated.
        See Also:
        Constant Field Values
      • ALT_GLOBAL_SETTINGS_XML_LOCATION

        static final java.lang.String ALT_GLOBAL_SETTINGS_XML_LOCATION
        Deprecated.
        See Also:
        Constant Field Values
      • ALT_LOCAL_REPOSITORY_LOCATION

        static final java.lang.String ALT_LOCAL_REPOSITORY_LOCATION
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • buildSettings

        Settings buildSettings​(MavenExecutionRequest request)
                        throws java.io.IOException,
                               org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Deprecated.
        Throws:
        java.io.IOException
        org.codehaus.plexus.util.xml.pull.XmlPullParserException
      • buildSettings

        Settings buildSettings()
                        throws java.io.IOException,
                               org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Deprecated.
        Returns:
        a Settings object from the user settings file.
        Throws:
        java.io.IOException - if any
        org.codehaus.plexus.util.xml.pull.XmlPullParserException - if any
      • buildSettings

        Settings buildSettings​(boolean useCachedSettings)
                        throws java.io.IOException,
                               org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Deprecated.
        Parameters:
        useCachedSettings - if true, doesn't reload the user settings
        Returns:
        a Settings object from the user settings file.
        Throws:
        java.io.IOException - if any
        org.codehaus.plexus.util.xml.pull.XmlPullParserException - if any
      • buildSettings

        Settings buildSettings​(java.io.File userSettingsFile)
                        throws java.io.IOException,
                               org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Deprecated.
        Parameters:
        userSettingsFile - a given user settings file
        Returns:
        a Settings object from the user settings file.
        Throws:
        java.io.IOException - if any
        org.codehaus.plexus.util.xml.pull.XmlPullParserException - if any
      • buildSettings

        Settings buildSettings​(java.io.File userSettingsFile,
                               boolean useCachedSettings)
                        throws java.io.IOException,
                               org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Deprecated.
        Parameters:
        userSettingsFile - a given user settings file
        useCachedSettings - if true, doesn't reload the user settings
        Returns:
        a Settings object from the user settings file.
        Throws:
        java.io.IOException - if any
        org.codehaus.plexus.util.xml.pull.XmlPullParserException - if any