org.apache.maven.settings
Class DefaultMavenSettingsBuilder

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.settings.DefaultMavenSettingsBuilder
All Implemented Interfaces:
MavenSettingsBuilder, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

public class DefaultMavenSettingsBuilder
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements MavenSettingsBuilder, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

Version:
$Id: DefaultMavenSettingsBuilder.java 189510 2005-06-08 03:27:43Z jdcasey $
Author:
jdcasey

Field Summary
static String userHome
           
 
Fields inherited from interface org.apache.maven.settings.MavenSettingsBuilder
ALT_GLOBAL_SETTINGS_XML_LOCATION, ALT_LOCAL_REPOSITORY_LOCATION, ALT_USER_SETTINGS_XML_LOCATION, ROLE
 
Constructor Summary
DefaultMavenSettingsBuilder()
           
 
Method Summary
 org.apache.maven.settings.Settings buildSettings()
           
 org.apache.maven.settings.Settings buildSettings(File userSettingsFile)
           
 void initialize()
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userHome

public static final String userHome
Constructor Detail

DefaultMavenSettingsBuilder

public DefaultMavenSettingsBuilder()
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

buildSettings

public org.apache.maven.settings.Settings buildSettings()
                                                 throws IOException,
                                                        org.codehaus.plexus.util.xml.pull.XmlPullParserException
Specified by:
buildSettings in interface MavenSettingsBuilder
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

buildSettings

public org.apache.maven.settings.Settings buildSettings(File userSettingsFile)
                                                 throws IOException,
                                                        org.codehaus.plexus.util.xml.pull.XmlPullParserException
Specified by:
buildSettings in interface MavenSettingsBuilder
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException


Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.