Package org.apache.maven.api.model
Class ModelBase.Builder
java.lang.Object
org.apache.maven.api.model.ModelBase.Builder
- Direct Known Subclasses:
Model.Builder,Profile.Builder
- Enclosing class:
- ModelBase
Builder class used to create ModelBase instances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()dependencies(Collection<Dependency> dependencies) dependencyManagement(DependencyManagement dependencyManagement) distributionManagement(DistributionManagement distributionManagement) importedFrom(InputLocation importedFrom) location(Object key, InputLocation location) modules(Collection<String> modules) Deprecated.pluginRepositories(Collection<Repository> pluginRepositories) properties(Map<String, String> properties) repositories(Collection<Repository> repositories) subprojects(Collection<String> subprojects)
-
Constructor Details
-
Builder
protected Builder(boolean withDefaults) -
Builder
-
-
Method Details
-
modules
Deprecated. -
subprojects
-
distributionManagement
@Nonnull public ModelBase.Builder distributionManagement(DistributionManagement distributionManagement) -
properties
-
dependencyManagement
-
dependencies
-
repositories
-
pluginRepositories
-
reporting
-
location
-
importedFrom
-
build
-