Re: deploy with scp

2007-11-21 Thread n2000

Try to set  
PasswordAuthentication yes
in file
/etc/ssh/sshd_config
on your ssh server where your maven repository is installad.



Ravinder Singh-3 wrote:
 
 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
  
 
 

-- 
View this message in context: 
http://www.nabble.com/deploy-with-scp-tf2331693s177.html#a13879294
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Deploy and SCP

2006-06-22 Thread ben short

Christian,

As far as im aware the deploy goal deploys a snapshot, so you need a
snapshotRepository defined in your pom..

Eg:

snapshotRepository
idscp-repository/id
urlscp://192.168.100.20/var/mvn/proximity/inhouse/url
/snapshotRepository

Ben

On 6/22/06, Christian Domsch [EMAIL PROTECTED] wrote:

Hi all,

I managed to deploy an artifact via mvn deploy using scp to ma linux
machine. But although I provided a password for the user, everytime I get
asked for a password. This is somewhat annoying. I know, that it is better
to user provate key authetication, but I think that this way at least
should work.

Am I doing sth wrong?

settings.xml:

servers
   server
 idsomeId/id
 usernameuser/username
 passwordpassword/password
   /server
/servers

pom.xml:

distributionManagement
   repository
 idsomeId/id
   nameA name/name
   urlscp://host/path/to/repo/url
   /repository
/distributionManagement

Greetings,

Christian.

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




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



Re: Deploy and SCP

2006-06-22 Thread ben short

Christian,

Actually scrap that im talking rubbish, back to the documents for me.

Ben

On 6/22/06, ben short [EMAIL PROTECTED] wrote:

Christian,

As far as im aware the deploy goal deploys a snapshot, so you need a
snapshotRepository defined in your pom..

Eg:

snapshotRepository
idscp-repository/id
urlscp://192.168.100.20/var/mvn/proximity/inhouse/url
/snapshotRepository

Ben

On 6/22/06, Christian Domsch [EMAIL PROTECTED] wrote:
 Hi all,

 I managed to deploy an artifact via mvn deploy using scp to ma linux
 machine. But although I provided a password for the user, everytime I get
 asked for a password. This is somewhat annoying. I know, that it is better
 to user provate key authetication, but I think that this way at least
 should work.

 Am I doing sth wrong?

 settings.xml:

 servers
server
  idsomeId/id
  usernameuser/username
  passwordpassword/password
/server
 /servers

 pom.xml:

 distributionManagement
repository
  idsomeId/id
nameA name/name
urlscp://host/path/to/repo/url
/repository
 /distributionManagement

 Greetings,

 Christian.

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





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



Re: Deploy with scp in maven2

2005-04-13 Thread Brett Porter
Server example:
http://maven.apache.org/maven2/configuration.html

POM example:
distributionManagement
  repository
idmy-id-that-matches-server-id/id
urlscp://hostname/path/to/repository/url
  /repository
/distributionManagement

Cheers,
Brett

On 4/14/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote:
 I want to use scp for deployment. Does it work now in maven2 ?
 If so, I would need an example of what to put in pom.xml and in
 settings.xml.
 
 Thanks,
 
 Leonid
 
 
 If you are not an intended recipient of this e-mail, please notify the 
 sender, delete it and do not read, act upon, print, disclose, copy, retain or 
 redistribute it. Click here for important additional terms relating to this 
 e-mail. http://www.ml.com/email_terms/
 
 


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