To use the scp task you have to :
- add a dependency to ant-jsch
- add a dependency to jsch (according to
http://ant.apache.org/manual/install.html#librarydependencies)

If you have a classnotfound, you can try to load them in the root
classloader

Arnaud

On 10/23/06, Jean-Michel PATER <[EMAIL PROTECTED]> wrote:

Hi,

I want to use the ant scp task with maven but I don't know how to
proceed. I tried the following command but no files were copied.
        <ant:scp file="path_to_file" todir="[EMAIL PROTECTED]:/path"
passphrase="" keyfile="path_to_key" trust="true"/>

with ant, this command line works correctly, it is only with maven that
the problem occurs.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to