Having issues trying to start using Messaging Java SDK
The SDK published at Maven Repository (https://mvnrepository.com/artifact/cloud.genesys/web-messaging-sdk) since version 7.1.0 don’t seem to contain proper metadata in pom.xml. Which doesn’t allow Gradle to successfully use it in Gradle like this:“implementation 'cloud.genesys:web-messaging-sdk:10.0.0”. Here is the difference between metadata in version 6.0.1 and versions starting from 7.1.0
Version 6.0.1:
4.0.0
cloud.genesys
web-messaging-sdk
6.0.1
web-messaging-sdk
A customer-side development kit for creating custom Genesys Cloud Web Messaging experiences
https://developer.mypurecloud.com/api/rest/client-libraries/webmessaging-java/</url>
Version 7.1.0:
4.0.0
cloud.genesys
web-messaging-sdk
${name}
${version}
${description}
${url}
Version 10.0.0: (the latest one currently)
4.0.0
cloud.genesys
web-messaging-sdk
${name}
${version}
${description}
${url}
Please note that instead of actual values that where present in version 6.0.1 now the metadata has placeholders. So while Gradle can download versions up to 6.0.1 from maven central it cannot download versions since 7.1.0. For example:
Execution failed for task ':compileJava'.
Could not resolve all files for configuration ':compileClasspath'.
Could not resolve cloud.genesys:web-messaging-sdk:7.1.0.
Required by:
project :
Could not resolve cloud.genesys:web-messaging-sdk:7.1.0.
inconsistent module metadata found. Descriptor: cloud.genesys:web-messaging-sdk:${props.version} Errors: bad version: expected='7.1.0' found='${props.version}'
Could not resolve cloud.genesys:web-messaging-sdk:7.1.0.
Could not get resource 'https://repo.maven.apache.org/maven2/cloud/genesys/web-messaging-sdk/7.1.0/web-messaging-sdk-7.1.0.pom'.
Could not HEAD 'https://repo.maven.apache.org/maven2/cloud/genesys/web-messaging-sdk/7.1.0/web-messaging-sdk-7.1.0.pom'.
Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.244.215] failed: Connection timed out: connect