Hi Wendy,

I have recently committed a few patches to the xdoc plugin that are relevant for m1.0 compatibility. All my tests are running fine now, but if you have time, I would be grateful if you could test with your setup and confirm that it works for you, too (or not).

Cheers,
Lukas


Wendy Smoak wrote:

I'm trying to generate a PDF of the Struts site.

Because there hasn't yet been a 1.10 release of the Xdoc plugin including the fix for http://jira.codehaus.org/browse/MPXDOC-158 I checked out the source and did plugin:install.

Then 'maven multiproject:site' failed:

BUILD FAILED
File...... C:\cygwin\home\wendy\.maven\cache\maven-multiproject-plugin-1.4.1\plu
gin.jelly
Element... maven:reactor
Line...... 104
Column.... 9
Unable to obtain goal [site] -- C:\cygwin\home\wendy\.maven\cache\maven-xdoc-plu gin-1.10-SNAPSHOT\plugin.jelly:133:55: <j:include> could not include jelly scrip t: file:C:\cygwin\home\wendy\.maven\cache\maven-xdoc-plugin-1.10-SNAPSHOT\plugin -resources/sitemap.jsl. Reason: org.apache.commons.jelly.JellyTagException: file :C:/cygwin/home/wendy/.maven/cache/maven-xdoc-plugin-1.10-SNAPSHOT/plugin-resour ces/sitemap.jsl:28:32: <jsl:stylesheet> file:C:/cygwin/home/wendy/.maven/cache/m aven-xdoc-plugin-1.10-SNAPSHOT/plugin-resources/sitemap.jsl:44:61: <jsl:applyTem plates> file:C:/cygwin/home/wendy/.maven/cache/maven-xdoc-plugin-1.10-SNAPSHOT/p lugin-resources/sitemap.jsl:69:49: <jsl:applyTemplates> null:-1:-1: <null> file: C:/cygwin/home/wendy/.maven/cache/maven-xdoc-plugin-1.10-SNAPSHOT/plugin-resourc es/sitemap.jsl:75:63: <x:set> This tag does not understand the 'asString' attrib
ute
Total time: 33 seconds
Finished at: Sun Oct 30 10:40:02 MST 2005

So I built multiproject from svn and 'maven multiproject:site' failed again with:

BUILD FAILED
File...... C:\cygwin\home\wendy\.maven\cache\maven-multiproject-plugin-1.5-SNAPS
HOT\plugin.jelly
Element... maven:reactor
Line...... 103
Column.... 9
Unable to obtain goal [site] -- C:\cygwin\home\wendy\.maven\cache\maven-xdoc-plu gin-1.10-SNAPSHOT\plugin.jelly:707:13: <velocity:merge> Invocation of method 'ge tPluginContext' in class org.apache.maven.project.Project threw exception class org.apache.maven.plugin.UnknownPluginException : Unknown plugin "maven-xdoc-plu
gin"
Total time: 12 seconds
Finished at: Sun Oct 30 10:22:44 MST 2005

Any advice? I can go back to the released versions of xdoc and multiproject, and the site will build, but then I can't use the pdf plugin due to duplicate ids in the site content.

Struts will be on 1.0.2 for a while longer, so I'd like to be able to create PDFs with m1 if at all possible.

Thanks!



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to