Skip to content
Michael G. Noll edited this page Aug 22, 2017 · 7 revisions

When I try to compile I get an error about a missing SNAPSHOT dependency.

Typically this should only happen if you use a development branch such as the master branch of this repository.

The compilation error may look something like this:

$ mvn compile
...
[ERROR] Failed to execute goal on project kafka-streams-examples:
  Could not resolve dependencies for project io.confluent:kafka-streams-examples:jar:3.1.0-SNAPSHOT:
  The following artifacts could not be resolved:
    org.apache.kafka:kafka-clients:jar:0.10.1.0-SNAPSHOT,
    org.apache.kafka:kafka-streams:jar:0.10.1.0-SNAPSHOT,
    org.apache.kafka:kafka_2.11:jar:test:0.10.1.0-SNAPSHOT:
    Could not find artifact org.apache.kafka:kafka-clients:jar:0.10.1.0-SNAPSHOT in confluent (http://packages.confluent.io/maven/) -> [Help 1]

This may happen because, during development, we sometimes use an unreleased SNAPSHOT version of Kafka in order to build and test against new features. We only do this in development branches such as master.

If you want to build the examples from such development branches yourself, then you may need to manually build and install such SNAPSHOT dependencies to your local Maven repository. See https://github.com/confluentinc/kafka-streams-examples#requirements-kafka for step-by-step instructions.

Clone this wiki locally