Skip to content

Commit

Permalink
build: Fix Zeebe dependency issue (#203)
Browse files Browse the repository at this point in the history
* build: Remove zeebe-bom

No need to import the Zeebe BOM.

* build: Fix dependency issue with protobuf

There is version conflict in the protobuf dependency from Spring-Zeebe and the Hazelcast client. Resolve the conflict by excluding the dependency from Hazelcast.
  • Loading branch information
saig0 authored Sep 15, 2023
1 parent 8f1da2e commit b6dc230
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<zeebe.version>8.1.9</zeebe.version>
<version.zeebe.spring>8.2.4</version.zeebe.spring>

<spring.boot.version>2.7.15</spring.boot.version>
Expand Down Expand Up @@ -48,15 +47,6 @@
<dependencyManagement>
<dependencies>

<dependency>
<groupId>io.camunda</groupId>
<artifactId>zeebe-bom</artifactId>
<version>${zeebe.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>


<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
Expand Down Expand Up @@ -128,6 +118,13 @@
<dependency>
<groupId>io.zeebe.hazelcast</groupId>
<artifactId>zeebe-hazelcast-connector</artifactId>
<exclusions>
<exclusion>
<!-- Exclude protobuf because of version conflicts with Spring-Zeebe -->
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down

0 comments on commit b6dc230

Please sign in to comment.