Messaging Java SDK issue

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

Hi

I will add in web messaging team member to help on your problem.

Hi @Armands_Bunkovskis

This is indeed a bug on our side. We will try to fix this and let you know an update in this thread.

Best Regards
Hemanth

Hi @Armands_Bunkovskis

We have latest version of web-messaging which should fix the problem.

Can you revert if you still see any issue .

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