You will need to load NetComponents.jar and define ftp task in your maven.xml
Place this in your project.xml
<dependency>
<groupId>NetComponents</groupId>
<artifactId>NetComponents</artifactId>
<version>1.3.8</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
Place this in your maven.xml
<ant:taskdef name="ftp" classname="org.apache.tools.ant.taskdefs.optional.
net.Ftp"/>
then do your normal ftp in custom goal.
hope this will get you started.
-Dan
On Mon, 20 Sep 2004 10:36:31 -0700, Ben Anderson
<[EMAIL PROTECTED]> wrote:
> I don't see maven on marc.theaimsgroup.com or mail-archive.com. I've already
> searched here:
> http://nagoya.apache.org/eyebrowse/SearchList?listId=&listName=users%40maven.apache.org&searchText=ftp&defaultField=body&Search=Search
> prior to posting my question. I've also googled and done extensive other
> searching. I've seen the question posted a few times, but never answered. I'm
> guessing it's probably not that difficult to do - I'm just having a hard time
> with maven's documentation. Thanks anyways.
>
>
>
> Quoting dan tran <[EMAIL PROTECTED]>:
>
> > Search this list for "ftp" i am sure you will find the solution.
> >
> > -D
> >
> >
> > On Mon, 20 Sep 2004 08:24:46 -0700, Ben Anderson
> > <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > > I want to create a goal which deploys to our qa box. I figured I'd use
> > custom
> > > goals with ant's ftp option. However, it doesn't seem to do anything.
> > I've
> > > tried the exact same thing in ant and it works fine. Here's my maven.xml:
> > > <?xml version="1.0"?>
> > > <project
> > > default="jar:jar"
> > > xmlns:j="jelly:core"
> > > xmlns:u="jelly:util"
> > > xmlns:ant="jelly:ant">
> > >
> > > <goal name="qa_deploy">
> > > <ant:ftp server="qa_server"
> > > userid="qa_user"
> > > password="qa_password">
> > > <ant:fileset file="myjar.jar"/>
> > > </ant:ftp>
> > > </goal>
> > >
> > > </project>
> > >
> > > Any ideas what's wrong?
> > > Thanks,
> > > Ben
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]