From 2b9f5c27e774fdf80a9a399586b62977677937b8 Mon Sep 17 00:00:00 2001 From: Philipp Ossler Date: Fri, 24 Feb 2023 14:49:12 +0100 Subject: [PATCH] build: Switch to Camunda community parent pom (#152) * build: switch to Camunda community parent pom * docker: remove unused plugin for Zeebe Docker image with HZ --- README.md | 5 ++--- docker/application.yaml | 6 ------ docker/docker-compose.yml | 2 +- pom.xml | 40 +++------------------------------------ 4 files changed, 6 insertions(+), 47 deletions(-) delete mode 100644 docker/application.yaml diff --git a/README.md b/README.md index 7fb257c..086755b 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ to [GitHub Packages](https://github.com/orgs/camunda-community-hub/packages/cont . ``` -docker pull ghcr.io/camunda-community-hub/zeebe-simple-tasklist:1.0.1 +docker pull ghcr.io/camunda-community-hub/zeebe-simple-tasklist:latest ``` * ensure that a Zeebe broker is running with @@ -83,14 +83,13 @@ If the Zeebe broker runs on your local machine with the default configs then sta with the following command: ``` -docker run --network="host" ghcr.io/camunda-community-hub/zeebe-simple-tasklist:1.0.1 +docker run --network="host" ghcr.io/camunda-community-hub/zeebe-simple-tasklist:latest ``` For a local setup, the repository contains a [docker-compose file](docker/docker-compose.yml). It starts a Zeebe broker with the Hazelcast exporter and the application. ``` -mvn clean install -DskipTests cd docker docker-compose --profile in-memory up ``` diff --git a/docker/application.yaml b/docker/application.yaml deleted file mode 100644 index d952f3a..0000000 --- a/docker/application.yaml +++ /dev/null @@ -1,6 +0,0 @@ -zeebe: - broker: - exporters: - hazelcast: - className: io.zeebe.hazelcast.exporter.HazelcastExporter - jarPath: exporters/zeebe-hazelcast-exporter.jar diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 8f79e1a..d2d6317 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -44,7 +44,7 @@ services: - spring.datasource.driverClassName=org.postgresql.Driver - spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect ports: - - "8082:8082" + - "8081:8081" depends_on: - zeebe - postgres-zeebe-simple-tasklist diff --git a/pom.xml b/pom.xml index 335fc0c..a7a445f 100644 --- a/pom.xml +++ b/pom.xml @@ -8,10 +8,9 @@ jar - org.camunda - camunda-release-parent - 3.9.1 - + org.camunda.community + community-hub-release-parent + 1.4.1 @@ -274,38 +273,6 @@ - - org.apache.maven.plugins - maven-dependency-plugin - 3.5.0 - - - copy - package - - copy - - - - - - - io.zeebe.hazelcast - zeebe-hazelcast-exporter - ${zeebe-hazelcast.version} - jar - jar-with-dependencies - true - ${project.build.directory}/exporter - zeebe-hazelcast-exporter.jar - - - ${project.build.directory}/libs - false - true - - - @@ -365,7 +332,6 @@ -