Hi,
On Thu, Jan 21, 2021 at 11:01 AM Baljeet Singh <
baljeet...@gmail.com> wrote:
>
> Hi Simon/Developers,
> I am trying to migrate an existing maven based salesforce connector project(
https://github.com/forcedotcom/EMP-Connector) which is build on cometd-java-client-4.0.4 to cometD 5.0.3 version. Since there are lot of changes in the Migrating from CometD 4.0.x to CometD 5.0.x, i am not able to get all the required dependency which should work with cometD 5.0.3 .
There are 9 artifact changes in the migration guide, and the one
you're interested in is number 6.
> Following is the dependency in the pom.xml which is defined for cometd-java-client-4.0.4.
>
> <dependency>
> <groupId>org.cometd.java</groupId>
> <artifactId>cometd-java-client</artifactId>
> <version>4.0.4</version>
> </dependency>
>
> Can you please help me identifying the exact version of the dependent jars which will help me to build the project with cometD 5.0.3.
As specified in the migration guide you linked, you need to replace
`cometd-java-client` with `cometd-java-client-common` and then pick a
transport, for example `cometd-java-client-http-jetty`.