Package org.apache.maven.api.model
Class Build.Builder
java.lang.Object
org.apache.maven.api.model.PluginContainer.Builder
org.apache.maven.api.model.PluginConfiguration.Builder
org.apache.maven.api.model.BuildBase.Builder
org.apache.maven.api.model.Build.Builder
- Enclosing class:
Build
Builder class used to create Build instances.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
defaultGoal
(String defaultGoal) extensions
(Collection<Extension> extensions) filters
(Collection<String> filters) importedFrom
(InputLocation importedFrom) location
(Object key, InputLocation location) outputDirectory
(String outputDirectory) pluginManagement
(PluginManagement pluginManagement) plugins
(Collection<Plugin> plugins) resources
(Collection<Resource> resources) scriptSourceDirectory
(String scriptSourceDirectory) sourceDirectory
(String sourceDirectory) testOutputDirectory
(String testOutputDirectory) testResources
(Collection<Resource> testResources) testSourceDirectory
(String testSourceDirectory)
-
Constructor Details
-
Builder
protected Builder(boolean withDefaults) -
Builder
-
-
Method Details
-
plugins
- Overrides:
plugins
in classBuildBase.Builder
-
pluginManagement
- Overrides:
pluginManagement
in classBuildBase.Builder
-
defaultGoal
- Overrides:
defaultGoal
in classBuildBase.Builder
-
resources
- Overrides:
resources
in classBuildBase.Builder
-
testResources
- Overrides:
testResources
in classBuildBase.Builder
-
directory
- Overrides:
directory
in classBuildBase.Builder
-
finalName
- Overrides:
finalName
in classBuildBase.Builder
-
filters
- Overrides:
filters
in classBuildBase.Builder
-
sourceDirectory
-
scriptSourceDirectory
-
testSourceDirectory
-
outputDirectory
-
testOutputDirectory
-
extensions
-
location
- Overrides:
location
in classBuildBase.Builder
-
importedFrom
- Overrides:
importedFrom
in classBuildBase.Builder
-
build
- Overrides:
build
in classBuildBase.Builder
-