Class DefaultSettingsBuilderFactory

java.lang.Object
org.apache.maven.settings.building.DefaultSettingsBuilderFactory

@Deprecated(since="4.0.0") public class DefaultSettingsBuilderFactory extends Object
Deprecated.
since 4.0.0, use SettingsBuilder instead
A factory to create settings builder instances when no dependency injection is available. Note: This class is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system, Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to subclass this factory to provide custom implementations for some of the components used by the settings builder.
  • Constructor Details

    • DefaultSettingsBuilderFactory

      public DefaultSettingsBuilderFactory()
      Deprecated.
  • Method Details

    • newSettingsReader

      protected SettingsReader newSettingsReader()
      Deprecated.
    • newSettingsWriter

      protected SettingsWriter newSettingsWriter()
      Deprecated.
    • newSettingsValidator

      protected SettingsValidator newSettingsValidator()
      Deprecated.
    • newInstance

      public DefaultSettingsBuilder newInstance()
      Deprecated.
      Creates a new settings builder instance.
      Returns:
      The new settings builder instance, never null.