OK, I've found NetComponents here :
<http://www.savarese.org/oro/downloads/download/NetComponents-1.3.8.zip>
With the following code in maven.xml
<taskdef name="ftp"
classname="org.apache.tools.ant.taskdefs.optional.net.FTP"/>
and this one in the POM
<dependency>
<groupId>NetComponents</groupId>
<artifactId>NetComponents</artifactId>
<version>1.3.8</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
it works fine.
Thanks Ben :o)
And yes, Maven is worth it! So I hope that soon, we won't need to do this
hack to get the FTP task work seamlessly in Maven :o)
Fabrice.
Ben Anderson
<[EMAIL PROTECTED]
anderson.us> Pour
Maven Users List
05/10/2004 14:48 <[EMAIL PROTECTED]>
cc
Veuillez Objet
r�pondre � Re: Maven and FTP Ant task: what's
Maven Users List up??
<[EMAIL PROTECTED]
che.org>
see this thread:
http://marc.theaimsgroup.com/?l=turbine-maven-user&m=109570387625634&w=2
Note: you will have to manually download NetComponents.jar - which is hard
to
find. I can't remember where I got it from. Don't ask me why you need
this
jar as opposed to the current version of that project (commons-net).
I had this problem a few weeks ago... and got pretty frustrated when I
couldn't
find the answer and almost abandoned maven. While this does seem to be a
problem, it is solvable and maven is worth it ;-)
-Ben
Quoting [EMAIL PROTECTED]:
> Hi all,
>
> I try to use the FTP Ant task in my maven.xml, but I can't make it work.
> I've searched the mail archive, and I figured out that lots of people had
> troubles with this task in Maven 1.0, but none found a solution regarding
> this problem (at least, none gave a solution on the mailing list - a guy
> just gave a hack and I couldn't even make it work).
>
> So if someone has a solution that works, that would be really kind of him
> to send it to the list :o)
> Otherwise, shouldn't this problem be addressed quickly? (it seems that
the
> FTP task used to work in Maven previous builds)
>
> Regards,
> Fabrice.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]