org.apache.maven.model.building
Class DefaultModelBuilderFactory
java.lang.Object
org.apache.maven.model.building.DefaultModelBuilderFactory
public class DefaultModelBuilderFactory
- extends Object
A factory to create model builder instances when no dependency injection is available. Note: This class is
only meant as a utility for developers that want to employ the model builder outside of the Maven build system, Maven
plugins should always acquire model builder instances via dependency injection. Developers might want to subclass
this factory to provide custom implementations for some of the components used by the model builder.
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultModelBuilderFactory
public DefaultModelBuilderFactory()
newModelProcessor
protected ModelProcessor newModelProcessor()
newModelLocator
protected ModelLocator newModelLocator()
newModelReader
protected ModelReader newModelReader()
newProfileSelector
protected ProfileSelector newProfileSelector()
newProfileActivators
protected ProfileActivator[] newProfileActivators()
newUrlNormalizer
protected UrlNormalizer newUrlNormalizer()
newPathTranslator
protected PathTranslator newPathTranslator()
newModelInterpolator
protected ModelInterpolator newModelInterpolator()
newModelValidator
protected ModelValidator newModelValidator()
newModelNormalizer
protected ModelNormalizer newModelNormalizer()
newModelPathTranslator
protected ModelPathTranslator newModelPathTranslator()
newModelUrlNormalizer
protected ModelUrlNormalizer newModelUrlNormalizer()
newInheritanceAssembler
protected InheritanceAssembler newInheritanceAssembler()
newProfileInjector
protected ProfileInjector newProfileInjector()
newSuperPomProvider
protected SuperPomProvider newSuperPomProvider()
newDependencyManagementImporter
protected DependencyManagementImporter newDependencyManagementImporter()
newDependencyManagementInjector
protected DependencyManagementInjector newDependencyManagementInjector()
newLifecycleBindingsInjector
protected LifecycleBindingsInjector newLifecycleBindingsInjector()
newPluginManagementInjector
protected PluginManagementInjector newPluginManagementInjector()
newPluginConfigurationExpander
protected PluginConfigurationExpander newPluginConfigurationExpander()
newReportConfigurationExpander
protected ReportConfigurationExpander newReportConfigurationExpander()
newReportingConverter
protected ReportingConverter newReportingConverter()
newInstance
public DefaultModelBuilder newInstance()
- Creates a new model builder instance.
- Returns:
- The new model builder instance, never
null
.
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.