Package org.apache.maven.model.building
Class DefaultModelBuilderFactory
java.lang.Object
org.apache.maven.model.building.DefaultModelBuilderFactory
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 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, or use the
builder API to inject custom instances.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DependencyManagementImporter
protected DependencyManagementInjector
protected InheritanceAssembler
Creates a new model builder instance.protected LifecycleBindingsInjector
protected ModelInterpolator
protected ModelLocator
protected ModelNormalizer
protected ModelParser[]
protected ModelPathTranslator
protected ModelProcessor
protected ModelReader
protected ModelUrlNormalizer
protected ModelValidator
protected ModelVersionProcessor
protected PathTranslator
protected PluginConfigurationExpander
protected PluginManagementInjector
protected ProfileActivationFilePathInterpolator
protected ProfileActivator[]
protected ProfileInjector
protected ProfileSelector
protected ReportConfigurationExpander
protected ReportingConverter
Deprecated.protected RootLocator
protected SuperPomProvider
protected UrlNormalizer
setDependencyManagementImporter
(DependencyManagementImporter dependencyManagementImporter) setDependencyManagementInjector
(DependencyManagementInjector dependencyManagementInjector) setInheritanceAssembler
(InheritanceAssembler inheritanceAssembler) setLifecycleBindingsInjector
(LifecycleBindingsInjector lifecycleBindingsInjector) setModelInterpolator
(ModelInterpolator modelInterpolator) setModelNormalizer
(ModelNormalizer modelNormalizer) setModelPathTranslator
(ModelPathTranslator modelPathTranslator) setModelProcessor
(ModelProcessor modelProcessor) setModelUrlNormalizer
(ModelUrlNormalizer modelUrlNormalizer) setModelValidator
(ModelValidator modelValidator) setPluginConfigurationExpander
(PluginConfigurationExpander pluginConfigurationExpander) setPluginManagementInjector
(PluginManagementInjector pluginManagementInjector) setProfileActivationFilePathInterpolator
(ProfileActivationFilePathInterpolator profileActivationFilePathInterpolator) setProfileInjector
(ProfileInjector profileInjector) setProfileSelector
(ProfileSelector profileSelector) setReportConfigurationExpander
(ReportConfigurationExpander reportConfigurationExpander) setReportingConverter
(ReportingConverter reportingConverter) Deprecated.setRootLocator
(RootLocator rootLocator) setSuperPomProvider
(SuperPomProvider superPomProvider) setTransformer
(ModelSourceTransformer transformer) setVersionProcessor
(ModelVersionProcessor versionProcessor)
-
Constructor Details
-
DefaultModelBuilderFactory
public DefaultModelBuilderFactory()
-
-
Method Details
-
setModelProcessor
-
setModelValidator
-
setModelNormalizer
-
setModelInterpolator
-
setModelPathTranslator
-
setModelUrlNormalizer
-
setSuperPomProvider
-
setInheritanceAssembler
public DefaultModelBuilderFactory setInheritanceAssembler(InheritanceAssembler inheritanceAssembler) -
setProfileSelector
-
setProfileInjector
-
setPluginManagementInjector
public DefaultModelBuilderFactory setPluginManagementInjector(PluginManagementInjector pluginManagementInjector) -
setDependencyManagementInjector
public DefaultModelBuilderFactory setDependencyManagementInjector(DependencyManagementInjector dependencyManagementInjector) -
setDependencyManagementImporter
public DefaultModelBuilderFactory setDependencyManagementImporter(DependencyManagementImporter dependencyManagementImporter) -
setLifecycleBindingsInjector
public DefaultModelBuilderFactory setLifecycleBindingsInjector(LifecycleBindingsInjector lifecycleBindingsInjector) -
setPluginConfigurationExpander
public DefaultModelBuilderFactory setPluginConfigurationExpander(PluginConfigurationExpander pluginConfigurationExpander) -
setReportConfigurationExpander
public DefaultModelBuilderFactory setReportConfigurationExpander(ReportConfigurationExpander reportConfigurationExpander) -
setReportingConverter
@Deprecated public DefaultModelBuilderFactory setReportingConverter(ReportingConverter reportingConverter) Deprecated. -
setProfileActivationFilePathInterpolator
public DefaultModelBuilderFactory setProfileActivationFilePathInterpolator(ProfileActivationFilePathInterpolator profileActivationFilePathInterpolator) -
setVersionProcessor
-
setRootLocator
-
setTransformer
-
newModelProcessor
-
newModelParsers
-
newModelLocator
-
newModelReader
-
newProfileSelector
-
newProfileActivators
-
newProfileActivationFilePathInterpolator
-
newUrlNormalizer
-
newPathTranslator
-
newRootLocator
-
newModelInterpolator
-
newModelVersionPropertiesProcessor
-
newModelValidator
-
newModelNormalizer
-
newModelPathTranslator
-
newModelUrlNormalizer
-
newInheritanceAssembler
-
newProfileInjector
-
newSuperPomProvider
-
newDependencyManagementImporter
-
newDependencyManagementInjector
-
newLifecycleBindingsInjector
-
newPluginManagementInjector
-
newPluginConfigurationExpander
-
newReportConfigurationExpander
-
newReportingConverter
Deprecated. -
newInstance
Creates a new model builder instance.- Returns:
- The new model builder instance, never
null
.
-