spring-zeebe icon indicating copy to clipboard operation
spring-zeebe copied to clipboard

java-common has a dependency to identity-sdk that is not available in maven central

Open chDame opened this issue 1 year ago • 1 comments

Describe the bug

I'm maintaining the java tasklient client that relies on the java-common from this project : io.camunda.spring:java-common:8.4.0

When I update that dependency to a newer version (from 8.4.1 to latest), this has a dependency to identity-sdk in its pom : <groupId>io.camunda</groupId> <artifactId>identity-sdk</artifactId>

But this one is not present in maven central and it leads to compilation error Execution failed for task ':compileJava'.

Could not resolve all files for configuration ':compileClasspath'. Could not find io.camunda:identity-sdk:8.4.3. Searched in the following locations: - https://repo.maven.apache.org/maven2/io/camunda/identity-sdk/8.4.3/identity-sdk-8.4.3.pom Required by: project : > io.camunda.spring:java-common:8.4.2

chDame avatar Mar 15 '24 08:03 chDame

faced the same issue

ManuelDittmar avatar Mar 20 '24 15:03 ManuelDittmar

regarding current version 8.5.0-rc2 there is a similar issue: now version 8.4.5 of io.camunda:identity-sdk is missing. Are those packages hosted by some private camunda repositories?

benno-huber avatar Mar 27 '24 10:03 benno-huber

Issue possibly could be closed; you can find missing dependencies at camunda repository: https://artifacts.camunda.com/ui/native/camunda-identity/io/camunda/identity-sdk/ On the other hand, it would be a good idea, to hold a copy at a common public maven repo.

benno-huber avatar Mar 27 '24 11:03 benno-huber

This is hitting us as well, 8.4.0 is not affected while 8.4.2 is giving problems. Does this need to be a hard dependency? we don't use nor need identity.

namero999 avatar Apr 09 '24 10:04 namero999

Tagging @akeller as we had a quick exchange on the same topic in another ticket. This is less of a problem of the community-maintained spring-zeebe, and more of the Camunda Identity SDK not being published to the public maven repo. Is there a reason why it has not being pushed, or it has been pulled out? Upgrades from 8.4.2 upwards are made more difficult because of this.

namero999 avatar Apr 10 '24 08:04 namero999

Hi, any update ?

keuss avatar Apr 17 '24 11:04 keuss

Ref: https://github.com/camunda-community-hub/spring-zeebe/issues/669#issuecomment-2066784585

namero999 avatar Apr 19 '24 15:04 namero999

Hi, I will test. But we are still in camunda 8.4. Is this a problem ?

keuss avatar Apr 19 '24 17:04 keuss