You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/03/03 18:32:00 UTC

[jira] [Commented] (MNG-7719) Maven 3.9.0 native http transport ignores username/password for basic auth

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

Tamas Cservenak commented on MNG-7719:
--------------------------------------

Can you provide a reproducer?

> Maven 3.9.0 native http transport ignores username/password for basic auth
> --------------------------------------------------------------------------
>
>                 Key: MNG-7719
>                 URL: https://issues.apache.org/jira/browse/MNG-7719
>             Project: Maven
>          Issue Type: Improvement
>          Components: Core, Deployment
>    Affects Versions: 3.9.0
>            Reporter: Adam Gent
>            Priority: Major
>
> In 3.9.0 the default maven http transport switched from wagon to native.
> It appears that the native transport does not respect:
> {code:xml}
>       <server>
>         <id>some-repo</id>
>         <username>some-username</username>
>         <password>basic-auth-password</password>
>       </server>
> {code}
> Now when you do a mvn deploy to some-repo the basic auth headers are missing.
> This is probably causing github package problems:
> https://github.com/orgs/community/discussions/49001



--
This message was sent by Atlassian Jira
(v8.20.10#820010)