I'm now trying to run Xdoclet using using using maven-antrun-plugin ,
I keep getting an error message saying :
"Embedded error: Can't create a hibernate element under
hibernatedoclet. Make sure the jar file containing the corresponding
subtask class is on the classpath specified in the <taskdef> that
defined {2}."
I've added all the dependencies that I think are needed.What am I missing ?
Here's my configuration :
===================
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<taskdef name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask">
</taskdef>
<hibernatedoclet verbose="false" destdir="src"
force="false" excludedtags="@version,@author,@todo">
<fileset dir="src">
<include name="**/portal/**/*.java" />
<include name="**/reference/**/*.java" />
<include name="**/b2bassurance/**/*.java" />
</fileset>
<hibernate version="2.0" />
</hibernatedoclet>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-hibernate-module</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-xdoclet-module</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>apache</groupId>
<artifactId>xjavadoc</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
</dependencies>
</plugin>
--
"Don't take the name of root in vain."
Jeff Mutonho
Cape Town
South Africa
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]