Class MavenProfile.SettingsBuilder
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenProfile.SettingsBuilder
- Enclosing class:
- MavenProfile
Builder for
MavenProfile.Settings
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
defaultGoal
(String defaultGoal) Set the default goal or phase to execute if none is given when this profile is active.Set the name of the bundled project when it is finally built when this profile is active.
-
Constructor Details
-
SettingsBuilder
protected SettingsBuilder()
-
-
Method Details
-
defaultGoal
Set the default goal or phase to execute if none is given when this profile is active.- Parameters:
defaultGoal
- the default goal ornull
to use the value in the build- Returns:
- this for method chaining
-
finalName
Set the name of the bundled project when it is finally built when this profile is active.- Parameters:
finalName
- the final name of the artifact ornull
to use the value in the build.- Returns:
- this for method chaining
-
build
-