examples
examples copied to clipboard
ccloud-observability fails to load java dependencies
Description ccloud-observability
Producer won't start due to an error resolving the confluent.version.
localhost:ccloud-observability awalther$ mvn clean install -U
[INFO] Scanning for projects...
Downloading from confluent-artifactory-central: https://confluent.jfrog.io/confluent/maven-public/joda-time/joda-time/maven-metadata.xml
Downloaded from confluent-artifactory-central: https://confluent.jfrog.io/confluent/maven-public/joda-time/joda-time/maven-metadata.xml (1.7 kB at 3.2 kB/s)
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for io.confluent:kafka-avro-serializer:jar must be a valid version but is '${confluent.version}'. @ line 58, column 22
[ERROR] 'dependencies.dependency.version' for io.confluent:kafka-streams-avro-serde:jar must be a valid version but is '${confluent.version}'. @ line 63, column 22
[ERROR] 'dependencies.dependency.version' for io.confluent:kafka-json-serializer:jar must be a valid version but is '${confluent.version}'. @ line 83, column 22
[ERROR] 'build.plugins.plugin.version' for io.confluent:kafka-schema-registry-maven-plugin must be a valid version but is '${confluent.version}'. @ line 157, column 26
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project io.confluent:clients-example:6.1.1 (/Users/awalther/Documents/devx/examples/ccloud-observability/pom.xml) has 4 errors
[ERROR] 'dependencies.dependency.version' for io.confluent:kafka-avro-serializer:jar must be a valid version but is '${confluent.version}'. @ line 58, column 22
[ERROR] 'dependencies.dependency.version' for io.confluent:kafka-streams-avro-serde:jar must be a valid version but is '${confluent.version}'. @ line 63, column 22
[ERROR] 'dependencies.dependency.version' for io.confluent:kafka-json-serializer:jar must be a valid version but is '${confluent.version}'. @ line 83, column 22
[ERROR] 'build.plugins.plugin.version' for io.confluent:kafka-schema-registry-maven-plugin must be a valid version but is '${confluent.version}'. @ line 157, column 26
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
Troubleshooting Identify any existing issues that seem related: https://github.com/confluentinc/examples/issues?q=is%3Aissue
Environment
- GitHub branch: [e.g.
6.0.1-post, etc] 6.1.1-post - Operating System: mac and linux
- Version of Docker: 20.x.x
- Version of Docker Compose:
Resolved with https://github.com/confluentinc/examples/pull/970