Maven 2.x PDF Plugin

Cannot include extra images

Details

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

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?

Activity

Hide
Lukas Theussl added a comment -

Fixed in r893623

Show
Lukas Theussl added a comment - Fixed in r893623

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: