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

Version 1.10 of published artifact is gone #86

Closed
lstreepy opened this issue Jul 15, 2024 · 6 comments
Closed

Version 1.10 of published artifact is gone #86

lstreepy opened this issue Jul 15, 2024 · 6 comments

Comments

@lstreepy
Copy link

It appears that version 1.10 of the okhttp-digest jar (at com.burgstaller » okhttp-digest) has been removed (or is no longer accessible) from Maven Central.

I don't know if this is the correct place to report this, but this situation is breaking a ton of our projects because we use the HTTP Gradle plugin (https://http-builder-ng.github.io/gradle-http-plugin/), and it has a transitive dependency on io.github.http-builder-ng:http-builder-ng-okhttp:1.0.3 which relies on your library.

Can you please restore this artifact?

@rburgst
Copy link
Owner

rburgst commented Jul 16, 2024

Hi, thanks for your report. The problem is that the artifact with the com.burgstaller.okhttp-digest coordinates was hosted on bintray which has been abandoned a long time ago.
Therefore, the component is only available on maven central under https://mvnrepository.com/artifact/io.github.rburgst/okhttp-digest, please inform the maintainer of https://http-builder-ng.github.io/gradle-http-plugin/ about the coordinate change. Also note that 1.10 is pretty ancient, I really recommend upgrading to current versions of the library.
See also #71 .
Note that the change happened already in 2021.

@rburgst rburgst closed this as completed Jul 16, 2024
@lstreepy
Copy link
Author

Thank you. After more research, we found what you stated above. Our predicament was due to using an old Gradle plugin that had ok-http as a transitive dependency, and it has a dependency on your artifact. No newer version of the plugin is available, but we have managed to rework our Gradle plugin to rely on Apache http instead and remove the need for ok-http.

Thank you for your quick response.

@amydoxym
Copy link

hey @lstreepy ! We are having the same isssue with one of our Gradle plugin
org.asciidoctor.jvm.gems:org.asciidoctor.jvm.gems.gradle.plugin:3.3.2 > org.asciidoctor:asciidoctor-gradle-jvm-gems:3.3.2 > com.github.jruby-gradle:jruby-gradle-core-plugin:2.0.2 > io.github.http-builder-ng:http-builder-ng-okhttp:1.0.3 > com.burgstaller:okhttp-digest:1.10

How did you solve your issue please?

@lstreepy
Copy link
Author

lstreepy commented Jul 17, 2024 via email

@psathuluri
Copy link

I have a similar issue where my project was using asciidoctor-gradle-plugin which has a transitive dependency com.burgstaller:okhttp-digest:1.10. This comment works for me as a stopgap - adding the following to the build script:

buildscript {
    configurations.classpath {
        resolutionStrategy.eachDependency { DependencyResolveDetails details ->
            if (details.requested.group == 'com.burgstaller' && details.requested.name == 'okhttp-digest' && details.requested.version == '1.10') {
                details.useTarget "io.github.rburgst:${details.requested.name}:1.21"
                details.because 'Dependency has moved'
            }
        }
    }
}

@amydoxym
Copy link

Thanks @psathuluri ! Will try this out

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

4 participants