code: @Override
      public void execute()
              throws MojoExecutionException, MojoFailureException
          {
          if (command == null)
              {
              throw new MojoExecutionException("The npm command to execute must be set");
              }
  
          CommandLine cmdLine = getNpmCommand();
          addCommand(cmdLine);
          addArguments(cmdLine);
  
          execute(cmdLine);
          }
docs: ---- Mojo interface --------------------------------------------------