You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/04/02 15:56:00 UTC

[jira] [Commented] (SCM-763) Password masking on linux does not work

    [ https://issues.apache.org/jira/browse/SCM-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422655#comment-16422655 ] 

Michael Osipov commented on SCM-763:
------------------------------------

For the record, it is also broken on Windows too:
{noformat}
PS D:\Entwicklung\Projekte\scm-svn-test-at-sign> mvn scm:list "-Dpassword=mumu ab"
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< net.sf.michael-o.dirctxsrc:dircontextsource >-------------
[INFO] Building dircontextsource 2.1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-scm-plugin:1.9.6-SNAPSHOT:list (default-cli) @ dircontextsource ---
[INFO] Executing: cmd.exe /X /C "svn --password ***** ab" --no-auth-cache --non-interactive list --recursive file:///D:/Entwicklung/svn-repos/scm-svn-test-at-sign/branches/toll2/."
[INFO] Working directory: C:\Users\mosipov\AppData\Local\Temp{noformat}

> Password masking on linux does not work
> ---------------------------------------
>
>                 Key: SCM-763
>                 URL: https://issues.apache.org/jira/browse/SCM-763
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-svn
>    Affects Versions: 1.9
>         Environment: Jenkins 1.502 on a SLES11
>            Reporter: Tobias Kalmes
>            Priority: Major
>
> Passwords are not masked in the log output on Linux machines. The masking works as intended on Windows machines. On linux machines tho the password is printed in clear text. This seems to be a problem due to the additional single quotes that are added around the parameters on linux machines.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)