Nicolaus Weidner created FLINK-27442:
----------------------------------------
Summary: Module flink-sql-avro-confluent-registry does not
configure Confluent repo
Key: FLINK-27442
URL: https://issues.apache.org/jira/browse/FLINK-27442
Project: Flink
Issue Type: Bug
Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
Affects Versions: 1.15.0
Reporter: Nicolaus Weidner
flink-sql-avro-confluent-registry depends on org.apache.kafka:kafka-clients,
which is not available in Maven Central, but only in the Confluent repo.
However, it does not configure this repo. This causes the build to fail for me
locally with the following exception:
{code:java}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
(process-resource-bundles) on project flink-sql-avro-confluent-registry: Error
resolving project artifact: Could not transfer artifact
org.apache.kafka:kafka-clients:pom:6.2.2-ccs from/to <other repo>: Not
authorized , ReasonPhrase: . for project
org.apache.kafka:kafka-clients:jar:6.2.2-ccs -> [Help 1]
{code}
This may be build order dependent, but the module should probably configure the
repo to be safe, like done elsewhere:
https://github.com/apache/flink/blob/dd48d058c6b745f505870836048284a76a23f7cc/flink-end-to-end-tests/flink-confluent-schema-registry/pom.xml#L36-L41
Looks like this is the case since 1.12 at least.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)