You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2017/03/04 02:37:45 UTC

[jira] [Updated] (MNG-5584) log credentials source when failing to access a repository

     [ https://issues.apache.org/jira/browse/MNG-5584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hervé Boutemy updated MNG-5584:
-------------------------------
    Description: 
When some repository authentication fail, maven just logs the status :

{noformat}Could not transfer artifact <xx> from/to <id> (<url>): Not authorized, ReasonPhrase:Unauthorized.{noformat}

but don't let user know if credentials are well set and which one it used. I'd like it logs credentials source it used trying to access repository, like
{{using server credentials <id> from <source>}}, source being some settings.xml path or equivalent.

  was:
When some repository authentication fail, maven just logs the status :

Could not transfer artifact <xx> from/to <id> (<url>): Not authorized, ReasonPhrase:Unauthorized. 

but don't let user know if credentials are well set and which one it used. I'd like it logs credentials source it used trying to access repository, like
"using server credentials <id> from <source>", source being some settings.xml path or equivalent.


> log credentials source when failing to access a repository
> ----------------------------------------------------------
>
>                 Key: MNG-5584
>                 URL: https://issues.apache.org/jira/browse/MNG-5584
>             Project: Maven
>          Issue Type: Improvement
>          Components: Dependencies, Deployment
>            Reporter: nicolas de loof
>
> When some repository authentication fail, maven just logs the status :
> {noformat}Could not transfer artifact <xx> from/to <id> (<url>): Not authorized, ReasonPhrase:Unauthorized.{noformat}
> but don't let user know if credentials are well set and which one it used. I'd like it logs credentials source it used trying to access repository, like
> {{using server credentials <id> from <source>}}, source being some settings.xml path or equivalent.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)