Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1
-
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?