There is another syntax you need to tell maven which server settings to use, lets see...ah like this:
apache.releases::default::scp://people.apache.org/home/brianf/public_htm l/staging-repository The above tells maven to use the credentials defined in my settings under "apache.releases", that the layout is default (not legacy...maven1) and the rest is obvious. -----Original Message----- From: Tom Joad [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 12:29 PM To: Maven Users List Subject: mvn deploy-deployfile with scp Hello all, We are migrating our build process from ant to maven. Our software architect doesnt' want to let maven download dependencies , he wants to know exactly which librairies we use and adds a new one only after validation. So i installed archiva for internal repository , and i deploy every library on it via mvn deploy -deployfile. with url =scp://myserver/**** I set under servers tag in settings.xml with my linux user and passphrase. When i deploy the jar from the machine on which is archiva , maven prompt me to enter password,( it is dispalyed as it I would wish at least display like ####" ,but this is not my problem). Deployement works fine. When I try to deploy from another PC , also maven ask for a password , so i don't know which password I have to enter. I try user i declare under my local settings , it doesn't work ,nor I try archiva user So deploy fails because authentification failed. Does anyone already meet this problem ? How about this behaviour , may be i have something wrong on settings.xml ? how did you solve it? Thanks in advance. Tom --------------------------------------------------------------------- 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]
