Package io.helidon.build.dev.maven
Class MavenGoalBuildStep.Builder
- java.lang.Object
-
- io.helidon.build.dev.maven.MavenGoalBuildStep.Builder
-
- Enclosing class:
- MavenGoalBuildStep
public static class MavenGoalBuildStep.Builder extends Object
A builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildStepbuild()Returns the new build step.MavenGoalBuildStep.Buildergoal(MavenGoalBuildStep.BuildGoal buildGoal)Sets the build goal.MavenGoalBuildStep.BuildermavenProject(org.apache.maven.project.MavenProject mavenProject)Sets the maven project.MavenGoalBuildStep.BuildermavenSession(org.apache.maven.execution.MavenSession mavenSession)Sets the maven session.MavenGoalBuildStep.BuilderpluginManager(org.apache.maven.plugin.BuildPluginManager pluginManager)Sets the plugin manager.
-
-
-
Method Detail
-
mavenProject
public MavenGoalBuildStep.Builder mavenProject(org.apache.maven.project.MavenProject mavenProject)
Sets the maven project.- Parameters:
mavenProject- The project.- Returns:
- This instance, for chaining.
-
mavenSession
public MavenGoalBuildStep.Builder mavenSession(org.apache.maven.execution.MavenSession mavenSession)
Sets the maven session.- Parameters:
mavenSession- The session.- Returns:
- This instance, for chaining.
-
pluginManager
public MavenGoalBuildStep.Builder pluginManager(org.apache.maven.plugin.BuildPluginManager pluginManager)
Sets the plugin manager.- Parameters:
pluginManager- The manager.- Returns:
- This instance, for chaining.
-
goal
public MavenGoalBuildStep.Builder goal(MavenGoalBuildStep.BuildGoal buildGoal)
Sets the build goal.- Parameters:
buildGoal- The goal.- Returns:
- This instance, for chaining.
-
build
public BuildStep build()
Returns the new build step.- Returns:
- The build step.
-
-