Class BuildBase

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Build

public class BuildBase extends PluginConfiguration implements Serializable
Generic informations for a build.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • BuildBase

      public BuildBase()
  • Method Details

    • addResource

      public void addResource(Resource resource)
      Method addResource.
      Parameters:
      resource - a resource object.
    • getDefaultGoal

      public String getDefaultGoal()
      Get the default goal (or phase in Maven 2) to execute when none is specified for the project.
      Returns:
      String
    • getResources

      public List<Resource> getResources()
      Method getResources.
      Returns:
      List
    • removeResource

      public void removeResource(Resource resource)
      Method removeResource.
      Parameters:
      resource - a resource object.
    • setDefaultGoal

      public void setDefaultGoal(String defaultGoal)
      Set the default goal (or phase in Maven 2) to execute when none is specified for the project.
      Parameters:
      defaultGoal - a defaultGoal object.
    • setResources

      public void setResources(List<Resource> resources)
      Set this element describes all of the classpath resources such as properties files associated with a project. These resources are often included in the final package.
      Parameters:
      resources - a resources object.