Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined artifact(s) in JSON report #2884

Open
stuhood opened this issue Nov 16, 2023 · 0 comments
Open

Undefined artifact(s) in JSON report #2884

stuhood opened this issue Nov 16, 2023 · 0 comments

Comments

@stuhood
Copy link

stuhood commented Nov 16, 2023

With coursier 2.0.16 and 2.1.7, the following command:

cs fetch --json-output-file example.json org.apache.hive:hive-exec:1.1.0 --exclude org.apache.calcite:calcite-avatica --exclude org.apache.calcite:calcite-core --exclude jdk.tools:jdk.tools

...produces a JSON report containing undefined transitive dependencies.

In particular, the org.apache.hive:hive-exec:1.1.0 coord claims to have a transitive dependency on junit:junit:3.8.1, but that coord is not included in the report as a graph node.

huonw pushed a commit to pantsbuild/pants that referenced this issue Nov 20, 2023
A dependency might not be present in the top-level entries due to
potential coursier bug: coursier/coursier#2884

As a workaround, if this happens, we want to skip the dependency.

Fixes #20162
WorkerPants pushed a commit to pantsbuild/pants that referenced this issue Nov 20, 2023
A dependency might not be present in the top-level entries due to
potential coursier bug: coursier/coursier#2884

As a workaround, if this happens, we want to skip the dependency.

Fixes #20162
WorkerPants pushed a commit to pantsbuild/pants that referenced this issue Nov 20, 2023
A dependency might not be present in the top-level entries due to
potential coursier bug: coursier/coursier#2884

As a workaround, if this happens, we want to skip the dependency.

Fixes #20162
huonw pushed a commit to pantsbuild/pants that referenced this issue Nov 20, 2023
A dependency might not be present in the top-level entries due to
potential coursier bug: coursier/coursier#2884

As a workaround, if this happens, we want to skip the dependency.

Fixes #20162

Co-authored-by: Gregory Borodin <grihabor@gmail.com>
huonw pushed a commit to pantsbuild/pants that referenced this issue Nov 20, 2023
A dependency might not be present in the top-level entries due to
potential coursier bug: coursier/coursier#2884

As a workaround, if this happens, we want to skip the dependency.

Fixes #20162

Co-authored-by: Gregory Borodin <grihabor@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant