Skip to content

Build fails due to dependency jc-kzg-4844 since version 4.11.0 #2013

Closed
@michaelnetter

Description

Issue_title

Build fails due to dependency jc-kzg-4844 since version 4.11.0

Issue_description

I'm using web3j as a dependency in a maven project.
Since version 4.11.0, I am unable to build the project. The error message is the following:

[ERROR] Failed to execute goal on project siwe-java: Could not resolve dependencies for project com.moonstoneid:siwe-java:jar:1.0.5: tech.pegasys:jc-kzg-4844:jar:0.8.0 was not found in https://repo1.maven.org/maven2 during a previous attempt.

It seems the issue is that the dependency jc-kzg-4844 is not available on maven central but only in this third party repository.

This puts developers who use web3j in a difficult spot. They need to either

  • add the repo to their Maven settings.xml -> Must be done by every developer.
  • add the repo to the pom.xml -> URL is hardcoded in the project forever. If the URL changes, this must be changed manually.

Issue_context

The issue was introduced in this pull request.

Metadata

Assignees

Labels

needs-reviewissue/PR needs review from maintainer

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions