Hello,

I was wondering what's the best way to copy files (not artifacts) to a remote location - through SCP for instance.

Ant 1.6 includes an SCP task, which I'm trying to use : my build is successful, yet the SCP task is not executed.
How does maven handle tags it does not recognize ? I have ant 1.6 in my path, and in the dependencies of my project too.
I have a similar ANT build file that of course works as expected - I'm only trying to translate it to maven.


I created the following goal in my maven.xml :

<project
 xmlns:j="jelly:core" xmlns:u="jelly:util" xmlns:ant="jelly:ant">

<goal name="deployMyScripts">
<j:set var="deployRemoteDest" value="scott:[EMAIL PROTECTED]:/my/remote/path"/>
<echo>Deploying to ${deployRemoteDest}</echo>


  <ant:scp trust="yes" todir="${deployRemoteDest}/bin">
      <ant:fileset dir="../../bin">
        <ant:include name="*"/>
      </ant:fileset>
   </ant:scp>
 </goal>

</project>

However, the SCP task is not run, I get this :

deployMyScripts:
   [echo] Deploying to  scott:[EMAIL PROTECTED]:/my/remote/path
BUILD SUCCESSFUL
Total time: 3 seconds
Finished at: Wed Mar 10 12:54:48 CET 2004

Any ideas what could be going on ?

Thanks

Brice


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



Reply via email to