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.internal.aether
-
Uses of Model in org.apache.maven.model
-
Uses of Model in org.apache.maven.model.building
Modifier 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) Modifier 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) Modifier 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) 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.UseModelBuildingException(ModelBuildingResult)
instead. -
Uses of Model in org.apache.maven.model.interpolation
Modifier 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.Modifier 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
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) 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) 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
-
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 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
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
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
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 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
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) Modifier and TypeMethodDescriptionvoid
ArtifactDescriptorReaderDelegate.populateResult
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model)