Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2010

Error on Documentation build on "less" usage

Apply templateInsert Lucidchart DiagramXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.38.0
    • None
    • build
    • All
    • Small

      Steps to reproduce:

      • Build documentation module of Component-runtime on Windows (did not try other platforms)

      Observed:

      Build fails with following error:

      [INFO] Component Runtime :: Documentation ................. FAILURE [03:04 min]
      [INFO] Component Runtime :: Intellij Plugin ............... SKIPPED
      [INFO] Component Runtime :: Singer Parent ................. SKIPPED
      [INFO] Component Runtime :: Singer :: Java ................ SKIPPED
      [INFO] Component Runtime :: Singer :: Component Kitap ..... SKIPPED
      [INFO] Component Runtime :: Reporting ..................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  32:48 min
      [INFO] Finished at: 2021-10-07T18:53:14+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (generated-doc) on project documentation: An exception occured while executing the Java class. java.lang.IllegalStateException: java.lang.IllegalStateException: org.tomitribe.crest.cmds.CommandFailedException: java.io.UncheckedIOException: java.io.IOException: Cannot run program "less": CreateProcess error=2, The system cannot find the file specified -> [Help 1]
      [ERROR]
      

      Running with env variable:

      NOLESS=true

      => the module build is successful

            emmanuel_g emmanuel gallois
            fdesiles Fabien Desiles
            emmanuel gallois
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: