First try to change to 1.0.1 version of xdoclet-plugins. Also be sure
that you include all the plugin dependencies to project.xml.

Try to run maven goal with -X parameter - it shows more detail report
on your problem.

On 6/14/05, Craig McDaniel <[EMAIL PROTECTED]> wrote:
> Same error, this time from the plugin Jelly file:
> 
> BUILD FAILED
> File...... C:\Documents and 
> Settings\s008254\.maven\cache\maven-xdoclet2-plugin-
> 1.0-SNAPSHOT\plugin.jelly
> Element... ant:xdoclet
> Line...... 31
> Column.... 17
> org/apache/commons/jelly/JellyException
> Total time: 15 seconds
> Finished at: Tue Jun 14 08:28:09 EDT 2005
> 
> On 6/14/05, Krutyakov Roman <[EMAIL PROTECTED]> wrote:
> > В Пнд, 13/06/2005 в 17:37 -0400, Craig McDaniel пишет:
> > > After following the two minute introduction on the XDoclet2 website, I
> > > still can not get the Hibernate XDoclet stuff to work. Maven complains
> > > that it doesn't know about the <xdoclet> element below. Here is the
> > > clip from my maven.xml:
> > >
> > > <goal name="xdclt">
> > >   <taskdef name="xdoclet" classname="org.xdoclet.ant.XDocletTask"
> > >                           classpathref="maven.dependency.classpath" />
> > >   <xdoclet>
> > >     <fileset dir="${pom.build.sourceDirectory}">
> > >       <include name="**/*.java"/>
> > >     </fileset>
> > >     <component 
> > > classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin"
> > >              destdir="${maven.build.dir}/xdoclet/hibernatedoclet"/>
> > >     <!-- add more plugins here! -->
> > >   </xdoclet>
> > > </goal>
> > >
> > > Any clues?
> > >
> >
> > There are more simple way, look at:
> > http://xdoclet.codehaus.org/maven-plugin/example-hibernate.html
> >
> > after that, all what you need - attain goal "xdoclet2"
> >
> > --
> > Roman Krutyakov
> >
> >
> 
> 
> --
> Craig McDaniel
> 


-- 
anatol

Reply via email to