Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Messaging Java SDK issue

    Posted 06-05-2025 18:37

    Armands_Bunkovskis | 2023-10-05 15:40:21 UTC | #1

    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:

    <modelVersion>4.0.0</modelVersion>

    <groupId>cloud.genesys</groupId>

    <artifactId>web-messaging-sdk</artifactId>

    <version>6.0.1</version>

    <name>web-messaging-sdk</name>

    <description>A customer-side development kit for creating custom Genesys Cloud Web Messaging experiences</description>

    <url>https://developer.mypurecloud.com/api/rest/client-libraries/webmessaging-java/</url>

    Version 7.1.0:

    <modelVersion>4.0.0</modelVersion>

    <groupId>cloud.genesys</groupId>

    <artifactId>web-messaging-sdk</artifactId>

    <name>${name}</name>

    <version>${version}</version>

    <description>${description}</description>

    <url>${url}</url>

    Version 10.0.0: (the latest one currently)

    <modelVersion>4.0.0</modelVersion>

    <groupId>cloud.genesys</groupId>

    <artifactId>web-messaging-sdk</artifactId>

    <name>${name}</name>

    <version>${version}</version>

    <description>${description}</description>

    <url>${url}</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


    Hemanth | 2023-10-05 16:09:23 UTC | #2

    Hi

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


    Hemanth | 2023-10-05 16:41:19 UTC | #3

    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


    Hemanth | 2023-10-12 10:04:31 UTC | #4

    Hi @Armands_Bunkovskis

    We have latest version of web-messaging which should fix the problem. https://central.sonatype.com/artifact/cloud.genesys/web-messaging-sdk/11.0.0/overview

    Can you revert if you still see any issue .


    system | 2023-11-12 09:44:53 UTC | #5

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


    This post was migrated from the old Developer Forum.

    ref: 22385