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.ClassRealmClassRealmManager.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.ClassRealmDefaultClassRealmManager.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.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.Deprecated.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) Deprecated.DefaultModelBuilder.buildRawModel(File pomFile, int validationLevel, boolean locationTracking, TransformerContext context) Deprecated.DefaultModelBuilder.buildRawModel(Path pomFile, int validationLevel, boolean locationTracking) DefaultModelBuilder.buildRawModel(Path pomFile, int validationLevel, boolean locationTracking, TransformerContext context) 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) Performs only the part ofModelBuilder.build(ModelBuildingRequest)that loads the raw modelModelBuilder.buildRawModel(Path 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 setvoidModelSourceTransformer.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) AbstractStringBasedModelInterpolator.interpolateModel(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.Methods in org.apache.maven.model.interpolation with parameters of type ModelModifier and TypeMethodDescriptionAbstractStringBasedModelInterpolator.interpolateModel(Model model, File projectDir, ModelBuildingRequest request, ModelProblemCollector problems) AbstractStringBasedModelInterpolator.interpolateModel(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. -
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) Deprecated.UseModelReader.read(Path, Map)instead.ModelReader.read(InputStream input, Map<String, ?> options) Reads the model from the specified byte stream.Reads the model from the specified character reader.Reads the model from the specified file.Methods in org.apache.maven.model.io with parameters of type ModelModifier and TypeMethodDescriptionvoidvoidvoidvoidWrites the supplied model to the specified file.voidWrites the supplied model to the specified byte stream.voidWrites 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 ModelMavenXpp3Reader.read(InputStream is, boolean strict, InputSource source) Deprecated.Deprecated.Deprecated.protected ModelMavenXpp3Reader.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 TypeMethodDescriptionvoidMavenXpp3Writer.write(OutputStream stream, Model model) Deprecated.Method write.voidDeprecated.Method write.voidMavenXpp3WriterEx.write(OutputStream stream, Model model) Deprecated.Method write.voidDeprecated.Method write. -
Uses of Model in org.apache.maven.model.management
Methods in org.apache.maven.model.management with parameters of type ModelModifier and TypeMethodDescriptionvoidDefaultDependencyManagementInjector.injectManagement(Model model, ModelBuildingRequest request, ModelProblemCollector problems) voidDefaultPluginManagementInjector.injectManagement(Model model, ModelBuildingRequest request, ModelProblemCollector problems) voidDependencyManagementInjector.injectManagement(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Merges default values from the dependency management section of the given model into itself.voidPluginManagementInjector.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 TypeMethodDescriptionvoidDefaultModelNormalizer.injectDefaultValues(Model model, ModelBuildingRequest request, ModelProblemCollector problems) voidModelNormalizer.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.voidDefaultModelNormalizer.mergeDuplicates(Model model, ModelBuildingRequest request, ModelProblemCollector problems) voidModelNormalizer.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 TypeMethodDescriptionvoidDefaultModelPathTranslator.alignToBaseDirectory(Model modelV3, File basedir, ModelBuildingRequest request) Deprecated.voidDefaultModelPathTranslator.alignToBaseDirectory(Model modelV3, Path basedir, ModelBuildingRequest request) voidModelPathTranslator.alignToBaseDirectory(Model model, File basedir, ModelBuildingRequest request) Deprecated.voidModelPathTranslator.alignToBaseDirectory(Model model, Path basedir, ModelBuildingRequest request) Resolves the well-known paths of the specified model against the given base directory.voidDefaultModelUrlNormalizer.normalize(Model model, ModelBuildingRequest request) voidModelUrlNormalizer.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 TypeMethodDescriptionvoidDefaultReportingConverter.convertReporting(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.voidReportingConverter.convertReporting(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Converts values from model's reporting section into the configuration for Maven Site Plugin 3.x.voidDefaultPluginConfigurationExpander.expandPluginConfiguration(Model model, ModelBuildingRequest request, ModelProblemCollector problems) voidDefaultReportConfigurationExpander.expandPluginConfiguration(Model model, ModelBuildingRequest request, ModelProblemCollector problems) voidPluginConfigurationExpander.expandPluginConfiguration(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from general build plugin configuration into the individual plugin executions of the given model.voidReportConfigurationExpander.expandPluginConfiguration(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from general report plugin configuration into the individual reports sets of the given model.voidDefaultLifecycleBindingsInjector.injectLifecycleBindings(Model model, ModelBuildingRequest request, ModelProblemCollector problems) voidLifecycleBindingsInjector.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 TypeMethodDescriptionvoidDefaultProfileInjector.injectProfile(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) voidProfileInjector.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 TypeMethodDescriptionvoidDefaultModelValidator.validateEffectiveModel(Model ma, ModelBuildingRequest request, ModelProblemCollector problems) voidModelValidator.validateEffectiveModel(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Checks the specified (effective) model for missing or invalid values.voidDefaultModelValidator.validateExternalProfiles(List<Profile> activeExternalProfiles, Model ma, ModelBuildingRequest request, ModelProblemCollector problems) default voidModelValidator.validateExternalProfiles(List<Profile> activeExternalProfiles, Model model, ModelBuildingRequest request, ModelProblemCollector problems) Checks the specified (raw) model for clashes with the passed active external profiles.voidDefaultModelValidator.validateFileModel(Model ma, ModelBuildingRequest request, ModelProblemCollector problems) default voidModelValidator.validateFileModel(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Checks the specified file model for missing or invalid values.voidDefaultModelValidator.validateRawModel(Model ma, ModelBuildingRequest request, ModelProblemCollector problems) voidModelValidator.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.voidvoidMavenProject.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 TypeMethodDescriptionvoidDefaultModelInheritanceAssembler.assembleModelInheritance(Model child, Model parent) Deprecated.voidDefaultModelInheritanceAssembler.assembleModelInheritance(Model child, Model parent, String childPathAdjustment) Deprecated.voidModelInheritanceAssembler.assembleModelInheritance(Model child, Model parent) Deprecated.voidModelInheritanceAssembler.assembleModelInheritance(Model child, Model parent, String childPathAdjustment) Deprecated.voidDeprecated.voidDeprecated. -
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 voidStringSearchModelInterpolator.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 TypeMethodDescriptionvoidDefaultPathTranslator.alignToBaseDirectory(Model model, File basedir) Deprecated.voidPathTranslator.alignToBaseDirectory(Model model, File basedir) Deprecated.voidDefaultPathTranslator.unalignFromBaseDirectory(Model model, File basedir) Deprecated.voidPathTranslator.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 TypeMethodDescriptionvoidArtifactDescriptorReaderDelegate.populateResult(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model) org.eclipse.aether.artifact.ArtifactMavenArtifactRelocationSource.relocatedTarget(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model) ReturnsArtifactinstance where to relocate to, ornull. -
Uses of Model in org.apache.maven.repository.internal.relocation
Methods in org.apache.maven.repository.internal.relocation with parameters of type ModelModifier and TypeMethodDescriptionorg.eclipse.aether.artifact.ArtifactDistributionManagementArtifactRelocationSource.relocatedTarget(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult, Model model) org.eclipse.aether.artifact.ArtifactUserPropertiesArtifactRelocationSource.relocatedTarget(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult, Model model)