Uploaded image for project: 'Maven PDF Plugin'
  1. Maven PDF Plugin
  2. MPDF-36

Cannot include extra images

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • None

    Description

      I have a use case where I want to include images in the pdf that are not part of the main site. I use the maven-resources-plugin to copy those images (from src/main/resources/) to target/pdf/images/ in the pre-site phase. However, those images are gone again when I run site (which triggers the pdf), because the pdf:pdf goal deletes the whole working directory before starting to work.

      I don't know if my problem can be solved differently but I also don't see why we delete the workingDirectory at every run, is there a special reason for it?

      Attachments

        Activity

          People

            ltheussl Lukas Theussl
            ltheussl Lukas Theussl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: