You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Patrick O'shea <po...@epo.org> on 2005/12/20 15:21:06 UTC

[m2] stop password being requested on site deploy

Hi,

I want to deploy a site without any user interaction, currently it asks me 
for a password
even though it is in the settings.xml

In my pom.xml i have defined:
<distributionManagement>
        <site>
          <id>scmsite</id>
          <name>deploy site</name>
          <url>scp://cassiusgroup-3.internal.org/var/www/projname/</url>   
 
        </site>
  </distributionManagement> 

And in the settings.xml i have defined:
    <server>
      <id>scmsite</id>
      <username>po82266</username>
      <password>po82266</password>
    </server>


Is there something else, i'm missing ?
thanks
Patrick 


Re: [m2] stop password being requested on site deploy

Posted by Brett Porter <br...@gmail.com>.
That said, it should owrk, and I have tested it sucessfully in the
past. You might require a more recent version, but other than that
there aren't enough details in the OP to determine the problem.

- Brett

On 12/21/05, dan tran <da...@gmail.com> wrote:
> I would suggest to use dsa or rsa
>
> http://www.jdmz.net/ssh/
>
> -D
>
>
> On 12/20/05, Patrick O'shea <po...@epo.org> wrote:
> >
> > Hi,
> >
> > I want to deploy a site without any user interaction, currently it asks me
> > for a password
> > even though it is in the settings.xml
> >
> > In my pom.xml i have defined:
> > <distributionManagement>
> >        <site>
> >          <id>scmsite</id>
> >          <name>deploy site</name>
> >          <url>scp://cassiusgroup-3.internal.org/var/www/projname/</url>
> >
> >        </site>
> > </distributionManagement>
> >
> > And in the settings.xml i have defined:
> >    <server>
> >      <id>scmsite</id>
> >      <username>po82266</username>
> >      <password>po82266</password>
> >    </server>
> >
> >
> > Is there something else, i'm missing ?
> > thanks
> > Patrick
> >
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] stop password being requested on site deploy

Posted by dan tran <da...@gmail.com>.
I would suggest to use dsa or rsa

http://www.jdmz.net/ssh/

-D


On 12/20/05, Patrick O'shea <po...@epo.org> wrote:
>
> Hi,
>
> I want to deploy a site without any user interaction, currently it asks me
> for a password
> even though it is in the settings.xml
>
> In my pom.xml i have defined:
> <distributionManagement>
>        <site>
>          <id>scmsite</id>
>          <name>deploy site</name>
>          <url>scp://cassiusgroup-3.internal.org/var/www/projname/</url>
>
>        </site>
> </distributionManagement>
>
> And in the settings.xml i have defined:
>    <server>
>      <id>scmsite</id>
>      <username>po82266</username>
>      <password>po82266</password>
>    </server>
>
>
> Is there something else, i'm missing ?
> thanks
> Patrick
>
>
>