Uses of Class
org.apache.maven.model.Model
Package
Description
Maven POM (Project Object Model) classes, generated from
maven.mdo
model.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
Modifier 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
Modifier 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
-
Uses of Model in org.apache.maven.model
-
Uses of Model in org.apache.maven.model.building
Modifier and TypeMethodDescriptionModelBuildingResult.getEffectiveModel()
Gets the assembled model.ModelBuildingEvent.getModel()
Gets the model being built.ModelBuildingException.getModel()
Gets the model that could not be built properly.DefaultModelBuildingRequest.getRawModel()
ModelBuildingRequest.getRawModel()
Gets the raw model to build.ModelBuildingResult.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.DefaultModelProcessor.read
(InputStream input, Map<String, ?> options) Modifier and TypeMethodDescriptionDefaultModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking) ModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking) Performs only the part ofModelBuilder.build(ModelBuildingRequest)
that loads the raw modelModifier and TypeMethodDescriptionDefaultModelBuildingRequest.setRawModel
(Model rawModel) ModelBuildingRequest.setRawModel
(Model rawModel) Set raw model.ModifierConstructorDescriptionDefaultModelProblem
(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. -
Uses of Model in org.apache.maven.model.composition
Modifier and TypeMethodDescriptionvoid
DefaultDependencyManagementImporter.importManagement
(Model target, List<? extends DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) void
DependencyManagementImporter.importManagement
(Model target, List<? extends DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) Imports the specified dependency management sections into the given target model. -
Uses of Model in org.apache.maven.model.inheritance
Modifier and TypeMethodDescriptionvoid
DefaultInheritanceAssembler.assembleModelInheritance
(Model child, Model parent, ModelBuildingRequest request, ModelProblemCollector problems) void
InheritanceAssembler.assembleModelInheritance
(Model child, Model parent, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified parent model into the given child model. -
Uses of Model in org.apache.maven.model.interpolation
Modifier and TypeMethodDescriptionModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Interpolates expressions in the specified model.StringSearchModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) Deprecated.StringVisitorModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) Modifier and TypeMethodDescriptionprotected List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor>
AbstractStringBasedModelInterpolator.createPostProcessors
(Model model, File projectDir, ModelBuildingRequest config) protected List<org.codehaus.plexus.interpolation.ValueSource>
AbstractStringBasedModelInterpolator.createValueSources
(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) ModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Interpolates expressions in the specified model.StringSearchModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) Deprecated.StringVisitorModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) -
Uses of Model in org.apache.maven.model.io
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionMavenXpp3Reader.read
(InputStream in) Method read.MavenXpp3Reader.read
(InputStream in, boolean strict) Method read.MavenXpp3ReaderEx.read
(InputStream in, boolean strict, InputSource source) Method read.MavenXpp3ReaderEx.read
(Reader reader, boolean strict, InputSource source) Modifier and TypeMethodDescriptionvoid
MavenXpp3Writer.write
(OutputStream stream, Model model) Method write.void
Method write.void
MavenXpp3WriterEx.write
(OutputStream stream, Model model) Method write.void
Method write. -
Uses of Model 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.void
DefaultPluginManagementInjector.ManagementModelMerger.mergeManagedBuildPlugins
(Model model) void
DefaultDependencyManagementInjector.ManagementModelMerger.mergeManagedDependencies
(Model model) -
Uses of Model in org.apache.maven.model.merge
Modifier and TypeMethodDescriptionvoid
Merges the specified source object into the given target object.protected void
MavenModelMerger.mergeModel
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_ArtifactId
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_ArtifactId
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Build
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_ChildProjectUrlInheritAppendPath
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_CiManagement
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_CiManagement
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Contributors
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Contributors
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Description
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Developers
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Developers
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_GroupId
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_InceptionYear
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_IssueManagement
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_IssueManagement
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Licenses
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Licenses
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_MailingLists
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_MailingLists
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_ModelVersion
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_ModelVersion
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Name
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Name
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Organization
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Organization
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Packaging
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Parent
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Prerequisites
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Prerequisites
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Profiles
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Profiles
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Scm
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Url
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Url
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
ModelMerger.mergeModel_Version
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) -
Uses of Model in org.apache.maven.model.normalization
Modifier 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
Modifier and TypeMethodDescriptionvoid
DefaultModelPathTranslator.alignToBaseDirectory
(Model model, 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
Modifier and TypeMethodDescriptionvoid
DefaultReportingConverter.convertReporting
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) void
ReportingConverter.convertReporting
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) 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.void
-
Uses of Model in org.apache.maven.model.profile
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionvoid
DefaultModelValidator.validateEffectiveModel
(Model m, 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.validateRawModel
(Model m, 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
Modifier and TypeMethodDescriptionDefaultPluginPrefixRequest.getPom()
PluginPrefixRequest.getPom()
Gets the POM whose build plugins are to be scanned for the prefix.Modifier and TypeMethodDescriptionSets the POM whose build plugins are to be scanned for the prefix. -
Uses of Model in org.apache.maven.plugin.version
Modifier and TypeMethodDescriptionDefaultPluginVersionRequest.getPom()
PluginVersionRequest.getPom()
Gets the POM whose build plugins are to be scanned for the version.Modifier and TypeMethodDescriptionSets the POM whose build plugins are to be scanned for the version. -
Uses of Model in org.apache.maven.project
Modifier 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) -
Uses of Model in org.apache.maven.project.inheritance
Modifier and TypeMethodDescriptionvoid
DefaultModelInheritanceAssembler.assembleModelInheritance
(Model child, Model parent) void
DefaultModelInheritanceAssembler.assembleModelInheritance
(Model child, Model parent, String childPathAdjustment) void
ModelInheritanceAssembler.assembleModelInheritance
(Model child, Model parent) Deprecated.void
ModelInheritanceAssembler.assembleModelInheritance
(Model child, Model parent, String childPathAdjustment) Deprecated.void
void
Deprecated. -
Uses of Model in org.apache.maven.project.interpolation
Modifier 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.Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionDeprecated.Deprecated. -
Uses of Model in org.apache.maven.repository.internal
Modifier and TypeMethodDescriptionMavenWorkspaceReader.findModel
(org.eclipse.aether.artifact.Artifact artifact) Modifier and TypeMethodDescriptionvoid
ArtifactDescriptorReaderDelegate.populateResult
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model)
ModelBuildingException(ModelBuildingResult)
instead.