Package org.apache.maven.api.model
Class Model.Builder
java.lang.Object
org.apache.maven.api.model.ModelBase.Builder
org.apache.maven.api.model.Model.Builder
- Enclosing class:
- Model
Builder class used to create Model instances.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionartifactId
(String artifactId) build()
childProjectUrlInheritAppendPath
(String childProjectUrlInheritAppendPath) ciManagement
(CiManagement ciManagement) contributors
(Collection<Contributor> contributors) dependencies
(Collection<Dependency> dependencies) dependencyManagement
(DependencyManagement dependencyManagement) description
(String description) developers
(Collection<Developer> developers) distributionManagement
(DistributionManagement distributionManagement) importedFrom
(InputLocation importedFrom) inceptionYear
(String inceptionYear) issueManagement
(IssueManagement issueManagement) licenses
(Collection<License> licenses) location
(Object key, InputLocation location) mailingLists
(Collection<MailingList> mailingLists) modelEncoding
(String modelEncoding) modelVersion
(String modelVersion) modules
(Collection<String> modules) Deprecated.namespaceUri
(String namespaceUri) organization
(Organization organization) pluginRepositories
(Collection<Repository> pluginRepositories) prerequisites
(Prerequisites prerequisites) preserveModelVersion
(boolean preserveModelVersion) profiles
(Collection<Profile> profiles) properties
(Map<String, String> properties) repositories
(Collection<Repository> repositories) root
(boolean root) subprojects
(Collection<String> subprojects)
-
Constructor Details
-
Builder
protected Builder(boolean withDefaults) -
Builder
-
-
Method Details
-
namespaceUri
-
modelEncoding
-
modules
Deprecated.- Overrides:
modules
in classModelBase.Builder
-
subprojects
- Overrides:
subprojects
in classModelBase.Builder
-
distributionManagement
- Overrides:
distributionManagement
in classModelBase.Builder
-
properties
- Overrides:
properties
in classModelBase.Builder
-
dependencyManagement
- Overrides:
dependencyManagement
in classModelBase.Builder
-
dependencies
- Overrides:
dependencies
in classModelBase.Builder
-
repositories
- Overrides:
repositories
in classModelBase.Builder
-
pluginRepositories
- Overrides:
pluginRepositories
in classModelBase.Builder
-
reporting
- Overrides:
reporting
in classModelBase.Builder
-
pomFile
-
modelVersion
-
parent
-
groupId
-
artifactId
-
version
-
packaging
-
name
-
description
-
url
-
childProjectUrlInheritAppendPath
@Nonnull public Model.Builder childProjectUrlInheritAppendPath(String childProjectUrlInheritAppendPath) -
root
-
preserveModelVersion
-
inceptionYear
-
organization
-
licenses
-
developers
-
contributors
-
mailingLists
-
prerequisites
-
scm
-
issueManagement
-
ciManagement
-
build
-
profiles
-
location
- Overrides:
location
in classModelBase.Builder
-
importedFrom
- Overrides:
importedFrom
in classModelBase.Builder
-
build
- Overrides:
build
in classModelBase.Builder
-