maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Redmond" <eric.redm...@gmail.com>
Subject Re: Is there FTP plugin?
Date Thu, 04 Jan 2007 21:15:04 GMT
Well, you can always use Ant's FTP with the antrun plugin:

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <configuration>
          <tasks>
            <ftp server="ftp.mycompany.com" userid="usr1" password="pass1"
action="list" listing="${project.build.directory}/ftplist.txt">
              <fileset>
                <include name="*"/>
              </fileset>
            </ftp>
          </tasks>
        </configuration>
        <dependencies>
          <dependency>
            <groupId>ant</groupId>
            <artifactId>optional</artifactId>
            <version>1.5.4</version>
          </dependency>
          <dependency>
            <groupId>ant</groupId>
            <artifactId>ant-commons-net</artifactId>
            <version>1.6.5</version>
          </dependency>
          <dependency>
            <groupId>commons-net</groupId>
            <artifactId>commons-net</artifactId>
            <version>1.4.1</version>
          </dependency>
        </dependencies>
      </plugin>


Eric

On 1/4/07, raghurajan.x.gurunathan@jpmchase.com <
raghurajan.x.gurunathan@jpmchase.com> wrote:
>
> Hi All
>
> Is there a way / Plugin for FTP ing files other than remote repository
> using maven2 ??
>
> I tried it from ant task inside of maven2, but its not finding the ftp
> taskdef classes, even though there are in dependency classpath
>
> i get                    Embedded error: No public execute() in class
> org.apache.commons.net.ftp.FTP
>
>
> Anyone done something like that, please advice
>
>
> Thanks,
> Raghurajan Gurunathan
>
>
>
> -----------------------------------------
> This transmission may contain information that is privileged,
> confidential, legally privileged, and/or exempt from disclosure
> under applicable law.  If you are not the intended recipient, you
> are hereby notified that any disclosure, copying, distribution, or
> use of the information contained herein (including any reliance
> thereon) is STRICTLY PROHIBITED.  Although this transmission and
> any attachments are believed to be free of any virus or other
> defect that might affect any computer system into which it is
> received and opened, it is the responsibility of the recipient to
> ensure that it is virus free and no responsibility is accepted by
> JPMorgan Chase & Co., its subsidiaries and affiliates, as
> applicable, for any loss or damage arising in any way from its use.
> If you received this transmission in error, please immediately
> contact the sender and destroy the material in its entirety,
> whether in electronic or hard copy format. Thank you.
>
>


-- 
Eric Redmond
http://codehaus.org/~eredmond

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message