The pdf plugin expects some source files to process, you have to add that yourself, see [1] for a mini guide. As I said, a simple dummy index file will presumably get you around the error.

Note that not all reports are supported by the pdf plugin [2] and with maven 3 you won't get any reports at all.

HTH,
-Lukas



[1] http://maven.apache.org/guides/mini/guide-site.html
[2] http://maven.apache.org/plugins/maven-pdf-plugin/examples/configuring-reports.html



hujirong wrote:
My site at C:\Sandbox\MDM\CdiServicesParent\target\site is generated by "mvn
site:site" and only contains css and image folder, nothing else.

But my "pdf:pdf" is look for the source of site at
C:\Sandbox\MDM\CdiServicesParent\src\site. How can I pass this in
parameters?

Thanks
Jirong

--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-pass-in-site-source-directory-into-pdf-pdf-tp5710298p5710305.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to