Class MavenProfile.SettingsBuilder

java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenProfile.SettingsBuilder
Enclosing class:
MavenProfile

public static class MavenProfile.SettingsBuilder extends Object
  • Constructor Details

    • SettingsBuilder

      protected SettingsBuilder()
  • Method Details

    • defaultGoal

      public MavenProfile.SettingsBuilder defaultGoal(String defaultGoal)
      Set the default goal or phase to execute if none is given when this profile is active.
      Parameters:
      defaultGoal - the default goal or null to use the value in the build
      Returns:
      this for method chaining
    • finalName

      public MavenProfile.SettingsBuilder finalName(String 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 or null to use the value in the build.
      Returns:
      this for method chaining
    • build

      public MavenProfile.Settings build()