Hi Wendy,
Sorry for all that inconvenience, we are having a hard time right now
making the plugins compatible with m1.0 and 1.1.
I take it from your mail that it's only the multiproject+site
combination that fails, ie running site alone works? In that case, I
suspect that you need to upgrade some other plugins as well, but I'm not
really up to date about dependencies right now, Arnaud should be able to
tell you more.
However, for the first error, since you installed the latest version of
xdoc, you might try to remove the asString="true" attribute on line 75
of src/plugin-resources/sitemap.jsl. I don't think it is needed. No
guarantee that it solves your problem though.
Let's wait for an answer from Arnaud to see if we should open a JIRA
issue for that.
-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]