I have the following in my mavn.xml file:
<goal name="ftp">
<ant:taskdef name="ftp" classname="org.apache.tools.ant.taskdefs.optional.net.FTP" classpathref="maven.dependency.classpath"/>
<ftp server="ftp.mysite"
remotedir="/public_html/"
userid="username"
password="password"
depends="yes"
binary="no"
>
<fileset dir="${maven.build.dir}/docs"/>
</ftp>
</goal>


and I have commons-net, netcomponents , and ant-optional as dependencies. When I try to run maven ftp, I get the following error:
taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found
What am I doing wrong?



daniel -------- Original Message -------- Subject: deploy using ftp Date: Fri, 24 Oct 2003 20:13:08 +0100 From: Daniel Massie <[EMAIL PROTECTED]> Reply-To: Maven Users List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]



Is it possible to deploy a site using ftp with maven? if so, how can this be achieved?

thanks
daniel





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



Reply via email to