You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Yunseop Eom (Jira)" <ji...@apache.org> on 2026/08/03 06:23:00 UTC

[jira] [Commented] (KAFKA-20853) `-PmavenUrl=file:` does not work due to unsupported Authentication

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

Yunseop Eom commented on KAFKA-20853:
-------------------------------------

Implemented in GitHub PR #23064: https://github.com/apache/kafka/pull/23064

Removed the misleading Gradle comment that recommended publishing to a local file-based Maven repository with -PmavenUrl.

Validation:
- RED: the reported publishMavenJavaPublicationToMavenRepository command reproduced the file-protocol authentication failure.
- GREEN: publishToMavenLocal completed successfully.
- spotlessCheck and git diff --check passed.

This is a documentation-only Gradle change with no API, protocol, or KIP impact.

> `-PmavenUrl=file:` does not work due to unsupported Authentication
> ------------------------------------------------------------------
>
>                 Key: KAFKA-20853
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20853
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>
> {code:java}
> * What went wrong:
> Execution failed for task ':clients:publishMavenJavaPublicationToMavenRepository'.
> > Failed to publish publication 'mavenJava' to repository 'maven'
>    > Authentication scheme 'all'(Authentication) is not supported by protocol 'file'
> {code}



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