confluentinc / confluentinc/common

Cannot build master and latest 7.3.1-post branch

Open
#495 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17
Forks
243
Avg merge
1d 21h
Merged PRs (30d)
38

Description

Apologies for possibly overlooking something in the documentation, but I cannot build this project on my MacOS machine using latest Maven 3.8.7.

According to this project readme file, I am building the `master` branch as
```
mvn install
```
That fails with the error message
```
[ERROR] Failed to execute goal io.confluent:resolver-maven-plugin:0.6.0:resolve-kafka-range (default) on project common-parent: : MojoExecutionException: Could not find any ccs-kafka artifacts. -> [Help 1]
```
(even though I've built and installed Apache Kafka master branch locally).

I'm trying to follow the build instructions in the [kafka-streams-examples](github.com/confluentinc/kafka-streams-examples/tree/master):
```
$ git clone https://github.com/confluentinc/common.git
$ cd common
$ git checkout master

# Build and install common locally
$ mvn -DskipTests=true clean install
```
That fails with the "Could not find any ccs-kafka artifacts" as well.

I've seen hints out there that I should build non-master branch. So I pick the latest `7.3.1-post` branch:
```
git co 7.3.1-post
mvn clean install -DskipTests
```
I get another strange error:
```
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file (custom-install) on project common-parent: The specified file '/Users/sergey/Projects/confluent/common/installed_pom.xml' not exists -> [Help 1]
```
In fact, the latest release branch that I can build is the `6.0.9-post` branch. That works, but I need 7.x.x version to build the kafka-streams-examples eventually.

It seems to me that this project build is broken at the moment and the issue is in the custom `io.confluent:resolver-maven-plugin` plugin, that gets `installed_pom.xml` passed in its configuration.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.