You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pochat Jerome <jp...@sopragroup.com> on 2004/04/21 18:14:14 UTC

Problem with FTP optional task

Hi,

I need to deploy custom builds to an intranet FTP server.
Maven RC2 seems to fail with optional ANT FTP task :-(

What my "maven.xml" looks like :

  <project>
    <goal name="myApp:deploy">
      <taskdef name="ftp" classname="org.apache.tools.ant.taskdefs.optional.net.FTP" classpathref="maven.dependency.classpath"/>
      .../...
    </goal>
  </project>

Maven immediately stop with this message :
taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found

The class is present in Maven folders (maven/lib/ant-optional-1.5.3-1.jar). I didn't do any change to Maven launch scripts.

Is it a known bug ? Anybody knows a workaround ?

Jérôme

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