confluentinc / examples

Apache Kafka and Confluent Platform examples and demos
Apache License 2.0
1.92k stars 1.12k forks source link

ccloud-observability fails to load java dependencies #969

Closed awalther28 closed 3 years ago

awalther28 commented 3 years ago

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

awalther28 commented 3 years ago

Resolved with https://github.com/confluentinc/examples/pull/970