- do not cross post to multiple lists. It's considered incredbily
rude. This has nothing to do with the maven-plugins project
- the scp task was introduced in Ant 1.6, which cannot be used from Maven 1.0.
- you can probably achieve this with ear:deploy?

- Brett

On 5/2/05, GOKULAM Jayaram <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I tried using ANT's scp task. I copied the jsch.jar in to Maven's lib
> and included in the load of forehead.conf.
> 
> I wrote a script
> 
> <goal name="plugin:copy" description="Copy the artifacts">
> 
>      <taskdef
> 
>                         name="scp"
> 
> classname="org.apache.tools.ant.taskdefs.optional.ssh.Scp"
> 
>             />
> 
>         <ant:scp file="${basedir}/petstore.ear"
> todir="${maven.remote.user}:[EMAIL PROTECTED]
> ine}:${maven.remote.dir}">
> 
>                 <fileset dir="${maven.ftp.source}"/>
> 
>              </ant:scp>
> 
>     </goal>
> 
> Which throws me an error as mentioned below.
> 
> Any help on this is greatly appreciated.
> 
> Thanks,
> 
> Jayaram
> 
> Error:
> 
> BUILD FAILED
> 
> File...... C:\Documents and
> Settings\JGokulam\.maven\cache\maven-webtest-plugin-0.1.0\plugin.je
> 
> lly
> 
> Element... taskdef
> 
> Line...... 68
> 
> Column.... 4
> 
> taskdef class org.apache.tools.ant.taskdefs.optional.ssh.Scp cannot be
> found
> 
> Total time: 2 seconds
> 
> Finished at: Mon May 02 11:51:41 IST 2005
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it is 
> addressed. It may contain privileged, confidential information which is 
> exempt from disclosure under applicable laws. If you are not the intended 
> recipient, please note that you are strictly prohibited from disseminating or 
> distributing this information (other than to the intended recipient) or 
> copying this information. If you have received this communication in error, 
> please notify us immediately by return email.
> 
>

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

Reply via email to