I have this problem also on maven rc3.
I resolved it by removing the
org/apache/tools/ant/taskdefs/optional/net directory from
ant-optional-1.5.3-1.jar and adding a dependency to the ant-1.6.1.jar,
ant-commons-net.1.6.1.jar and commons-net-1.1.0.jar.

Something like this:

<typedef name="ftp" classname="org.apache.tools.ant.taskdefs.optional.net.FTP">
        <classpath>
           <pathelement
location="d:\workspace\.maven\repository\ant\jars\ant-1.6.1.jar"/>
           <pathelement
location="d:\workspace\.maven\repository\ant\jars\ant-commons-net-1.6.1.jar"/>
           <pathelement
location="d:\workspace\.maven\repository\commons-net\jars\commons-net-1.1.0.jar"/>
        </classpath>
</typedef>


This is a hack, but until maven is compiled using a newer ant version
is a solution ;)

raisercostin

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

Reply via email to