Include a dependency in your project xml to the xdoclet-xdoclet module
and use as classpathref the ${maven.dependency.classpath}.
You might also have a look at the xdoclet plugins:
http://xdoclet.sourceforge.net/maven-plugin.html

Cheers,
simon


P.s.
The dependency declaration:

            <dependency>
                        <artifactId>xdoclet</artifactId>
                        <groupId>xdoclet</groupId>
                        <version>1.2b4</version>
                        <type>jar</type>
                </dependency>

-----Original Message-----
From: Maciek Zywno [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 26. November 2003 03:09
To: Maven Users List
Subject: class org.xdoclet.ant.XDocletTask cannot be found - although is
in .maven/repository


I try to use maven to build xdoclet-plugins and I get an exception that:

Unable to obtain goal [java:compile] -- file:/C:/Documents and 
Settings/maciek/D
esktop/PRACA MAGISTERSKA/xdoclet-plugins/testapp-pojo/:22:15: <taskdef> 
taskdef
class org.xdoclet.ant.XDocletTask cannot be found

I know that it is rather an ant related problem since exception is 
caused by the following piece of code:

<taskdef
            name="xdoclet"
            classname="org.xdoclet.ant.XDocletTask"
            classpathref="xdoclet.task.classpath"
/>

in one of subprojects' maven.xml file.

Maybe you can tell how can I fix the problem?

Thanks in advance

Maciek


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


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

Reply via email to