Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build master and latest 7.3.1-post branch #495

Open
sshcherbakov opened this issue Jan 4, 2023 · 1 comment
Open

Cannot build master and latest 7.3.1-post branch #495

sshcherbakov opened this issue Jan 4, 2023 · 1 comment

Comments

@sshcherbakov
Copy link

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:

$ 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.

@DangHT
Copy link

DangHT commented Feb 16, 2023

I have the same problem as you. The problem was solved after trying to install all the jars to the local maven repository from confluencinc/kafka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants