Skip to content

Commit

Permalink
build: Switch to Camunda community parent pom (#152)
Browse files Browse the repository at this point in the history
* build: switch to Camunda community parent pom

* docker: remove unused plugin for Zeebe Docker image with HZ
  • Loading branch information
saig0 authored Feb 24, 2023
1 parent 82dc233 commit 2b9f5c2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 47 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```
Expand Down
6 changes: 0 additions & 6 deletions docker/application.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
40 changes: 3 additions & 37 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
<packaging>jar</packaging>

<parent>
<groupId>org.camunda</groupId>
<artifactId>camunda-release-parent</artifactId>
<version>3.9.1</version>
<!-- do not remove empty tag - http://jira.codehaus.org/browse/MNG-4687 -->
<groupId>org.camunda.community</groupId>
<artifactId>community-hub-release-parent</artifactId>
<version>1.4.1</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -274,38 +273,6 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactItems>
<artifactItem>
<groupId>io.zeebe.hazelcast</groupId>
<artifactId>zeebe-hazelcast-exporter</artifactId>
<version>${zeebe-hazelcast.version}</version>
<type>jar</type>
<classifier>jar-with-dependencies</classifier>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/exporter</outputDirectory>
<destFileName>zeebe-hazelcast-exporter.jar</destFileName>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/libs</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</plugin>

</plugins>
</build>

Expand Down Expand Up @@ -365,7 +332,6 @@
</plugins>
</build>
</profile>

</profiles>

<scm>
Expand Down

0 comments on commit 2b9f5c2

Please sign in to comment.