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

Cannot use 0.0.25 as dependency because of a typo in slf4j-api transitive dependency version #556

Closed
sshcherbakov opened this issue May 3, 2019 · 1 comment

Comments

@sshcherbakov
Copy link
Contributor

sshcherbakov commented May 3, 2019

When I try to add io.improbable:keanu:0.0.25 dependency to my project, I cannot build it because the 'org.slf4j:slf4j-api:1. 8.0-beta2' transitive dependency cannot be resolved.

The problem seems to be in the typo (redundant space) here:
https://github.com/improbable-research/keanu/blob/develop/keanu-project/build.gradle#L35

Tried with sbt first and with Maven then.
With Maven getting the following error during the build:

[ERROR] Failed to execute goal on project cgk: Could not resolve dependencies for project net.shcherbakovs:cgk:jar:0.0.1: Failed to collect dependencies at io.improbable:keanu:jar:0.0.25 -> org.slf4j:slf4j-api:jar:1. 8.0-beta2: Failed to read artifact descriptor for org.slf4j:slf4j-api:jar:1. 8.0-beta2: Could not transfer artifact org.slf4j:slf4j-api:pom:1. 8.0-beta2 from/to ...

@sshcherbakov
Copy link
Contributor Author

The workaround is to manually remove the space in the
~/.m2/repository/io/improbable/keanu/0.0.25/keanu-0.0.25.pom
for Maven and
~/.ivy2/cache/io.improbable/keanu/ivy-0.0.25.xml
for sbt

wesleyw72 added a commit that referenced this issue May 6, 2019
Fixes: #556. Remove redundant space in the slf4j-api dependency
sshcherbakov added a commit to sshcherbakov/keanu that referenced this issue Sep 9, 2020
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