Uses of Class
org.apache.maven.model.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
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.model
-
Uses of Model in org.apache.maven.model.building
Modifier and TypeMethodDescriptionDefaultModelBuilder.buildRawModel
(ModelBuildingRequest request) Deprecated.ModelBuildingResult.getEffectiveModel()
Deprecated.Gets the assembled model.DefaultModelBuildingRequest.getFileModel()
Deprecated.ModelBuildingRequest.getFileModel()
Deprecated.Gets the file model to build (with profile activation).ModelBuildingResult.getFileModel()
Deprecated.ModelBuildingEvent.getModel()
Deprecated.Gets the model being built.ModelBuildingException.getModel()
Deprecated.Gets the model that could not be built properly.DefaultModelBuildingRequest.getRawModel()
Deprecated.ModelBuildingRequest.getRawModel()
Deprecated.rawModel is never set, instead the fileModel is setModelBuildingResult.getRawModel()
Deprecated.Gets the raw model as it was read from the input model source.ModelBuildingResult.getRawModel
(String modelId) Deprecated.Gets the specified raw model as it was read from a model source.TransformerContext.getRawModel
(Path from, String groupId, String artifactId) Deprecated.Get the model from the reactor based on the groupId and artifactId when resolving reactor dependencies.TransformerContext.getRawModel
(Path from, Path pomFile) Deprecated.Get the model based on the path when resolving the parent based on relativePath.Deprecated.DefaultModelProcessor.read
(InputStream input, Map<String, ?> options) Deprecated.Deprecated.Deprecated.Modifier and TypeMethodDescriptionDefaultModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking) Deprecated.DefaultModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking, TransformerContext context) Deprecated.DefaultModelBuilder.buildRawModel
(Path pomFile, int validationLevel, boolean locationTracking) Deprecated.DefaultModelBuilder.buildRawModel
(Path pomFile, int validationLevel, boolean locationTracking, TransformerContext context) Deprecated.ModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking) Deprecated.UseModelBuilder.buildRawModel(Path, int, boolean)
instead.ModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking, TransformerContext context) Deprecated.ModelBuilder.buildRawModel
(Path pomFile, int validationLevel, boolean locationTracking) Deprecated.Performs only the part ofModelBuilder.build(ModelBuildingRequest)
that loads the raw modelModelBuilder.buildRawModel
(Path pomFile, int validationLevel, boolean locationTracking, TransformerContext context) Deprecated.Modifier and TypeMethodDescriptionDefaultModelBuildingRequest.setFileModel
(Model fileModel) Deprecated.ModelBuildingRequest.setFileModel
(Model fileModel) Deprecated.Set the file model with profile activationDefaultModelBuildingRequest.setRawModel
(Model rawModel) Deprecated.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) Deprecated.ModifierConstructorDescriptionDefaultModelProblem
(String message, ModelProblem.Severity severity, ModelProblem.Version version, Model source, int lineNumber, int columnNumber, Exception exception) Deprecated.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
Modifier and TypeMethodDescriptionAbstractStringBasedModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.AbstractStringBasedModelInterpolator.interpolateModel
(Model model, Path projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.ModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.ModelInterpolator.interpolateModel
(Model model, Path projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Interpolates expressions in the specified model.Modifier and TypeMethodDescriptionAbstractStringBasedModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.AbstractStringBasedModelInterpolator.interpolateModel
(Model model, Path projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.ModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.ModelInterpolator.interpolateModel
(Model model, Path projectDir, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Interpolates expressions in the specified model. -
Uses of Model in org.apache.maven.model.io
Modifier and TypeMethodDescriptionDeprecated.DefaultModelReader.read
(InputStream input, Map<String, ?> options) Deprecated.Deprecated.Deprecated.Deprecated.UseModelReader.read(Path, Map)
instead.ModelReader.read
(InputStream input, Map<String, ?> options) Deprecated.Reads the model from the specified byte stream.Deprecated.Reads the model from the specified character reader.Deprecated.Reads the model from the specified file.Modifier and TypeMethodDescriptionvoid
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.Writes the supplied model to the specified file.void
Deprecated.Writes the supplied model to the specified byte stream.void
Deprecated.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) 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.Modifier 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
Modifier and TypeMethodDescriptionvoid
DefaultDependencyManagementInjector.injectManagement
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.void
DefaultPluginManagementInjector.injectManagement
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.void
DependencyManagementInjector.injectManagement
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Merges default values from the dependency management section of the given model into itself.void
PluginManagementInjector.injectManagement
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Merges default values from the plugin management section of the given model into itself. -
Uses of Model in org.apache.maven.model.merge
-
Uses of Model in org.apache.maven.model.normalization
Modifier and TypeMethodDescriptionvoid
DefaultModelNormalizer.injectDefaultValues
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.void
ModelNormalizer.injectDefaultValues
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.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) Deprecated.void
ModelNormalizer.mergeDuplicates
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.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 modelV3, File basedir, ModelBuildingRequest request) Deprecated.void
DefaultModelPathTranslator.alignToBaseDirectory
(Model modelV3, Path basedir, ModelBuildingRequest request) Deprecated.void
ModelPathTranslator.alignToBaseDirectory
(Model model, File basedir, ModelBuildingRequest request) Deprecated.void
ModelPathTranslator.alignToBaseDirectory
(Model model, Path basedir, ModelBuildingRequest request) Deprecated.Resolves the well-known paths of the specified model against the given base directory.void
DefaultModelUrlNormalizer.normalize
(Model model, ModelBuildingRequest request) Deprecated.void
ModelUrlNormalizer.normalize
(Model model, ModelBuildingRequest request) Deprecated.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) 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) Deprecated.void
DefaultReportConfigurationExpander.expandPluginConfiguration
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.void
PluginConfigurationExpander.expandPluginConfiguration
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.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) Deprecated.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) Deprecated.Injects plugin executions induced by lifecycle bindings into the specified model. -
Uses of Model in org.apache.maven.model.profile
Modifier and TypeMethodDescriptionvoid
DefaultProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.void
ProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.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) Deprecated.WorkspaceModelResolver.resolveRawModel
(String groupId, String artifactId, String versionConstraint) Deprecated. -
Uses of Model in org.apache.maven.model.superpom
Modifier and TypeMethodDescriptionDefaultSuperPomProvider.getSuperModel
(String version) Deprecated.SuperPomProvider.getSuperModel
(String version) Deprecated.Gets the super POM for the specified model version. -
Uses of Model in org.apache.maven.model.validation
Modifier and TypeMethodDescriptionvoid
DefaultModelValidator.validateEffectiveModel
(Model ma, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.void
ModelValidator.validateEffectiveModel
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Checks the specified (effective) model for missing or invalid values.void
DefaultModelValidator.validateExternalProfiles
(List<Profile> activeExternalProfiles, Model ma, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.default void
ModelValidator.validateExternalProfiles
(List<Profile> activeExternalProfiles, Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Checks the specified (raw) model for clashes with the passed active external profiles.void
DefaultModelValidator.validateFileModel
(Model ma, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.default void
ModelValidator.validateFileModel
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Checks the specified file model for missing or invalid values.void
DefaultModelValidator.validateRawModel
(Model ma, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.void
ModelValidator.validateRawModel
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.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) 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
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) Deprecated.Modifier and TypeMethodDescriptionvoid
ArtifactDescriptorReaderDelegate.populateResult
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model) Deprecated.org.eclipse.aether.artifact.Artifact
MavenArtifactRelocationSource.relocatedTarget
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model) Deprecated.ReturnsArtifact
instance where to relocate to, ornull
. -
Uses of Model in org.apache.maven.repository.internal.relocation
Modifier and TypeMethodDescriptionorg.eclipse.aether.artifact.Artifact
DistributionManagementArtifactRelocationSource.relocatedTarget
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult, Model model) Deprecated.org.eclipse.aether.artifact.Artifact
UserPropertiesArtifactRelocationSource.relocatedTarget
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult, Model model) Deprecated.