boardtc
boardtc

Reputation: 1538

Issue building Confluent IO schema-registry source

Building the confluent schema-registry source has dependencies rest-utils & common. rest-utils builds fine. Common needs Kafka to be built (with Gradle) & Kafka builds fine.

Building common then gives the error:

Failed to execute goal on project common-logging: Could not resolve dependencies for project io.confluent:common-logging:jar:5.4.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.kafka:connect-api:jar:5.4.0-ccs-SNAPSHOT, org.apache.kafka:connect-json:jar:5.4.0-ccs-SNAPSHOT

Note that the Kafka source includes: / connect/api & connect/json code though they have no separate build files.

Any tips on how to get this built?

Upvotes: 1

Views: 744

Answers (1)

OneCricketeer
OneCricketeer

Reputation: 191728

This line seems to be the issue.

https://github.com/confluentinc/common/blob/master/pom.xml#L52

<kafka.version>5.4.0-ccs-SNAPSHOT</kafka.version>

So, you'd have to build the matching Kafka branch, which you can find here (note: this is Confluent's forked repo, not apache/kafka, which likely doesn't have a 5.4.0-ccs version)

https://github.com/confluentinc/kafka/blob/master/gradle.properties#L23

Upvotes: 2

Related Questions