code: public static void runPipeline(File scriptFile, List<String> cliArgs)
              throws IOException, UIMAException, ParseException {
          if (!scriptFile.exists()) {
              throw new IOException("Script file does not exist ("
                      + scriptFile.getAbsolutePath() + ")");
          }
  
          LOG.info("Parsing pipeline script at '{}'",
                  scriptFile.getAbsolutePath() + " \n with CLI parameters: "
                          + join(cliArgs, ", "));
          Pipeline pipeline = null;
          try {
              pipeline = PipelineScriptParser.parse(scriptFile, cliArgs);
          } catch (ParseException e) {
              throw new ParseException("\nERROR parsing '" + scriptFile.getName()
                      + "'\n" + e.getMessage()
                      + "\n(see the README.txt for the pipeline script format)",
                      e.getErrorOffset());
          }
  
          LOG.info("Successfully parsed pipeline script, now starting pipeline...");
          LOG.info("*************************************************************");
          pipeline.run();
          // will be printed if no exception.
          // used in pipeline tests, do not change
          System.out.println(OK_MESSAGE);
      }
docs: Parse this pipeline and run it
  
  @return true if no error during processing
  @throws ParseException