You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Konrad <kh...@yahoo.com> on 2003/09/15 16:41:30 UTC

How to use Ant's FTP task from Maven?

Hello.

I have the following goal defined in maven.xml, but
when I execute it, nothing happens.


<goal name="upload">
	<ant:ftp server="www0" port="21" 
		 userid="${ftp.user}" password="${ftp.pw}"
verbose="true">
		<fileset dir="${maven.build.dir}">
			<include name="${maven.war.final.name}"/>
		</fileset>
	</ant:ftp>
</goal>


I also have ant-optional-1.5.3-1.jar in my
MAVEN_HOME/lib directory.

I'm using Maven 1.0-Beta10.

Thank you.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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