Uses of Class
org.apache.maven.api.model.Model
Package
Description
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo
model.POM merger.
-
Uses of Model in org.apache.maven.api
-
Uses of Model in org.apache.maven.api.model
Modifier and TypeMethodDescriptionModel.Builder.build()
static Model
Model.newInstance()
Creates a newModel
instance.static Model
Model.newInstance
(boolean withDefaults) Creates a newModel
instance using default values or not.Model.withArtifactId
(String artifactId) Creates a newModel
instance using the specified artifactId.Creates a newModel
instance using the specified build.Model.withChildProjectUrlInheritAppendPath
(String childProjectUrlInheritAppendPath) Creates a newModel
instance using the specified childProjectUrlInheritAppendPath.Model.withCiManagement
(CiManagement ciManagement) Creates a newModel
instance using the specified ciManagement.Model.withContributors
(Collection<Contributor> contributors) Creates a newModel
instance using the specified contributors.Model.withDependencies
(Collection<Dependency> dependencies) Creates a newModel
instance using the specified dependencies.Model.withDependencyManagement
(DependencyManagement dependencyManagement) Creates a newModel
instance using the specified dependencyManagement.Model.withDescription
(String description) Creates a newModel
instance using the specified description.Model.withDevelopers
(Collection<Developer> developers) Creates a newModel
instance using the specified developers.Model.withDistributionManagement
(DistributionManagement distributionManagement) Creates a newModel
instance using the specified distributionManagement.Model.withGroupId
(String groupId) Creates a newModel
instance using the specified groupId.Model.withInceptionYear
(String inceptionYear) Creates a newModel
instance using the specified inceptionYear.Model.withIssueManagement
(IssueManagement issueManagement) Creates a newModel
instance using the specified issueManagement.Model.withLicenses
(Collection<License> licenses) Creates a newModel
instance using the specified licenses.Model.withMailingLists
(Collection<MailingList> mailingLists) Creates a newModel
instance using the specified mailingLists.Model.withModelVersion
(String modelVersion) Creates a newModel
instance using the specified modelVersion.Model.withModules
(Collection<String> modules) Creates a newModel
instance using the specified modules.Creates a newModel
instance using the specified name.Model.withOrganization
(Organization organization) Creates a newModel
instance using the specified organization.Model.withPackaging
(String packaging) Creates a newModel
instance using the specified packaging.Model.withParent
(Parent parent) Creates a newModel
instance using the specified parent.Model.withPluginRepositories
(Collection<Repository> pluginRepositories) Creates a newModel
instance using the specified pluginRepositories.Model.withPomFile
(Path pomFile) Creates a newModel
instance using the specified pomFile.Model.withPrerequisites
(Prerequisites prerequisites) Creates a newModel
instance using the specified prerequisites.Model.withPreserveModelVersion
(boolean preserveModelVersion) Creates a newModel
instance using the specified preserveModelVersion.Model.withProfiles
(Collection<Profile> profiles) Creates a newModel
instance using the specified profiles.Model.withProperties
(Map<String, String> properties) Creates a newModel
instance using the specified properties.Model.withReporting
(Reporting reporting) Creates a newModel
instance using the specified reporting.Model.withRepositories
(Collection<Repository> repositories) Creates a newModel
instance using the specified repositories.Model.withRoot
(boolean root) Creates a newModel
instance using the specified root.Creates a newModel
instance using the specified scm.Creates a newModel
instance using the specified url.Model.withVersion
(String version) Creates a newModel
instance using the specified version.Modifier and TypeMethodDescriptionstatic Model.Builder
Model.newBuilder
(Model from) Creates a newModel
builder instance using the specified object as a basis.static Model.Builder
Model.newBuilder
(Model from, boolean forceCopy) Creates a newModel
builder instance using the specified object as a basis. -
Uses of Model in org.apache.maven.api.services
Modifier and TypeMethodDescriptionSuperPomProvider.getSuperPom
(String version) Gets the super POM for the specified model version. -
Uses of Model in org.apache.maven.api.spi
Modifier and TypeMethodDescriptionParse the model obtained previously by a previous call toModelParser.locate(Path)
. -
Uses of Model in org.apache.maven.internal.impl
Modifier and TypeMethodDescriptionstatic Model
Simply parse the given xml string.DefaultProject.getModel()
DefaultSuperPomProvider.getSuperPom
(String version) DefaultModelXmlFactory.read
(XmlReaderRequest request) Modifier and TypeMethodDescriptionstatic String
Simply converts the given content to an xml string.Modifier and TypeMethodDescriptionvoid
DefaultModelXmlFactory.write
(XmlWriterRequest<Model> request) -
Uses of Model in org.apache.maven.model
-
Uses of Model in org.apache.maven.model.building
-
Uses of Model in org.apache.maven.model.composition
Modifier and TypeMethodDescriptionDefaultDependencyManagementImporter.importManagement
(Model target, List<? extends DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) DependencyManagementImporter.importManagement
(Model target, List<? extends DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) Imports the specified dependency management sections into the given target model.Modifier and TypeMethodDescriptionDefaultDependencyManagementImporter.importManagement
(Model target, List<? extends DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) 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 TypeMethodDescriptionDefaultInheritanceAssembler.assembleModelInheritance
(Model child, Model parent, ModelBuildingRequest request, ModelProblemCollector problems) InheritanceAssembler.assembleModelInheritance
(Model child, Model parent, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified parent model into the given child model.Modifier and TypeMethodDescriptionDefaultInheritanceAssembler.assembleModelInheritance
(Model child, Model parent, ModelBuildingRequest request, ModelProblemCollector problems) 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) 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) StringVisitorModelInterpolator.interpolateModel
(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) -
Uses of Model in org.apache.maven.model.io
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.management
Modifier and TypeMethodDescriptionDefaultPluginManagementInjector.ManagementModelMerger.mergeManagedBuildPlugins
(Model model) DefaultDependencyManagementInjector.ManagementModelMerger.mergeManagedDependencies
(Model model) Modifier and TypeMethodDescriptionDefaultPluginManagementInjector.ManagementModelMerger.mergeManagedBuildPlugins
(Model model) DefaultDependencyManagementInjector.ManagementModelMerger.mergeManagedDependencies
(Model model) -
Uses of Model in org.apache.maven.model.merge
Modifier and TypeMethodDescriptionprotected Model
MavenModelMerger.mergeModel
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) Modifier and TypeMethodDescriptionprotected Model
MavenModelMerger.mergeModel
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_ArtifactId
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_CiManagement
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Contributors
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Developers
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_IssueManagement
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Licenses
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_MailingLists
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_ModelVersion
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Name
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Organization
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Prerequisites
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Profiles
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenModelMerger.mergeModel_Url
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) -
Uses of Model in org.apache.maven.model.normalization
Modifier and TypeMethodDescriptionDefaultModelNormalizer.injectDefaultValues
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) ModelNormalizer.injectDefaultValues
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) DefaultModelNormalizer.mergeDuplicates
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) ModelNormalizer.mergeDuplicates
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Modifier and TypeMethodDescriptionDefaultModelNormalizer.injectDefaultValues
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) ModelNormalizer.injectDefaultValues
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) DefaultModelNormalizer.mergeDuplicates
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) ModelNormalizer.mergeDuplicates
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) -
Uses of Model in org.apache.maven.model.plugin
Modifier and TypeMethodDescription -
Uses of Model in org.apache.maven.model.profile
Modifier and TypeMethodDescriptionDefaultProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) default Model
ProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified profile into the given model.DefaultProfileInjector.injectProfiles
(Model model, List<Profile> profiles, ModelBuildingRequest request, ModelProblemCollector problems) default Model
ProfileInjector.injectProfiles
(Model model, List<Profile> profiles, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified profile into the given model.Modifier and TypeMethodDescriptionDefaultProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) default Model
ProfileInjector.injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified profile into the given model.DefaultProfileInjector.injectProfiles
(Model model, List<Profile> profiles, ModelBuildingRequest request, ModelProblemCollector problems) default Model
ProfileInjector.injectProfiles
(Model model, List<Profile> profiles, ModelBuildingRequest request, ModelProblemCollector problems) Merges values from the specified profile into the given model. -
Uses of Model in org.apache.maven.model.v4
Modifier and TypeMethodDescriptionMerges the specified source object into the given target object.protected Model
MavenMerger.mergeModel
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) MavenStaxReader.read
(InputStream in) MavenStaxReader.read
(InputStream in, boolean strict, InputSource source) Method read.MavenStaxReader.read
(Reader reader, boolean strict, InputSource source) MavenStaxReader.read
(XMLStreamReader parser, boolean strict, InputSource source) Method read.protected Model
MavenTransformer.transformModel
(Model target) Transforms the given modelModifier and TypeMethodDescriptionprotected MavenMerger.KeyComputer
<Model> MavenMerger.getModelKey()
Modifier and TypeMethodDescriptionMavenModelVersion.getModelVersion
(Model model) Merges the specified source object into the given target object.protected void
MavenMerger.mergeModel
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected Model
MavenMerger.mergeModel
(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_ArtifactId
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Build
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_ChildProjectUrlInheritAppendPath
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_CiManagement
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Contributors
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Dependencies
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_DependencyManagement
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Description
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Developers
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_DistributionManagement
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_GroupId
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_InceptionYear
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_IssueManagement
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Licenses
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_MailingLists
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_ModelVersion
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Modules
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Name
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Organization
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Packaging
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Parent
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_PluginRepositories
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_PomFile
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Prerequisites
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_PreserveModelVersion
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Profiles
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Properties
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Reporting
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Repositories
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Root
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Scm
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Url
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeModel_Version
(Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) protected Model
MavenTransformer.transformModel
(Model target) protected void
MavenTransformer.transformModel_ArtifactId
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Build
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_ChildProjectUrlInheritAppendPath
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_CiManagement
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Contributors
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Dependencies
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_DependencyManagement
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Description
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Developers
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_DistributionManagement
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_GroupId
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_InceptionYear
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_IssueManagement
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Licenses
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_MailingLists
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_ModelVersion
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Modules
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Name
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Organization
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Packaging
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Parent
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_PluginRepositories
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Prerequisites
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_PreserveModelVersion
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Profiles
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Properties
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Reporting
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Repositories
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Root
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Scm
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Url
(Model.Builder builder, Model target) protected void
MavenTransformer.transformModel_Version
(Model.Builder builder, Model target) Transforms the given modelvoid
MavenStaxWriter.write
(OutputStream stream, Model model) Method write.void
Method write. -
Uses of Model in org.apache.maven.project