You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Shanbo Li <sh...@gmail.com> on 2010/03/08 15:09:19 UTC
mvn site:stage-deploy, wrong behaviour of input password, a bug?
Hello there,
When I use the site plug in of maven 2.2.1:
mvn site:stage-deploy
and "scp" protocol to deploy my site.
I meet two problem:
1. deploy from my local computer to a server, it ask me for the password.
Yes, it ask me for the password even I v already specify the password in
/{user_home}/.m2/settings.xml
BTW, I used the password encryption. But it seems that the site plugin
didn't pick the password.
2. deploy from a hudson server, it locates to a wrong private-key file
I did the same as in my local computer.
I specified the username and password (encryption way) in settings.xml, and
didn't include the element of privateKey.
When I run "mvn site:stage-deploy", it tried to find a default privateKey.
not using the existing username and password.
Do anyone know what is wrong with it?
Is it a bug?
Thanks in advance,
BR,
Shanbo Li
Master student
Software Engineering of Distributed Systems, KTH