Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-3774

camel-manual generation fails during release process

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.5, 2.8.4, 2.9.1, 2.10.0
    • None
    • None

    Description

      It works during a regular mvn install, but it fails during release:prepare. The bug is somewhere in the maven-html-to-pdf plugin. I hope a mock release using mvn -X will reveal the problem, but would take a frustrating amount of time. For now the available info is the output:

      [INFO] [INFO] [html-to-pdf:compile {execution: default}]
      [INFO] [INFO] Downloading: http://camel.apache.org/book-in-one-page.html
      [INFO] ERROR:  'NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.'
      [INFO] [ERROR] Download or validation of 'http://camel.apache.org/book-in-one-page.html' failed: org.apache.camel.CamelException: Failed to convert the HTML to tidy Markup
      [INFO] [INFO] Stored dummy file: /w1/apache/release/camel270/tooling/camel-manual/target/site/manual/camel-manual-2.7.0.html since download of http://camel.apache.org/book-in-one-page.html failed.
      

      The error points to a DOM related issue, but since the downloaded manual gets overwritten with the dummy file, I have no idea if the download got interrupted, or in what way the source gets corrupted.

      Attachments

        1. CAMEL-3774.patch
          5 kB
          Babak Vahdat
        2. camel-manual-2.9-SNAPSHOT.pdf
          4.09 MB
          Babak Vahdat

        Issue Links

          Activity

            People

              hadrian Hadrian Zbarcea
              hadrian Hadrian Zbarcea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: