From: "Vincent Massol" <[EMAIL PROTECTED]>
> 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

Just a thought - could it be that the very last line above, the document is
not valid XML in your checkout? e.g. this

E:\Dev\jakarta-turbine-maven/xdocs/ref\j2ee/navigation.xml

I guess its unlikely as this is a Maven document.

James


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to