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