Hi, Ravinder my friend.

This is how I do it. Note I use user/password.

Settings.xml
---------------------------
<server>
        <id>website</id>
        <username>apache</username>
        <password>apache</password>
        <filePermissions>644</filePermissions>
      <directoryPermissions>755</directoryPermissions>
</server>
--------------------------- 

Pom.xml
---------------------------
<distributionManagement>        
        <site>
                <id>website</id>
                <url>scp://sgm636/opt/web/ansattportal</url>
        </site>
</distributionManagement>
---------------------------

-Ronny 

-----Opprinnelig melding-----
Fra: Ravinder Singh [mailto:[EMAIL PROTECTED] 
Sendt: 25. september 2006 15:46
Til: [email protected]
Emne: deploy with scp

I am trying to do do a deploy without user interaction (through
continuum).
Currently I am testing deploy for the project. But I am failing to have
it deploy without prompting for password.
 
I hace specified the privateKey, username, and even the password in the
settings.xml. But it won't stop asking for password.

However a release:perform does not ask for a password and does
everything automagically, without prompting for password, so here it
works with scp and privateKey.
 
Is there any workaround for this or am i doing something wrong?
 
 
Ravinder Singh
System developer
 


!DSPAM:4517ddd6270429724523251!

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

Reply via email to