OKTA jar missing from Maven Repository - okta-sdk-httpclient-10.0.0.jar

OKTA SDK ( GitHub - okta/okta-sdk-java) says:

For Apache Maven:

<dependency>
    <groupId>com.okta.sdk</groupId>
    <artifactId>okta-sdk-api</artifactId>
    <version>${okta.sdk.version}</version>
</dependency>
<dependency>
    <groupId>com.okta.sdk</groupId>
    <artifactId>okta-sdk-impl</artifactId>
    <version>${okta.sdk.version}</version>
    <scope>runtime</scope>
</dependency>
<dependency>
    <groupId>com.okta.sdk</groupId>
    <artifactId>okta-sdk-httpclient</artifactId>
    <version>${okta.sdk.version}</version>
    <scope>runtime</scope>
</dependency>

But at least since 2022-11-11 there is no okta-sdk-httpclient-10.0.0.jar available in the Maven Central Repository!

https://repo1.maven.org/maven2/com/okta/sdk/okta-sdk-httpclient/

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.705 s
[INFO] Finished at: 2022-11-12T14:00:18Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project TestOkta: Could not resolve dependencies for project TestOkta:TestOkta:jar:0.0.1-SNAPSHOT: Failure to find com.okta.sdk:okta-sdk-httpclient:jar:10.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[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/DependencyResolutionException

1- What problems will occur without adding this dependency?

2- In which maven repository is the required jar?

Thanks in advance

This is a README documentation error and will be fixed, you will not need to include okta-sdk-httpclient dependency anymore. Starting with 10.0.0 major release, this dependency has been removed.

Let me know if you have any questions around this.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.