Hi All,

For some reason, there are 2 dependencies that I must include in my
project.xml in order for the site:generate goal to succeed.  This was the
case for me for rc1, so I upgraded to rc2 to see if the problem would go
away, but it still persists.

Both dependencies are needed by the xdoc plugin (I am using version 1.6).
The first dependency is commons-jelly-tags-html.  If I leave out this
dependency, then I see the following failure:

[previous output omitted]

xdoc:transform:
xdoc:init:

xdoc:copy-resources:
    [copy] Copying 3 files to
D:\development\workspace\bfrc\target\docs\style
    [copy] Copying 89 files to
D:\development\workspace\bfrc\target\docs\images
Could not find the class: org.apache.commons.jelly.tags.html.HTMLTagLibrary
java.lang.ClassNotFoundException:
org.apache.commons.jelly.tags.html.HTMLTagLibrary
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at
org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:425)
        at
org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.jav
a:169)
        at
org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:415)
        at
org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.jav
a:169)
        at
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1033)
        at
org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
        at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)

[rest of stack trace omitted]

BUILD FAILED
File......
file:/d:/profiles/cdaniels/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jelly
Element... attainGoal
Line...... 609
Column.... 46
Error at (90, 85): Error at (90, 85): Could not load class: html so taglib
instantiation failed
Total time: 13 seconds
Finished at: Wed May 19 21:31:44 CDT 2004


The second dependency is nekohtml.  Leaving this one out gives the following
failure:

[previous output omitted]

xdoc:transform:
xdoc:init:

xdoc:copy-resources:
    [copy] Copying 3 files to
D:\development\workspace\bfrc\target\docs\style
    [copy] Copying 89 files to
D:\development\workspace\bfrc\target\docs\images

BUILD FAILED
File......
file:/d:/profiles/cdaniels/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jelly
Element... attainGoal
Line...... 609
Column.... 46
org/cyberneko/html/parsers/SAXParser
Total time: 13 seconds
Finished at: Wed May 19 21:22:56 CDT 2004


I can successfully build the site when both dependencies are in my
project.xml file, but I shouldn't have to specify these, should I?  It seems
like I should not have to, as I don't see them listed in any of the
dependency lists for other projects out there on the net.  Any ideas?

Thanks in advance,
Chuck Daniels


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

Reply via email to