According to the FAQ (jakarta.apache.org/turbine/maven > reference > FAQ) this is what happens. I usually ignore it ;-)
Q. My build fails with unable to find resource 'VM_global_library.vm' in any resource loader. What is this error? A. This is a dvsl message about a missing resource that doesn't really cause the build to fail. If you see this message, and your build is not successful, please run your build again with the -debug or -verbose options to determine the build failure. The other problem you're having sounds familiar ;-). I solved it (like you said) by doing a clean Ant installation. Although you've cleaned out the lib directory of Ant, it seems you still have some XML/XSL implementations in there which are conflicting... My lib directory contains the following jars: ant.jar crimson.jar jakarta-ant-1.4.1-optional.jar jaxp.jar and junit.jar. That's all... Alef -----Original Message----- From: Vincent Massol [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 May 2002 12:28 To: [EMAIL PROTECTED] Subject: Question with maven:site When I run "ant maven:site" on Maven itself, I get the following types of errors : [dvsl] [error] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. I have never played with Velocity and I don't know what this is. Is it normal ? Also, I have classpaths issues getting maven:site to build correctly. This is because I have a lot of jar in my jakarta-ant/lib (with different versions that the ones in maven lib.repo) ! Whenever maven uses a <taskdef> the Ant classpath is preprended (thus using the jakarta-ant/lib jars) ! However, even my removing all my Jakarta-ant/lib jars (keeping only the bare minimum), I'm still getting errors : BUILD FAILED E:\Dev\jakarta-turbine-maven\maven\plugins\docs\build.xml:1186: org.apache.velocity.exception.Method InvocationException: Invocation of method 'applyTemplates' in class org.apache.tools.dvsl.Transformer threw exception class org.apache.velocity.exception.MethodInvocationException : Invocation of met hod 'selectSingleNode' in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl threw exception class org.dom4j.XPathException : Exception occurred evaluting XPath: document('E:\Dev\jakarta-turbine-maven/x docs/ref\j2ee/navigation.xml')/project. Exception: Failed to parse doucment for URI: E:\Dev\jakarta-turbine-maven/xdocs/ref\j2ee/navigation.xml Thanks for your help ! -Vincent -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>