confluentinc/examples

clients/avro fails to load java dependencies

prd-hai-huynh opened this issue · 0 comments

Description
mvn clean compile package

[INFO] Scanning for projects...
Downloading from confluent: https://packages.confluent.io/maven/io/confluent/rest-utils-parent/7.3.0/rest-utils-parent-7.3.0.pom
Downloading from central: https://repo.maven.apache.org/maven2/io/confluent/rest-utils-parent/7.3.0/rest-utils-parent-7.3.0.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for io.confluent:java-client-avro-examples:7.3.0: Could not transfer artifact io.confluent:rest-utils-parent:pom:7.3.0 from/to confluent (https://packages.confluent.io/maven/): transfer failed for https://packages.confluent.io/maven/io/confluent/rest-utils-parent/7.3.0/rest-utils-parent-7.3.0.pom and 'parent.relativePath' points at wrong local POM @ line 7, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project io.confluent:java-client-avro-examples:7.3.0 (/home/haihuynh/workspace/me/examples/clients/avro/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for io.confluent:java-client-avro-examples:7.3.0: Could not transfer artifact io.confluent:rest-utils-parent:pom:7.3.0 from/to confluent (https://packages.confluent.io/maven/): transfer failed for https://packages.confluent.io/maven/io/confluent/rest-utils-parent/7.3.0/rest-utils-parent-7.3.0.pom and 'parent.relativePath' points at wrong local POM @ line 7, column 11: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty -> [Help 2]
[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
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Troubleshooting
Identify any existing issues that seem related: https://github.com/confluentinc/examples/issues?q=is%3Aissue

If applicable, please include the output of:

  • docker-compose logs <container name>
  • any other relevant commands

Environment

  • GitHub branch: 7.3.0-post
  • Operating System:
  • Version of Docker:
  • Version of Docker Compose: