code: public void setPhases(java.util.Collection<BuildPhase> phases) {
          if (phases == null) {
              this.phases = null;
              return;
          }
  
          this.phases = new java.util.ArrayList<BuildPhase>(phases);
      }
docs: <p>
  Information about all previous build phases that are complete and information about any current build phase that
  is not yet complete.
  </p>
  
  @param phases
  Information about all previous build phases that are complete and information about any current build
  phase that is not yet complete.