common
common copied to clipboard
Cannot build master and latest 7.3.1-post branch
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.
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