[
https://issues.apache.org/jira/browse/WAGON-558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed WAGON-558.
--------------------------------
Resolution: Won't Do
I just looked into it. Your request is not possible to implement. Wagon is
completely decoupled from Maven. At the point of
{{org.apache.maven.wagon.AbstractWagon.connect(Repository,
AuthenticationInfo)}} no server id is not available, so no source of those
credentials available. All we have is the repository id which you already see.
> log credentials source when failing to access a repository
> ----------------------------------------------------------
>
> Key: WAGON-558
> URL: https://issues.apache.org/jira/browse/WAGON-558
> Project: Maven Wagon
> Issue Type: Improvement
> Components: wagon-http, wagon-http-lightweight
> Reporter: nicolas de loof
> Priority: Major
>
> 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
(v8.3.4#803005)