Uses of Class
org.apache.maven.api.model.Model
Packages that use Model
Package
Description
Maven Core API
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo
model.Defines core service interfaces that provide essential Maven functionality such as
artifact resolution, dependency management, and build execution.
Provides XML-specific services for reading and writing Maven's configuration files
and descriptors.
Defines the Service Provider Interface (SPI) for Maven extensions, allowing
third-party implementations to extend and customize Maven's core functionality
through a stable, versioned API.
-
Uses of Model in org.apache.maven.api
Methods in org.apache.maven.api that return Model -
Uses of Model in org.apache.maven.api.model
Methods in org.apache.maven.api.model that return ModelModifier 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) Deprecated.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.Model.withSubprojects
(Collection<String> subprojects) Creates a newModel
instance using the specified subprojects.Creates a newModel
instance using the specified url.Model.withVersion
(String version) Creates a newModel
instance using the specified version.Methods in org.apache.maven.api.model with parameters of type ModelModifier 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.Constructors in org.apache.maven.api.model with parameters of type Model -
Uses of Model in org.apache.maven.api.services
Methods in org.apache.maven.api.services that return ModelModifier and TypeMethodDescriptionModelBuilder.buildRawModel
(ModelBuilderRequest request) ModelBuilderResult.getEffectiveModel()
Gets the assembled model with inheritance, interpolation and profile injection.ModelBuilderResult.getFileModel()
Gets the file model.ModelBuilderResult.getParentModel()
Gets the effective model of the parent POM.ModelBuilderResult.getRawModel()
Gets the file model + build pom transformation, without inheritance nor interpolation.ModelProblemCollector.getRootModel()
SuperPomProvider.getSuperPom
(String version) Gets the super POM for the specified model version.ModelTransformer.transform
(Model model, ModelBuilderRequest request, ModelProblemCollector problems) Apply a transformation on the file model.Methods in org.apache.maven.api.services with parameters of type ModelModifier and TypeMethodDescriptionvoid
ModelProblemCollector.setRootModel
(Model model) void
ModelTransformer.transform
(Model model, ModelBuilderRequest request, ModelProblemCollector problems) Apply a transformation on the file model. -
Uses of Model in org.apache.maven.api.services.xml
Subinterfaces with type arguments of type Model in org.apache.maven.api.services.xml -
Uses of Model in org.apache.maven.api.spi
Methods in org.apache.maven.api.spi that return ModelModifier and TypeMethodDescriptionParse the model obtained previously by a previous call toModelParser.locate(Path)
.default Model
ModelTransformer.transformEffectiveModel
(Model model) Apply a transformation on the effective models.default Model
ModelTransformer.transformFileModel
(Model model) Apply a transformation on the file model.default Model
ModelTransformer.transformRawModel
(Model model) Apply a transformation on the raw models.Methods in org.apache.maven.api.spi that return types with arguments of type ModelModifier and TypeMethodDescriptionModelParser.locateAndParse
(Path dir, Map<String, ?> options) Locate and parse the model in the specified directory.Methods in org.apache.maven.api.spi with parameters of type ModelModifier and TypeMethodDescriptiondefault Model
ModelTransformer.transformEffectiveModel
(Model model) Apply a transformation on the effective models.default Model
ModelTransformer.transformFileModel
(Model model) Apply a transformation on the file model.default Model
ModelTransformer.transformRawModel
(Model model) Apply a transformation on the raw models.