if (project.getBuild() != null) { if (project.getBuild().getScriptSourceDirectory() == null) {  } } else {  }
   private void validateParameters()      throws org.apache.maven.plugin.MojoExecutionException   {      StringBuffer errors = new StringBuffer();      // directory with schemas      if (schemaDirectory == null)      {         throw new XmlBeansException(XmlBeansException.MISSING_SCHEMA_DIRECTORY);      }      if (project.getBuild() != null)      {         if (project.getBuild().getScriptSourceDirectory() == null)         {            // TODO. add to string buffer.         }      }      else      {         // TODO. add to string buffer.      }      if (errors.length() > 0)      {         throw new XmlBeansException(XmlBeansException.UNSET_PROPERTIES, errors.toString());      }   }