Uses of Interface
org.apache.maven.model.building.ModelBuildingRequest
Package
Description
-
Uses of ModelBuildingRequest in org.apache.maven.model.building
Modifier and TypeClassDescriptionclass
Collects settings that control building of effective models.Modifier and TypeMethodDescriptionModelBuildingEvent.getRequest()
Gets the model building request being processed.ModelBuildingRequest.setActiveProfileIds
(List<String> activeProfileIds) Sets the identifiers of those profiles that should be activated by explicit demand.DefaultModelBuildingRequest.setBuildStartTime
(Date buildStartTime) ModelBuildingRequest.setBuildStartTime
(Date buildStartTime) Sets the start time of the build.DefaultModelBuildingRequest.setFileModel
(Model fileModel) ModelBuildingRequest.setFileModel
(Model fileModel) Set the file model with profile activationModelBuildingRequest.setInactiveProfileIds
(List<String> inactiveProfileIds) Sets the identifiers of those profiles that should be deactivated by explicit demand.ModelBuildingRequest.setLocationTracking
(boolean locationTracking) Enables/disables the tracking of line/column numbers for the model source being parsed.DefaultModelBuildingRequest.setModelBuildingListener
(ModelBuildingListener modelBuildingListener) ModelBuildingRequest.setModelBuildingListener
(ModelBuildingListener modelBuildingListener) Sets the model building listener to notify during the build process.ModelBuildingRequest.setModelCache
(ModelCache modelCache) Sets the model cache to use for reuse of previously built models.ModelBuildingRequest.setModelResolver
(ModelResolver modelResolver) Sets the model resolver to use for resolution of mixins or parents that are not locally reachable from the project directory.ModelBuildingRequest.setModelSource
(ModelSource modelSource) Sets the source of the POM to process.ModelBuildingRequest.setPomFile
(File pomFile) Deprecated.ModelBuildingRequest.setPomPath
(Path pomPath) Sets the POM file of the project to build.ModelBuildingRequest.setProcessPlugins
(boolean processPlugins) Controls the processing of plugin executions and configurations.ModelBuildingRequest.setProfiles
(List<Profile> profiles) Sets the external profiles that should be considered for model building.DefaultModelBuildingRequest.setRawModel
(Model rawModel) ModelBuildingRequest.setRawModel
(Model rawModel) Deprecated.setting the rawModel has no effect, instead the fileModel of phase one will be setDefaultModelBuildingRequest.setRootDirectory
(Path rootDirectory) ModelBuildingRequest.setRootDirectory
(Path rootDirectory) ModelBuildingRequest.setSystemProperties
(Properties systemProperties) Sets the system properties to use for interpolation and profile activation.DefaultModelBuildingRequest.setTransformerContextBuilder
(TransformerContextBuilder contextBuilder) ModelBuildingRequest.setTransformerContextBuilder
(TransformerContextBuilder contextBuilder) ModelBuildingRequest.setTwoPhaseBuilding
(boolean twoPhaseBuilding) Enables/disables two-phase building.ModelBuildingRequest.setUserProperties
(Properties userProperties) Sets the user properties to use for interpolation and profile activation.ModelBuildingRequest.setValidationLevel
(int validationLevel) Sets the level of validation to perform on processed models.DefaultModelBuildingRequest.setWorkspaceModelResolver
(WorkspaceModelResolver workspaceResolver) ModelBuildingRequest.setWorkspaceModelResolver
(WorkspaceModelResolver workspaceResolver) Modifier and TypeMethodDescriptionDefaultModelBuilder.build
(ModelBuildingRequest request) protected ModelBuildingResult
DefaultModelBuilder.build
(ModelBuildingRequest request, Collection<String> importIds) DefaultModelBuilder.build
(ModelBuildingRequest request, ModelBuildingResult result) ModelBuilder.build
(ModelBuildingRequest request) Builds the effective model of the specified POM.ModelBuilder.build
(ModelBuildingRequest request, ModelBuildingResult result) Builds the effective model by completing the specified interim result which was produced by a previous call toModelBuilder.build(ModelBuildingRequest)
withisTwoPhaseBuilding()
beingtrue
.DefaultModelBuilder.buildRawModel
(ModelBuildingRequest request) TransformerContextBuilder.initialize
(ModelBuildingRequest request, ModelProblemCollector problems) This method is used to initialize the TransformerContextModifierConstructorDescriptionCreates a shallow copy of the specified request. -
Uses of ModelBuildingRequest in org.apache.maven.model.composition
Modifier and TypeMethodDescriptionorg.apache.maven.api.model.Model
DefaultDependencyManagementImporter.importManagement
(org.apache.maven.api.model.Model target, List<? extends org.apache.maven.api.model.DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) org.apache.maven.api.model.Model
DependencyManagementImporter.importManagement
(org.apache.maven.api.model.Model target, List<? extends org.apache.maven.api.model.DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) Imports the specified dependency management sections into the given target model. -
Uses of ModelBuildingRequest in org.apache.maven.model.inheritance
Modifier and TypeMethodDescriptionorg.apache.maven.api.model.Model
DefaultInheritanceAssembler.assembleModelInheritance
(org.apache.maven.api.model.Model child, org.apache.maven.api.model.Model parent, ModelBuildingRequest request, ModelProblemCollector problems) org.apache.maven.api.model.Model
InheritanceAssembler.assembleModelInheritance
(org.apache.maven.api.model.Model child, org.apache.maven.api.model.Model parent, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified parent model into the given child model. -
Uses of ModelBuildingRequest in org.apache.maven.model.interpolation
Modifier and TypeMethodDescriptionprotected List
<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> AbstractStringBasedModelInterpolator.createPostProcessors
(org.apache.maven.api.model.Model model, Path projectDir, ModelBuildingRequest config) protected org.codehaus.plexus.interpolation.RecursionInterceptor
AbstractStringBasedModelInterpolator.createRecursionInterceptor
(ModelBuildingRequest config) protected List
<org.codehaus.plexus.interpolation.ValueSource> AbstractStringBasedModelInterpolator.createValueSources
(org.apache.maven.api.model.Model model, Path projectDir, ModelBuildingRequest config, ModelProblemCollector problems) AbstractStringBasedModelInterpolator.getProjectPrefixes
(ModelBuildingRequest config) AbstractStringBasedModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) AbstractStringBasedModelInterpolator.interpolateModel
(Model model, Path projectDir, ModelBuildingRequest request, ModelProblemCollector problems) org.apache.maven.api.model.Model
ModelInterpolator.interpolateModel
(org.apache.maven.api.model.Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.org.apache.maven.api.model.Model
ModelInterpolator.interpolateModel
(org.apache.maven.api.model.Model model, Path projectDir, ModelBuildingRequest request, ModelProblemCollector problems) ModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.ModelInterpolator.interpolateModel
(Model model, Path projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Interpolates expressions in the specified model.org.apache.maven.api.model.Model
StringVisitorModelInterpolator.interpolateModel
(org.apache.maven.api.model.Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) Deprecated.org.apache.maven.api.model.Model
StringVisitorModelInterpolator.interpolateModel
(org.apache.maven.api.model.Model model, Path projectDir, ModelBuildingRequest config, ModelProblemCollector problems) void
DefaultModelVersionProcessor.overwriteModelProperties
(Properties modelProperties, ModelBuildingRequest request) void
ModelVersionProcessor.overwriteModelProperties
(Properties modelProperties, ModelBuildingRequest request) This method is responsible for examining the request and possibly overwrite of the valid properties in the model -
Uses of ModelBuildingRequest in org.apache.maven.model.management
Modifier and TypeMethodDescriptionvoid
DefaultDependencyManagementInjector.injectManagement
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
DefaultPluginManagementInjector.injectManagement
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
DependencyManagementInjector.injectManagement
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Merges default values from the dependency management section of the given model into itself.void
PluginManagementInjector.injectManagement
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Merges default values from the plugin management section of the given model into itself. -
Uses of ModelBuildingRequest in org.apache.maven.model.normalization
Modifier and TypeMethodDescriptionorg.apache.maven.api.model.Model
DefaultModelNormalizer.injectDefaultValues
(org.apache.maven.api.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
DefaultModelNormalizer.injectDefaultValues
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) org.apache.maven.api.model.Model
ModelNormalizer.injectDefaultValues
(org.apache.maven.api.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
ModelNormalizer.injectDefaultValues
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Sets default values in the specified model that for technical reasons cannot be set directly in the Modello definition.org.apache.maven.api.model.Model
DefaultModelNormalizer.mergeDuplicates
(org.apache.maven.api.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
DefaultModelNormalizer.mergeDuplicates
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) org.apache.maven.api.model.Model
ModelNormalizer.mergeDuplicates
(org.apache.maven.api.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
ModelNormalizer.mergeDuplicates
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Merges duplicate elements like multiple declarations of the same build plugin in the specified model. -
Uses of ModelBuildingRequest in org.apache.maven.model.path
Modifier and TypeMethodDescriptionvoid
DefaultModelPathTranslator.alignToBaseDirectory
(Model modelV3, File basedir, ModelBuildingRequest request) Deprecated.void
DefaultModelPathTranslator.alignToBaseDirectory
(Model modelV3, Path basedir, ModelBuildingRequest request) void
ModelPathTranslator.alignToBaseDirectory
(Model model, File basedir, ModelBuildingRequest request) Deprecated.void
ModelPathTranslator.alignToBaseDirectory
(Model model, Path basedir, ModelBuildingRequest request) Resolves the well-known paths of the specified model against the given base directory.void
DefaultModelUrlNormalizer.normalize
(Model model, ModelBuildingRequest request) void
ModelUrlNormalizer.normalize
(Model model, ModelBuildingRequest request) Normalizes the well-known URLs of the specified model. -
Uses of ModelBuildingRequest in org.apache.maven.model.plugin
Modifier and TypeMethodDescriptionvoid
DefaultReportingConverter.convertReporting
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.void
ReportingConverter.convertReporting
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Converts values from model's reporting section into the configuration for Maven Site Plugin 3.x.void
DefaultPluginConfigurationExpander.expandPluginConfiguration
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
DefaultReportConfigurationExpander.expandPluginConfiguration
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
PluginConfigurationExpander.expandPluginConfiguration
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from general build plugin configuration into the individual plugin executions of the given model.void
ReportConfigurationExpander.expandPluginConfiguration
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from general report plugin configuration into the individual reports sets of the given model.void
LifecycleBindingsInjector.injectLifecycleBindings
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Injects plugin executions induced by lifecycle bindings into the specified model. -
Uses of ModelBuildingRequest in org.apache.maven.model.profile
Modifier and TypeMethodDescriptionorg.apache.maven.api.model.Model
DefaultProfileInjector.injectProfile
(org.apache.maven.api.model.Model model, org.apache.maven.api.model.Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) void
DefaultProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) default org.apache.maven.api.model.Model
ProfileInjector.injectProfile
(org.apache.maven.api.model.Model model, org.apache.maven.api.model.Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified profile into the given model.void
ProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified profile into the given model.org.apache.maven.api.model.Model
DefaultProfileInjector.injectProfiles
(org.apache.maven.api.model.Model model, List<org.apache.maven.api.model.Profile> profiles, ModelBuildingRequest request, ModelProblemCollector problems) default org.apache.maven.api.model.Model
ProfileInjector.injectProfiles
(org.apache.maven.api.model.Model model, List<org.apache.maven.api.model.Profile> profiles, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified profile into the given model. -
Uses of ModelBuildingRequest in org.apache.maven.model.validation
Modifier and TypeMethodDescriptionvoid
DefaultModelValidator.validateEffectiveModel
(Model ma, ModelBuildingRequest request, ModelProblemCollector problems) void
ModelValidator.validateEffectiveModel
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Checks the specified (effective) model for missing or invalid values.void
DefaultModelValidator.validateFileModel
(Model ma, ModelBuildingRequest request, ModelProblemCollector problems) default void
ModelValidator.validateFileModel
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Checks the specified file model for missing or invalid values.void
DefaultModelValidator.validateRawModel
(Model ma, ModelBuildingRequest request, ModelProblemCollector problems) void
ModelValidator.validateRawModel
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Checks the specified (raw) model for missing or invalid values.
setPomPath(Path)
instead.