You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Russell <ma...@instantiations.com> on 2007/10/18 06:11:11 UTC

distributionManagement

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 delpoyuser@hostname:/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

Re: distributionManagement

Posted by Mark Russell <ma...@instantiations.com>.
thanks for the help it gave me what I needed.  I searched for the answer but I must have been asking the wrong question.

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


-- 
Mark Russell
Instantiations, Inc.
724-368-3331 (land line)
http://www.instantiations.com

Re: distributionManagement

Posted by Wayne Fay <wa...@gmail.com>.
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 <ma...@instantiations.com> 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 delpoyuser@hostname:/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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org