You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Abitfarago Cini <ci...@gmail.com> on 2012/10/11 20:52:30 UTC

xdoclet plugin for maven - custom tag handlers

Hi,

I try to port an old Ant based build to Maven. It contains multiple xdoclet
generations, of them (for XML files) uses home brewed tag handlers. These
handlers are built separately and the artifact is installed in my local
repository.

When I run the *mvn install* it complains saying:

[ERROR] Failed to execute goal
org.codehaus.mojo:xdoclet-maven-plugin:1.0:xdoclet (default) on project
pcm-services-model: Error executing ant tasks: Unexpected error: XDoclet
failed. xdoclet.template.TemplateException: Could not find tag handler for
prefix: 'xdclDum' -> [Help 1]

What I am missing?

Abitfarago

Re: xdoclet plugin for maven - custom tag handlers

Posted by Brian Topping <to...@codehaus.org>.
If you aren't getting a stack trace with the error, run 'mvn -X install' to get one.  There will be a lot more information to wade through, but it will be in there.

Once you find it, download the sources for the version of XDoclet you are using and take a look at where it's getting caught up.  If you want to debug into XDoclet, there is a version of Maven that is installed called "mvndebug" (i.e. "mvndebug install" which will allow you to set breakpoints in XDoclet and debug it.

I'm sure you know this already, but it's been several years since XDoclet has been actively developed or supported, and you'd really be better off moving to JSR-175 annotations. 

Brian


On Oct 11, 2012, at 11:52 AM, Abitfarago Cini <ci...@gmail.com> wrote:

> Hi,
> 
> I try to port an old Ant based build to Maven. It contains multiple xdoclet
> generations, of them (for XML files) uses home brewed tag handlers. These
> handlers are built separately and the artifact is installed in my local
> repository.
> 
> When I run the *mvn install* it complains saying:
> 
> [ERROR] Failed to execute goal
> org.codehaus.mojo:xdoclet-maven-plugin:1.0:xdoclet (default) on project
> pcm-services-model: Error executing ant tasks: Unexpected error: XDoclet
> failed. xdoclet.template.TemplateException: Could not find tag handler for
> prefix: 'xdclDum' -> [Help 1]
> 
> What I am missing?
> 
> Abitfarago


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org