Package org.apache.maven.api.model
Class Profile.Builder
java.lang.Object
org.apache.maven.api.model.ModelBase.Builder
org.apache.maven.api.model.Profile.Builder
- Enclosing class:
Profile
Builder class used to create Profile instances.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivation
(Activation activation) build()
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.- Overrides:
modules
in classModelBase.Builder
-
subprojects
- Overrides:
subprojects
in classModelBase.Builder
-
distributionManagement
@Nonnull public Profile.Builder distributionManagement(DistributionManagement 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
-
id
-
activation
-
build
-
location
- Overrides:
location
in classModelBase.Builder
-
importedFrom
- Overrides:
importedFrom
in classModelBase.Builder
-
build
- Overrides:
build
in classModelBase.Builder
-