Maven Wagon SSH does not mask password
--------------------------------------
Key: MNG-4579
URL: http://jira.codehaus.org/browse/MNG-4579
Project: Maven 2 & 3
Issue Type: Bug
Components: Plugins and Lifecycle
Affects Versions: 2.2.1
Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_17
Java home: C:\program Files\Java\jdk1.6.0_17\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
Reporter: Heinrich Schuchardt
Priority: Minor
I am using
mvn site:deploy
with scp as protocol.
When uploading mvn asks for the ssh password. The password is displayed instead
of being masked by ****.
To reproduce the issue try the following:
mvn wagon:upload-single -Dwagon.fromFile=c:\temp\test.mhtml
-Dwagon.url="scp:www.myserver.com/home/myuser/temp"
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'wagon'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Io
[INFO] task-segment: [wagon:upload-single] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [wagon:upload-single {execution: default-cli}]
Password for [email protected]: password
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira