maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dan tran <dant...@gmail.com>
Subject Re: Réf. : Re: Maven and FTP Ant task: what's up ??
Date Tue, 05 Oct 2004 17:11:01 GMT
any one has any luck with get ant:telnet task to work under maven?

-D


On Tue, 05 Oct 2004 15:20:23 +0200, fabrice.belingard@mpsa.com
<fabrice.belingard@mpsa.com> wrote:
> 
> 
> 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
>             <benanderson@ben
>             anderson.us>                                             Pour
>                                       Maven Users List
>             05/10/2004 14:48          <users@maven.apache.org>
>                                                                        cc
> 
>                 Veuillez                                            Objet
>                répondre à             Re: Maven and FTP Ant task: what's
>             Maven Users List          up??
>             <users@maven.apa
>                 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 fabrice.belingard@mpsa.com:
> 
> > 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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


Mime
View raw message