Maven 1.x PDF Plugin
  1. Maven 1.x PDF Plugin
  2. MPPDF-13

img src attributes are not made relative to the xdoc source

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When running 'maven site' on maven, PDF errors are generated due to the xdocs/reference/developers/ide/eclipse/index.xml which references images in its own directory. the pdf plugin doesn't take into account the document directory, and issues errors:

      [java] [ERROR] Error while creating area : Error while recovering Image Informations (file:/C:/source/maven/target/pdf/eclipse1.
      png) : C:\source\maven\target\pdf\eclipse1.png (The system cannot find the file specified)
      [java] [ERROR] Error while creating area : Error while recovering Image Informations (file:/C:/source/maven/target/pdf/eclipse2.
      png) : C:\source\maven\target\pdf\eclipse2.png (The system cannot find the file specified)
      [java] [ERROR] Error while creating area : Error while recovering Image Informations (file:/C:/source/maven/target/pdf/eclipse3.
      png) : C:\source\maven\target\pdf\eclipse3.png (The system cannot find the file specified)
      [java] [ERROR] Error while creating area : Error while recovering Image Informations (file:/C:/source/maven/target/pdf/eclipse4.
      png) : C:\source\maven\target\pdf\eclipse4.png (The system cannot find the file specified)
      [java] [ERROR] Error while creating area : Error while recovering Image Informations (file:/C:/source/maven/target/pdf/eclipse5.
      png) : C:\source\maven\target\pdf\eclipse5.png (The system cannot find the file specified)
      [java] [ERROR] Error while creating area : Error while recovering Image Informations (file:/C:/source/maven/target/pdf/eclipse6.
      png) : C:\source\maven\target\pdf\eclipse6.png (The system cannot find the file specified)
      [java] [ERROR] Error while creating area : Error while recovering Image Informations (file:/C:/source/maven/target/pdf/eclipse7.
      png) : C:\source\maven\target\pdf\eclipse7.png (The system cannot find the file specified)

      A fix is needed to fo-body.xslt somewhere....

        Activity

        Arnaud Heritier made changes -
        Field Original Value New Value
        Assignee Jason van Zyl [ jason ] Arnaud HERITIER [ aheritier ]
        Arnaud Heritier made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 2.3 [ 11251 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Arnaud Heritier
            Reporter:
            dion gillard
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: