Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.2
-
Component/s: None
-
Labels:None
-
Number of attachments :
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?
Fixed in r893623