Class MavenGoalBuildStep.Builder

    • 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.
      • build

        public BuildStep build()
        Returns the new build step.
        Returns:
        The build step.