I'm pretty sure this is covered in the documentation...
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html

Wayne

On 10/17/07, Mark Russell <[EMAIL PROTECTED]> wrote:
> I'm trying to deploy a plugin to a server.
>
> I have this:
> <distributionManagement>
>         <repository>
>                 <id>id</id>
>                 <name>name</name>
>                 <url>scp://hostname//opt/downloads</url>
>         </repository>
> </distributionManagement>
>
> I'm deploying from a machine where the id I log on with is different that the 
> server Id we use to deploy with.
>
> How do I deploy to a server with a different user name for the scp protocol?
>
> if I were using the scp command I would do something like this scp file.xml 
> [EMAIL PROTECTED]:/opt/downloads
>
> How would I do something like that in the <url>scp: statement
>
> thanks :->
> --
> Mark Russell
> Instantiations, Inc.
> 724-368-3331 (land line)
> http://www.instantiations.com
>
>

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

Reply via email to