Uses of Class
org.apache.maven.model.Model
Packages that use Model
Package
Description
XML reader and writer classes for Maven POM, generated from
maven.mdo
model.POM merger.
Maven Resolver extensions for utilizing the Maven POM and Maven
repository metadata.
-
Uses of Model in org.apache.maven.classrealm
Methods in org.apache.maven.classrealm with parameters of type ModelModifier and TypeMethodDescriptionorg.codehaus.plexus.classworlds.realm.ClassRealm
ClassRealmManager.createProjectRealm
(Model model, List<org.eclipse.aether.artifact.Artifact> artifacts) Creates a new class realm for the specified project and its build extensions.org.codehaus.plexus.classworlds.realm.ClassRealm
DefaultClassRealmManager.createProjectRealm
(Model model, List<org.eclipse.aether.artifact.Artifact> artifacts) -
Uses of Model in org.apache.maven.configuration
Methods in org.apache.maven.configuration with parameters of type ModelModifier and TypeMethodDescriptionDefaultBeanConfigurationRequest.setConfiguration
(Model model, String pluginGroupId, String pluginArtifactId, String pluginExecutionId) Sets the configuration to the configuration taken from the specified build plugin in the POM. -
Uses of Model in org.apache.maven.internal.aether
Methods in org.apache.maven.internal.aether that return Model -
Uses of Model in org.apache.maven.model
Methods in org.apache.maven.model that return ModelMethods in org.apache.maven.model that return types with arguments of type ModelMethod parameters in org.apache.maven.model with type arguments of type Model -
Uses of Model in org.apache.maven.model.building
Methods in org.apache.maven.model.building that return ModelModifier and TypeMethodDescriptionDefaultModelBuilder.buildRawModel
(ModelBuildingRequest request) ModelBuildingResult.getEffectiveModel()
Gets the assembled model.DefaultModelBuildingRequest.getFileModel()
ModelBuildingRequest.getFileModel()
Gets the file model to build (with profile activation).ModelBuildingResult.getFileModel()
ModelBuildingEvent.getModel()
Gets the model being built.ModelBuildingException.getModel()
Gets the model that could not be built properly.DefaultModelBuildingRequest.getRawModel()
ModelBuildingRequest.getRawModel()
Deprecated.rawModel is never set, instead the fileModel is setModelBuildingResult.getRawModel()
Gets the raw model as it was read from the input model source.ModelBuildingResult.getRawModel
(String modelId) Gets the specified raw model as it was read from a model source.TransformerContext.getRawModel
(Path from, String groupId, String artifactId) Get the model from the reactor based on the groupId and artifactId when resolving reactor dependencies.TransformerContext.getRawModel
(Path from, Path pomFile) Get the model based on the path when resolving the parent based on relativePath.DefaultModelProcessor.read
(InputStream input, Map<String, ?> options) Methods in org.apache.maven.model.building that return types with arguments of type ModelModifier and TypeMethodDescriptionDefaultModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking) DefaultModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking, TransformerContext context) ModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking) Performs only the part ofModelBuilder.build(ModelBuildingRequest)
that loads the raw modelModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking, TransformerContext context) Methods in org.apache.maven.model.building with parameters of type ModelModifier and TypeMethodDescriptionDefaultModelBuildingRequest.setFileModel
(Model fileModel) ModelBuildingRequest.setFileModel
(Model fileModel) Set the file model with profile activationDefaultModelBuildingRequest.setRawModel
(Model rawModel) ModelBuildingRequest.setRawModel
(Model rawModel) Deprecated.setting the rawModel has no effect, instead the fileModel of phase one will be setvoid
ModelSourceTransformer.transform
(Path pomFile, TransformerContext context, Model model) Constructors in org.apache.maven.model.building with parameters of type ModelModifierConstructorDescriptionDefaultModelProblem
(String message, ModelProblem.Severity severity, ModelProblem.Version version, Model source, int lineNumber, int columnNumber, Exception exception) Creates a new problem with the specified message and exception.ModelBuildingException
(Model model, String modelId, List<ModelProblem> problems) Deprecated.UseModelBuildingException(ModelBuildingResult)
instead. -
Uses of Model in org.apache.maven.model.interpolation
Methods in org.apache.maven.model.interpolation that return ModelModifier and TypeMethodDescriptionAbstractStringBasedModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) ModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Interpolates expressions in the specified model.Methods in org.apache.maven.model.interpolation with parameters of type ModelModifier and TypeMethodDescriptionAbstractStringBasedModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) ModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Interpolates expressions in the specified model. -
Uses of Model in org.apache.maven.model.io
Methods in org.apache.maven.model.io that return ModelModifier and TypeMethodDescriptionDefaultModelReader.read
(InputStream input, Map<String, ?> options) Reads the model from the specified file.ModelReader.read
(InputStream input, Map<String, ?> options) Reads the model from the specified byte stream.Reads the model from the specified character reader.Methods in org.apache.maven.model.io with parameters of type ModelModifier and TypeMethodDescriptionvoid
void
void
void
Writes the supplied model to the specified file.void
Writes the supplied model to the specified byte stream.void
Writes the supplied model to the specified character writer. -
Uses of Model in org.apache.maven.model.io.xpp3
Methods in org.apache.maven.model.io.xpp3 that return ModelModifier and TypeMethodDescriptionMavenXpp3Reader.read
(InputStream in) Deprecated.Method read.MavenXpp3Reader.read
(InputStream in, boolean strict) Deprecated.Method read.protected Model
MavenXpp3Reader.read
(InputStream is, boolean strict, InputSource source) Deprecated.Deprecated.Deprecated.protected Model
MavenXpp3Reader.read
(Reader reader, boolean strict, InputSource source) Deprecated.MavenXpp3ReaderEx.read
(InputStream in) Deprecated.MavenXpp3ReaderEx.read
(InputStream in, boolean strict) Deprecated.MavenXpp3ReaderEx.read
(InputStream in, boolean strict, InputSource source) Deprecated.Deprecated.Deprecated.MavenXpp3ReaderEx.read
(Reader reader, boolean strict, InputSource source) Deprecated.Methods in org.apache.maven.model.io.xpp3 with parameters of type ModelModifier and TypeMethodDescriptionvoid
MavenXpp3Writer.write
(OutputStream stream, Model model) Deprecated.Method write.void
Deprecated.Method write.void
MavenXpp3WriterEx.write
(OutputStream stream, Model model) Deprecated.Method write.void
Deprecated.Method write. -
Uses of Model in org.apache.maven.model.management
Methods in org.apache.maven.model.management with parameters of type ModelModifier 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 Model in org.apache.maven.model.merge
Methods in org.apache.maven.model.merge with parameters of type Model -
Uses of Model in org.apache.maven.model.normalization
Methods in org.apache.maven.model.normalization with parameters of type ModelModifier and TypeMethodDescriptionvoid
DefaultModelNormalizer.injectDefaultValues
(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.void
DefaultModelNormalizer.mergeDuplicates
(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 Model in org.apache.maven.model.path
Methods in org.apache.maven.model.path with parameters of type ModelModifier and TypeMethodDescriptionvoid
DefaultModelPathTranslator.alignToBaseDirectory
(Model modelV3, File basedir, ModelBuildingRequest request) void
ModelPathTranslator.alignToBaseDirectory
(Model model, File 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 Model in org.apache.maven.model.plugin
Methods in org.apache.maven.model.plugin with parameters of type ModelModifier 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
DefaultLifecycleBindingsInjector.injectLifecycleBindings
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
LifecycleBindingsInjector.injectLifecycleBindings
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Injects plugin executions induced by lifecycle bindings into the specified model. -
Uses of Model in org.apache.maven.model.profile
Methods in org.apache.maven.model.profile with parameters of type ModelModifier and TypeMethodDescriptionvoid
DefaultProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) void
ProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified profile into the given model. -
Uses of Model in org.apache.maven.model.resolution
Methods in org.apache.maven.model.resolution that return ModelModifier and TypeMethodDescriptionWorkspaceModelResolver.resolveEffectiveModel
(String groupId, String artifactId, String versionConstraint) WorkspaceModelResolver.resolveRawModel
(String groupId, String artifactId, String versionConstraint) -
Uses of Model in org.apache.maven.model.superpom
Methods in org.apache.maven.model.superpom that return ModelModifier and TypeMethodDescriptionDefaultSuperPomProvider.getSuperModel
(String version) SuperPomProvider.getSuperModel
(String version) Gets the super POM for the specified model version. -
Uses of Model in org.apache.maven.model.validation
Methods in org.apache.maven.model.validation with parameters of type ModelModifier 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. -
Uses of Model in org.apache.maven.plugin.prefix
Methods in org.apache.maven.plugin.prefix that return ModelModifier and TypeMethodDescriptionDefaultPluginPrefixRequest.getPom()
PluginPrefixRequest.getPom()
Gets the POM whose build plugins are to be scanned for the prefix.Methods in org.apache.maven.plugin.prefix with parameters of type ModelModifier and TypeMethodDescriptionSets the POM whose build plugins are to be scanned for the prefix. -
Uses of Model in org.apache.maven.plugin.version
Methods in org.apache.maven.plugin.version that return ModelModifier and TypeMethodDescriptionDefaultPluginVersionRequest.getPom()
PluginVersionRequest.getPom()
Gets the POM whose build plugins are to be scanned for the version.Methods in org.apache.maven.plugin.version with parameters of type ModelModifier and TypeMethodDescriptionSets the POM whose build plugins are to be scanned for the version. -
Uses of Model in org.apache.maven.project
Methods in org.apache.maven.project that return ModelMethods in org.apache.maven.project with parameters of type ModelModifier and TypeMethodDescriptionDefaultProjectBuildingHelper.createProjectRealm
(MavenProject project, Model model, ProjectBuildingRequest request) ProjectBuildingHelper.createProjectRealm
(MavenProject project, Model model, ProjectBuildingRequest request) Creates the project realm that hosts the build extensions of the specified model.void
void
MavenProject.setOriginalModel
(Model originalModel) Constructors in org.apache.maven.project with parameters of type Model -
Uses of Model in org.apache.maven.project.inheritance
Methods in org.apache.maven.project.inheritance with parameters of type ModelModifier and TypeMethodDescriptionvoid
DefaultModelInheritanceAssembler.assembleModelInheritance
(Model child, Model parent) Deprecated.void
DefaultModelInheritanceAssembler.assembleModelInheritance
(Model child, Model parent, String childPathAdjustment) Deprecated.void
ModelInheritanceAssembler.assembleModelInheritance
(Model child, Model parent) Deprecated.void
ModelInheritanceAssembler.assembleModelInheritance
(Model child, Model parent, String childPathAdjustment) Deprecated.void
Deprecated.void
Deprecated. -
Uses of Model in org.apache.maven.project.interpolation
Methods in org.apache.maven.project.interpolation that return ModelModifier and TypeMethodDescriptionAbstractStringBasedModelInterpolator.interpolate
(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) Deprecated.AbstractStringBasedModelInterpolator.interpolate
(Model model, Map<String, ?> context) Deprecated.AbstractStringBasedModelInterpolator.interpolate
(Model model, Map<String, ?> context, boolean strict) Deprecated.ModelInterpolator.interpolate
(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) Deprecated.ModelInterpolator.interpolate
(Model project, Map<String, ?> context) Deprecated.ModelInterpolator.interpolate
(Model model, Map<String, ?> context, boolean strict) Deprecated.StringSearchModelInterpolator.interpolate
(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) Deprecated.Methods in org.apache.maven.project.interpolation with parameters of type ModelModifier and TypeMethodDescriptionprotected List
<org.codehaus.plexus.interpolation.InterpolationPostProcessor> AbstractStringBasedModelInterpolator.createPostProcessors
(Model model, File projectDir, ProjectBuilderConfiguration config) Deprecated.protected List
<org.codehaus.plexus.interpolation.ValueSource> AbstractStringBasedModelInterpolator.createValueSources
(Model model, File projectDir, ProjectBuilderConfiguration config) Deprecated.AbstractStringBasedModelInterpolator.interpolate
(String src, Model model, File projectDir, ProjectBuilderConfiguration config, boolean debug) Deprecated.Interpolates all expressions in the src parameter.AbstractStringBasedModelInterpolator.interpolate
(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) Deprecated.AbstractStringBasedModelInterpolator.interpolate
(Model model, Map<String, ?> context) Deprecated.AbstractStringBasedModelInterpolator.interpolate
(Model model, Map<String, ?> context, boolean strict) Deprecated.ModelInterpolator.interpolate
(String src, Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) Deprecated.ModelInterpolator.interpolate
(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) Deprecated.ModelInterpolator.interpolate
(Model project, Map<String, ?> context) Deprecated.ModelInterpolator.interpolate
(Model model, Map<String, ?> context, boolean strict) Deprecated.StringSearchModelInterpolator.interpolate
(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) Deprecated.protected void
StringSearchModelInterpolator.interpolateObject
(Object obj, Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) Deprecated. -
Uses of Model in org.apache.maven.project.path
Methods in org.apache.maven.project.path with parameters of type ModelModifier and TypeMethodDescriptionvoid
DefaultPathTranslator.alignToBaseDirectory
(Model model, File basedir) Deprecated.void
PathTranslator.alignToBaseDirectory
(Model model, File basedir) Deprecated.void
DefaultPathTranslator.unalignFromBaseDirectory
(Model model, File basedir) Deprecated.void
PathTranslator.unalignFromBaseDirectory
(Model model, File basedir) Deprecated. -
Uses of Model in org.apache.maven.project.validation
Methods in org.apache.maven.project.validation with parameters of type ModelModifier and TypeMethodDescriptionDeprecated.Deprecated. -
Uses of Model in org.apache.maven.repository.internal
Methods in org.apache.maven.repository.internal that return ModelModifier and TypeMethodDescriptionMavenWorkspaceReader.findModel
(org.eclipse.aether.artifact.Artifact artifact) Methods in org.apache.maven.repository.internal with parameters of type ModelModifier and TypeMethodDescriptionvoid
ArtifactDescriptorReaderDelegate.populateResult
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model)