I'd be happy to temporarily not use keys and put my password in settings.xml, although I still get prompted even then. What do others do when deploying multi-module sites?
Thanks, Mark On 6 November 2012 23:00, Chris Graham <[email protected]> wrote: > Your key is being refused (for a variety of reasons). That's been the case > for me when I've been prompted for passwords when using keys. Good luck in > finding out why. :-) > > -Chris > > Sent from my iPhone > > On 07/11/2012, at 9:34 AM, Mark Hobson <[email protected]> wrote: > >> Hi, >> >> I'm trying to deploy the maven-scm-1.8.1 site but am getting prompted >> for a password for every module. >> >> As per [1] my settings.xml contains: >> >> <server> >> <id>apache.website</id> >> <username>markh</username> >> <privateKey>${user.home}/.ssh/id_rsa</privateKey> >> </server> >> >> I'm running Maven 3.0.4 under Cygwin with the following from [2]: >> >> mvn site-deploy -Preporting -DstagingRepositoryId=apache.website >> >> Which prompts me for a password as follows: >> >> [INFO] --- maven-site-plugin:3.1:deploy (default-deploy) @ maven-scm --- >> [INFO] Parent project loaded from repository: >> org.apache.maven:maven-parent:pom:22 >> [INFO] Parent project loaded from repository: org.apache:apache:pom:11 >> [INFO] Parent project loaded from repository: >> org.apache.maven:maven-parent:pom:22 >> [INFO] Parent project loaded from repository: org.apache:apache:pom:11 >> Using private key: C:\Users\mark\.ssh\id_rsa >> Password: >> >> Any idea what I'm missing? >> >> Thanks, >> >> Mark >> >> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#dev-env >> [2] http://maven.apache.org/developers/release/maven-shared-release.html >> >> --------------------------------------------------------------------- >> 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
