From ca806a8ca259517a964ac7d4faa303d57af2ece4 Mon Sep 17 00:00:00 2001 From: Simon Zambrovski Date: Fri, 6 Oct 2023 17:14:42 +0200 Subject: [PATCH 01/21] Update for next development version --- example/coverage-report-aggregator/pom.xml | 2 +- example/example-java/pom.xml | 2 +- example/example-kotlin/pom.xml | 2 +- example/example-no-engine/pom.xml | 2 +- example/itest/pom.xml | 2 +- example/pom.xml | 2 +- example/spin-type-detector/pom.xml | 2 +- extension/c7/pom.xml | 2 +- extension/core/pom.xml | 2 +- pom.xml | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/coverage-report-aggregator/pom.xml b/example/coverage-report-aggregator/pom.xml index 19afaf4c..c1fed116 100644 --- a/example/coverage-report-aggregator/pom.xml +++ b/example/coverage-report-aggregator/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.0 + 1.4.1-SNAPSHOT camunda-bpm-data-coverage-report diff --git a/example/example-java/pom.xml b/example/example-java/pom.xml index 5a81ff95..dade12a1 100644 --- a/example/example-java/pom.xml +++ b/example/example-java/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.0 + 1.4.1-SNAPSHOT camunda-bpm-data-example-java diff --git a/example/example-kotlin/pom.xml b/example/example-kotlin/pom.xml index 5b4c0dbe..5aaee23d 100644 --- a/example/example-kotlin/pom.xml +++ b/example/example-kotlin/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.0 + 1.4.1-SNAPSHOT camunda-bpm-data-example-kotlin diff --git a/example/example-no-engine/pom.xml b/example/example-no-engine/pom.xml index dc006387..04ee6f36 100644 --- a/example/example-no-engine/pom.xml +++ b/example/example-no-engine/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.0 + 1.4.1-SNAPSHOT camunda-bpm-data-example-no-engine diff --git a/example/itest/pom.xml b/example/itest/pom.xml index e9c561e3..e09674f5 100644 --- a/example/itest/pom.xml +++ b/example/itest/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.0 + 1.4.1-SNAPSHOT camunda-bpm-data-integration-test diff --git a/example/pom.xml b/example/pom.xml index e7ce239f..5dd06f24 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -6,7 +6,7 @@ io.holunda.data camunda-bpm-data-parent - 1.4.0 + 1.4.1-SNAPSHOT io.holunda.data.example diff --git a/example/spin-type-detector/pom.xml b/example/spin-type-detector/pom.xml index d4b1df6a..2e7fb7f6 100644 --- a/example/spin-type-detector/pom.xml +++ b/example/spin-type-detector/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.0 + 1.4.1-SNAPSHOT camunda-bpm-data-spin-type-detector diff --git a/extension/c7/pom.xml b/extension/c7/pom.xml index 4e13ab42..a3963175 100644 --- a/extension/c7/pom.xml +++ b/extension/c7/pom.xml @@ -6,7 +6,7 @@ io.holunda.data camunda-bpm-data-parent - 1.4.0 + 1.4.1-SNAPSHOT ../../pom.xml diff --git a/extension/core/pom.xml b/extension/core/pom.xml index fa9ebfdb..b0eb7fd4 100644 --- a/extension/core/pom.xml +++ b/extension/core/pom.xml @@ -6,7 +6,7 @@ io.holunda.data camunda-bpm-data-parent - 1.4.0 + 1.4.1-SNAPSHOT ../../pom.xml diff --git a/pom.xml b/pom.xml index 83fc138a..baa86fb2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.holunda.data camunda-bpm-data-parent - 1.4.0 + 1.4.1-SNAPSHOT ${project.artifactId} Camunda BPM Data https://github.com/holunda-io/camunda-bpm-data/ From 088a7023cc6f7a414500367165b87a82ecc15d1c Mon Sep 17 00:00:00 2001 From: Simon Zambrovski Date: Fri, 6 Oct 2023 17:55:24 +0200 Subject: [PATCH 02/21] remove unneeded module --- extension/c7/pom.xml | 123 ------------------------------------------- 1 file changed, 123 deletions(-) delete mode 100644 extension/c7/pom.xml diff --git a/extension/c7/pom.xml b/extension/c7/pom.xml deleted file mode 100644 index a3963175..00000000 --- a/extension/c7/pom.xml +++ /dev/null @@ -1,123 +0,0 @@ - - - 4.0.0 - - - io.holunda.data - camunda-bpm-data-parent - 1.4.1-SNAPSHOT - ../../pom.xml - - - camunda-bpm-data-c7 - ${project.artifactId} - jar - - - false - false - - - - - - - org.camunda.bpm - camunda-engine - provided - - - org.camunda.spin - camunda-spin-core - provided - - - org.camunda.spin - camunda-spin-dataformat-json-jackson - provided - - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-databind - - - - - org.slf4j - slf4j-api - - - - - - org.camunda.bpm - camunda-bpm-assert - test - - - org.mockito.kotlin - mockito-kotlin - test - - - org.slf4j - slf4j-simple - test - - - com.h2database - h2 - test - - - org.hibernate.validator - hibernate-validator - 8.0.1.Final - test - - - jakarta.el - jakarta.el-api - 4.0.0 - test - - - org.glassfish - jakarta.el - 4.0.2 - test - - - - - com.fasterxml.jackson.datatype - jackson-datatype-jdk8 - test - - - com.fasterxml.jackson.datatype - jackson-datatype-jsr310 - test - - - com.fasterxml.jackson.module - jackson-module-kotlin - test - - - - - - - org.jetbrains.kotlin - kotlin-maven-plugin - - - - From 7ddab7980d34a98d52d2d445273ee2c952f7dc58 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 01:49:20 +0000 Subject: [PATCH 03/21] build(deps-dev): bump jakarta.el:jakarta.el-api from 4.0.0 to 5.0.1 Bumps [jakarta.el:jakarta.el-api](https://github.com/eclipse-ee4j/el-ri) from 4.0.0 to 5.0.1. - [Release notes](https://github.com/eclipse-ee4j/el-ri/releases) - [Commits](https://github.com/eclipse-ee4j/el-ri/commits) --- updated-dependencies: - dependency-name: jakarta.el:jakarta.el-api dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- extension/core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/core/pom.xml b/extension/core/pom.xml index b0eb7fd4..6c5036aa 100644 --- a/extension/core/pom.xml +++ b/extension/core/pom.xml @@ -103,7 +103,7 @@ jakarta.el jakarta.el-api - 4.0.0 + 5.0.1 test From 5eb7a55f382c9f590c24a1c045ca7f88fcfb714e Mon Sep 17 00:00:00 2001 From: Jan Galinski Date: Tue, 10 Oct 2023 09:05:03 +0200 Subject: [PATCH 04/21] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6b00fde9..d8fe9475 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ## Camunda BPM Data [![stable](https://img.shields.io/badge/lifecycle-STABLE-green.svg)](https://github.com/holisticon#open-source-lifecycle) +[![Camunda 7.20](https://img.shields.io/badge/Camunda%20Version-7.20-orange.svg)]([https://github.com/holisticon#open-source-lifecycle](https://docs.camunda.org/manual/7.20/)) [![Build Status](https://github.com/holunda-io/camunda-bpm-data/workflows/default/badge.svg)](https://github.com/holunda-io/camunda-bpm-data/actions) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.holunda.data/camunda-bpm-data/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.holunda.data/camunda-bpm-data) [![CodeCov](https://codecov.io/gh/holunda-io/camunda-bpm-data/branch/master/graph/badge.svg)](https://codecov.io/gh/holunda-io/camunda-bpm-data) From bdefd0c7ee67c8a04b36ec216d424b97fa351813 Mon Sep 17 00:00:00 2001 From: Jan Galinski Date: Tue, 10 Oct 2023 09:05:42 +0200 Subject: [PATCH 05/21] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d8fe9475..417c2f5f 100644 --- a/README.md +++ b/README.md @@ -42,20 +42,20 @@ If you just want to start using the library, put the following dependency into y io.holunda.data camunda-bpm-data - 1.2.6 + 1.4.0 ``` If you are using Gradle Kotlin DSL add to your `build.gradle.kts`: ``` kotlin -implementation("io.holunda.data:camunda-bpm-data:1.2.6") +implementation("io.holunda.data:camunda-bpm-data:1.4.0") ``` For Gradle Groovy DSL add to your `build.gradle`: ``` groovy -implementation 'io.holunda.data:camunda-bpm-data:1.2.6' +implementation 'io.holunda.data:camunda-bpm-data:1.4.0' ``` ### Variable declaration Now your setup is completed, and you can declare your variables like this: From 6aff77e445efdd3edf28146dea5343af783065fe Mon Sep 17 00:00:00 2001 From: Jan Galinski Date: Tue, 10 Oct 2023 12:04:57 +0200 Subject: [PATCH 06/21] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 417c2f5f..582aa895 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## Camunda BPM Data [![stable](https://img.shields.io/badge/lifecycle-STABLE-green.svg)](https://github.com/holisticon#open-source-lifecycle) -[![Camunda 7.20](https://img.shields.io/badge/Camunda%20Version-7.20-orange.svg)]([https://github.com/holisticon#open-source-lifecycle](https://docs.camunda.org/manual/7.20/)) +[![Camunda 7.20](https://img.shields.io/badge/Camunda%20Version-7.20-orange.svg)](https://docs.camunda.org/manual/7.20/) [![Build Status](https://github.com/holunda-io/camunda-bpm-data/workflows/default/badge.svg)](https://github.com/holunda-io/camunda-bpm-data/actions) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.holunda.data/camunda-bpm-data/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.holunda.data/camunda-bpm-data) [![CodeCov](https://codecov.io/gh/holunda-io/camunda-bpm-data/branch/master/graph/badge.svg)](https://codecov.io/gh/holunda-io/camunda-bpm-data) From 0903118d1978ab2b7e76be5f1a163fbae2f0fbe0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 01:14:13 +0000 Subject: [PATCH 07/21] build(deps): bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11 Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.10 to 0.8.11. - [Release notes](https://github.com/jacoco/jacoco/releases) - [Commits](https://github.com/jacoco/jacoco/compare/v0.8.10...v0.8.11) --- updated-dependencies: - dependency-name: org.jacoco:jacoco-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 033f1027..86e7ebae 100644 --- a/pom.xml +++ b/pom.xml @@ -143,7 +143,7 @@ org.jacoco jacoco-maven-plugin - 0.8.10 + 0.8.11 pre-unit-test From 42a1013b0731e3c09a932bfd576b4bca4239f5f1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 01:14:31 +0000 Subject: [PATCH 08/21] build(deps): bump org.jetbrains.dokka:dokka-maven-plugin Bumps [org.jetbrains.dokka:dokka-maven-plugin](https://github.com/Kotlin/dokka) from 1.9.0 to 1.9.10. - [Release notes](https://github.com/Kotlin/dokka/releases) - [Commits](https://github.com/Kotlin/dokka/compare/v1.9.0...v1.9.10) --- updated-dependencies: - dependency-name: org.jetbrains.dokka:dokka-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 033f1027..9ffb58c0 100644 --- a/pom.xml +++ b/pom.xml @@ -323,7 +323,7 @@ org.jetbrains.dokka dokka-maven-plugin - 1.9.0 + 1.9.10 attach-javadocs From 05a01ce0d1146edc659affc2fddee23ce294b447 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Oct 2023 01:51:41 +0000 Subject: [PATCH 09/21] build(deps): bump spring-boot.version from 3.1.4 to 3.1.5 Bumps `spring-boot.version` from 3.1.4 to 3.1.5. Updates `org.springframework.boot:spring-boot-dependencies` from 3.1.4 to 3.1.5 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.1.4...v3.1.5) Updates `org.springframework.boot:spring-boot-maven-plugin` from 3.1.4 to 3.1.5 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.1.4...v3.1.5) --- updated-dependencies: - dependency-name: org.springframework.boot:spring-boot-dependencies dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.springframework.boot:spring-boot-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ca5a3a82..8fd16253 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 7.20.0 7.20.0-ee - 3.1.4 + 3.1.5 1.22.0 ${camunda.version.ce} From 5f3aa3124ce5b6185c5c12bab52e4bc581ea5aa2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Oct 2023 01:21:56 +0000 Subject: [PATCH 10/21] build(deps): bump org.apache.maven.plugins:maven-failsafe-plugin Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 3.1.2 to 3.2.1. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.2...surefire-3.2.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-failsafe-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8fd16253..a0a7f11c 100644 --- a/pom.xml +++ b/pom.xml @@ -299,7 +299,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.1.2 + 3.2.1 From b6a474ad57f4cf743add09489b3644cad752fc2a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Oct 2023 01:22:23 +0000 Subject: [PATCH 11/21] build(deps): bump org.apache.maven.plugins:maven-surefire-plugin Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.1.2 to 3.2.1. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.2...surefire-3.2.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8fd16253..1d8dfdf1 100644 --- a/pom.xml +++ b/pom.xml @@ -278,7 +278,7 @@ maven-surefire-plugin - 3.1.2 + 3.2.1 false kill From 93573d4fcbda135ba11ec222978aab3befbde538 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 01:58:20 +0000 Subject: [PATCH 12/21] build(deps): bump org.apache.maven.plugins:maven-clean-plugin Bumps [org.apache.maven.plugins:maven-clean-plugin](https://github.com/apache/maven-clean-plugin) from 3.3.1 to 3.3.2. - [Release notes](https://github.com/apache/maven-clean-plugin/releases) - [Commits](https://github.com/apache/maven-clean-plugin/compare/maven-clean-plugin-3.3.1...maven-clean-plugin-3.3.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-clean-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8fd16253..b0c33181 100644 --- a/pom.xml +++ b/pom.xml @@ -136,7 +136,7 @@ org.apache.maven.plugins maven-clean-plugin - 3.3.1 + 3.3.2 From 8587f10e6458185717bf04973af2bff1d03c3692 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Nov 2023 01:36:16 +0000 Subject: [PATCH 13/21] build(deps): bump kotlin.version from 1.9.10 to 1.9.20 Bumps `kotlin.version` from 1.9.10 to 1.9.20. Updates `org.jetbrains.kotlin:kotlin-bom` from 1.9.10 to 1.9.20 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin:kotlin-maven-allopen` from 1.9.10 to 1.9.20 Updates `org.jetbrains.kotlin:kotlin-maven-noarg` from 1.9.10 to 1.9.20 Updates `org.jetbrains.kotlin:kotlin-maven-plugin` from 1.9.10 to 1.9.20 --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-bom dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-maven-allopen dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-maven-noarg dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8fd16253..5e9c7c58 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ 1.22.0 ${camunda.version.ce} - 1.9.10 + 1.9.20 1.3.0 true From 0474b961f6e1859dfd72f4ae19529a3c047edbb3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 01:08:21 +0000 Subject: [PATCH 14/21] build(deps): bump org.apache.maven.plugins:maven-failsafe-plugin Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 3.2.1 to 3.2.2. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.1...surefire-3.2.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-failsafe-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bf415f87..ce24fe0e 100644 --- a/pom.xml +++ b/pom.xml @@ -299,7 +299,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.2.1 + 3.2.2 From f0903397f9b53b454fd589a2dbe0afd2b638ee96 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 01:08:47 +0000 Subject: [PATCH 15/21] build(deps): bump org.apache.maven.plugins:maven-surefire-plugin Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.1 to 3.2.2. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.1...surefire-3.2.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bf415f87..94361e42 100644 --- a/pom.xml +++ b/pom.xml @@ -278,7 +278,7 @@ maven-surefire-plugin - 3.2.1 + 3.2.2 false kill From 6f617f1ab00841ed4c3378bd3086514230549cab Mon Sep 17 00:00:00 2001 From: Simon Zambrovski Date: Tue, 14 Nov 2023 19:52:16 +0100 Subject: [PATCH 16/21] fix pipelines --- .github/release-notes.yml | 2 ++ .github/workflows/docs.yml | 23 ++++++----------------- .github/workflows/master.yml | 20 +++++++++++++------- 3 files changed, 21 insertions(+), 24 deletions(-) diff --git a/.github/release-notes.yml b/.github/release-notes.yml index 4aba396c..aa225fdf 100644 --- a/.github/release-notes.yml +++ b/.github/release-notes.yml @@ -1,5 +1,7 @@ changelog: sections: + - title: ":zap: Breaking Changes" + labels: [ "Type: breaking" ] - title: ":rocket: Enhancements & Features" labels: [ "Type: enhancement", "Type: documentation", "Type: example" ] - title: ":bug: Bug Fixes" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fea10552..815d7823 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,27 +15,16 @@ jobs: uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.9 + cache: pip - name: Upgrade pip run: | # install pip=>20.1 to use "pip cache dir" python3 -m pip install --upgrade pip - - name: Get pip cache dir - id: pip-cache - run: echo "::set-output name=dir::$(pip cache dir)" - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ${{ steps.pip-cache.outputs.dir }} - key: ${{ runner.os }}-pip-${{ hashFiles('./docs/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Install dependencies run: python3 -m pip install -r ./docs/requirements.txt @@ -48,7 +37,7 @@ jobs: GH_USERNAME: ${{ github.actor }} - name: Pre-fetch the gh-pages branch - run: git fetch + run: git fetch --depth=1 - name: Build docs with MkDocs run: mkdocs build @@ -61,13 +50,13 @@ jobs: # This is for a tagged version - name: Create a new version of documentation and push to GH pages. if: startsWith(github.ref, 'refs/tags/') - run: mike deploy ${{ steps.get_tag_name.outputs.TAG_NAME }} stable --push --rebase -u + run: mike deploy ${{ steps.get_tag_name.outputs.TAG_NAME }} stable --push -u - name: Make stable to default. if: startsWith(github.ref, 'refs/tags/') - run: mike set-default stable --push --rebase + run: mike set-default stable --push # This is for develop - name: Deploy latest develop snapshot docs to GH pages. if: github.ref == 'refs/heads/develop' - run: mike deploy snapshot --push --rebase -u + run: mike deploy snapshot --push -u diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 2e6eae24..2024121b 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -23,13 +23,6 @@ jobs: server-username: OSS_CENTRAL_USERNAME # env variable for Maven Central server-password: OSS_CENTRAL_PASSWORD # env variable for Maven Central - # Get GPG private key into GPG - - name: Import GPG Owner Trust - run: echo ${{ secrets.GPG_OWNERTRUST }} | base64 --decode | gpg --import-ownertrust - - - name: Import GPG key - run: echo ${{ secrets.GPG_SECRET_KEYS }} | base64 --decode | gpg --import --no-tty --batch --yes - - name: Prepare mvnw run: chmod +x ./mvnw @@ -39,12 +32,25 @@ jobs: - name: Run integration tests and generate coverage reports run: ./mvnw -Pitest verify failsafe:verify + # Get GPG private key into GPG + - name: Import GPG Owner Trust + run: echo ${{ secrets.GPG_OWNERTRUST }} | base64 --decode | gpg --import-ownertrust + + - name: Import GPG key + run: echo ${{ secrets.GPG_SECRET_KEYS }} | base64 --decode | gpg --import --no-tty --batch --yes + - name: Deploy a new version to central run: ./mvnw clean deploy -B -DskipTests -DskipExamples -Prelease -Dgpg.keyname="${{secrets.GPG_KEYNAME}}" -Dgpg.passphrase="${{secrets.GPG_PASSPHRASE}}" env: OSS_CENTRAL_USERNAME: "${{ secrets.SONATYPE_USERNAME }}" OSS_CENTRAL_PASSWORD: "${{ secrets.SONATYPE_PASSWORD }}" + - name: Upload coverage to Codecov + if: github.event_name == 'push' && github.actor != 'dependabot[bot]' + uses: codecov/codecov-action@v3 + with: + token: ${{secrets.CODECOV_TOKEN}} + - name: Upload test coverage to Codacy if: github.event_name == 'push' && github.actor != 'dependabot[bot]' run: bash <(curl -Ls https://coverage.codacy.com/get.sh) From a6368f60ac5fd5fcacca2f142e76fba1504b5821 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 01:02:44 +0000 Subject: [PATCH 17/21] build(deps): bump org.jetbrains:annotations from 24.0.1 to 24.1.0 Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations) from 24.0.1 to 24.1.0. - [Release notes](https://github.com/JetBrains/java-annotations/releases) - [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/JetBrains/java-annotations/compare/24.0.1...24.1.0) --- updated-dependencies: - dependency-name: org.jetbrains:annotations dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e8371efb..c81bdeee 100644 --- a/pom.xml +++ b/pom.xml @@ -104,7 +104,7 @@ org.jetbrains annotations - 24.0.1 + 24.1.0 From 5c9357d6e4828110a634d2b80f101c4ea2a10654 Mon Sep 17 00:00:00 2001 From: Lars Bilger Date: Mon, 20 Nov 2023 15:38:06 +0100 Subject: [PATCH 18/21] fix: allow nullable variable types in Kotlin. WIP --- .../src/main/kotlin/process/OrderApproval.kt | 2 +- .../src/test/kotlin/itest/CamundaBpmDataITestBase.kt | 2 +- .../holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt | 2 +- .../adapter/basic/ReadAdapterLockedExternalTask.kt | 4 ++-- .../adapter/basic/ReadWriteAdapterCaseService.kt | 6 +++--- .../adapter/basic/ReadWriteAdapterRuntimeService.kt | 6 +++--- .../adapter/basic/ReadWriteAdapterTaskService.kt | 6 +++--- .../adapter/basic/ReadWriteAdapterVariableMap.kt | 4 ++-- .../adapter/basic/ReadWriteAdapterVariableScope.kt | 6 +++--- .../camunda/bpm/data/factory/BasicVariableFactory.kt | 12 ++++++++---- .../camunda/bpm/data/factory/VariableFactory.kt | 3 +++ .../io/holunda/camunda/bpm/data/FluentApiTest.kt | 2 +- 12 files changed, 31 insertions(+), 24 deletions(-) diff --git a/example/example-kotlin/src/main/kotlin/process/OrderApproval.kt b/example/example-kotlin/src/main/kotlin/process/OrderApproval.kt index 3bcae1fb..6b0a3433 100644 --- a/example/example-kotlin/src/main/kotlin/process/OrderApproval.kt +++ b/example/example-kotlin/src/main/kotlin/process/OrderApproval.kt @@ -42,7 +42,7 @@ class OrderApproval { } object Variables { - val ORDER_ID = stringVariable("orderId") + val ORDER_ID = stringVariable("orderId").nonNull val ORDER: VariableFactory = customVariable("order") val ORDER_APPROVED = booleanVariable("orderApproved") val ORDER_POSITION: VariableFactory = customVariable("orderPosition") diff --git a/example/itest/src/test/kotlin/itest/CamundaBpmDataITestBase.kt b/example/itest/src/test/kotlin/itest/CamundaBpmDataITestBase.kt index 1f7d6061..216e64f7 100644 --- a/example/itest/src/test/kotlin/itest/CamundaBpmDataITestBase.kt +++ b/example/itest/src/test/kotlin/itest/CamundaBpmDataITestBase.kt @@ -77,7 +77,7 @@ abstract class CamundaBpmDataITestBase : SpringScenarioTest = stringVariable("String Variable") + val STRING_VAR: VariableFactory = stringVariable("String Variable").nonNull val DATE_VAR: VariableFactory = dateVariable("Date Variable") val SHORT_VAR: VariableFactory = shortVariable("Short Variable") val INT_VAR: VariableFactory = intVariable("Int Variable") diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt index 78414341..67167abb 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt @@ -15,7 +15,7 @@ object CamundaBpmDataKotlin { * * @return variable factory for string. */ - fun stringVariable(variableName: String): VariableFactory = BasicVariableFactory(variableName, String::class.java) + fun stringVariable(variableName: String): VariableFactory = BasicVariableFactory.forType(variableName) /** * Creates a date variable factory. diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadAdapterLockedExternalTask.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadAdapterLockedExternalTask.kt index ebdea13f..b642dd28 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadAdapterLockedExternalTask.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadAdapterLockedExternalTask.kt @@ -9,7 +9,7 @@ import java.util.* * * @param [T] type of value. */ -class ReadAdapterLockedExternalTask( +class ReadAdapterLockedExternalTask( private val lockedExternalTask: LockedExternalTask, variableName: String, clazz: Class @@ -23,7 +23,7 @@ class ReadAdapterLockedExternalTask( getOrNull( value ) - ) + ) as Optional } override fun set(value: T, isTransient: Boolean) { diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterCaseService.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterCaseService.kt index d3dc6c18..189876cf 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterCaseService.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterCaseService.kt @@ -12,7 +12,7 @@ import java.util.* * @param variableName name of the variable. * @param clazz class of the variable. */ -class ReadWriteAdapterCaseService( +class ReadWriteAdapterCaseService( private val caseService: CaseService, private val caseExecutionId: String, variableName: String, @@ -20,7 +20,7 @@ class ReadWriteAdapterCaseService( ) : AbstractBasicReadWriteAdapter(variableName, clazz) { override fun getOptional(): Optional { - return Optional.ofNullable(getOrNull(caseService.getVariable(caseExecutionId, variableName))) + return Optional.ofNullable(getOrNull(caseService.getVariable(caseExecutionId, variableName))) as Optional } override fun set(value: T, isTransient: Boolean) { @@ -28,7 +28,7 @@ class ReadWriteAdapterCaseService( } override fun getLocalOptional(): Optional { - return Optional.ofNullable(getOrNull(caseService.getVariableLocal(caseExecutionId, variableName))) + return Optional.ofNullable(getOrNull(caseService.getVariableLocal(caseExecutionId, variableName))) as Optional } override fun setLocal(value: T, isTransient: Boolean) { diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterRuntimeService.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterRuntimeService.kt index 5f17a126..c3fd603b 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterRuntimeService.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterRuntimeService.kt @@ -12,14 +12,14 @@ import java.util.* * @param variableName name of the variable. * @param clazz class of the variable. */ -class ReadWriteAdapterRuntimeService( +class ReadWriteAdapterRuntimeService( private val runtimeService: RuntimeService, private val executionId: String, variableName: String, clazz: Class ) : AbstractBasicReadWriteAdapter(variableName, clazz) { override fun getOptional(): Optional { - return Optional.ofNullable(getOrNull(runtimeService.getVariable(executionId, variableName))) + return Optional.ofNullable(getOrNull(runtimeService.getVariable(executionId, variableName))) as Optional } override fun set(value: T, isTransient: Boolean) { @@ -27,7 +27,7 @@ class ReadWriteAdapterRuntimeService( } override fun getLocalOptional(): Optional { - return Optional.ofNullable(getOrNull(runtimeService.getVariableLocal(executionId, variableName))) + return Optional.ofNullable(getOrNull(runtimeService.getVariableLocal(executionId, variableName))) as Optional } override fun setLocal(value: T, isTransient: Boolean) { diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterTaskService.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterTaskService.kt index 3956a5d3..aee5199b 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterTaskService.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterTaskService.kt @@ -12,14 +12,14 @@ import java.util.* * @param variableName name of the variable. * @param clazz class of the variable. */ -class ReadWriteAdapterTaskService( +class ReadWriteAdapterTaskService( private val taskService: TaskService, private val taskId: String, variableName: String, clazz: Class ) : AbstractBasicReadWriteAdapter(variableName, clazz) { override fun getOptional(): Optional { - return Optional.ofNullable(getOrNull(taskService.getVariable(taskId, variableName))) + return Optional.ofNullable(getOrNull(taskService.getVariable(taskId, variableName))) as Optional } override fun set(value: T, isTransient: Boolean) { @@ -27,7 +27,7 @@ class ReadWriteAdapterTaskService( } override fun getLocalOptional(): Optional { - return Optional.ofNullable(getOrNull(taskService.getVariableLocal(taskId, variableName))) + return Optional.ofNullable(getOrNull(taskService.getVariableLocal(taskId, variableName))) as Optional } override fun setLocal(value: T, isTransient: Boolean) { diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableMap.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableMap.kt index 1de360b5..3fe42c86 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableMap.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableMap.kt @@ -11,11 +11,11 @@ import java.util.* * @param variableName variable to access. * @param clazz class of variable value. */ -class ReadWriteAdapterVariableMap(private val variableMap: VariableMap, variableName: String, clazz: Class) : +class ReadWriteAdapterVariableMap(private val variableMap: VariableMap, variableName: String, clazz: Class) : AbstractBasicReadWriteAdapter(variableName, clazz) { override fun getOptional(): Optional { - return Optional.ofNullable(getOrNull(variableMap[variableName])) + return Optional.ofNullable(getOrNull(variableMap[variableName])) as Optional } override fun set(value: T, isTransient: Boolean) { diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableScope.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableScope.kt index 41ad85f7..44acf486 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableScope.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableScope.kt @@ -11,7 +11,7 @@ import java.util.* * @param variableName variable to access. * @param clazz class of variable value. */ -class ReadWriteAdapterVariableScope( +class ReadWriteAdapterVariableScope( private val variableScope: VariableScope, variableName: String, clazz: Class @@ -21,7 +21,7 @@ class ReadWriteAdapterVariableScope( } override fun getLocalOptional(): Optional { - return Optional.ofNullable(getOrNull(variableScope.getVariableLocal(variableName))) + return Optional.ofNullable(getOrNull(variableScope.getVariableLocal(variableName))) as Optional } override fun setLocal(value: T, isTransient: Boolean) { @@ -29,7 +29,7 @@ class ReadWriteAdapterVariableScope( } override fun getOptional(): Optional { - return Optional.ofNullable(getOrNull(variableScope.getVariable(variableName))) + return Optional.ofNullable(getOrNull(variableScope.getVariable(variableName))) as Optional } override fun remove() { diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/BasicVariableFactory.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/BasicVariableFactory.kt index 36e3bba0..77728a07 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/BasicVariableFactory.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/BasicVariableFactory.kt @@ -18,11 +18,15 @@ import java.util.* * @param name name of the variable. * @param variableClass class of the type. */ -class BasicVariableFactory( +class BasicVariableFactory( override val name: String, val variableClass: Class ) : VariableFactory { + companion object { + inline fun forType(name: String) = BasicVariableFactory(name, T::class.java) + } + override fun on(variableScope: VariableScope): WriteAdapter { return ReadWriteAdapterVariableScope(variableScope, name, variableClass) } @@ -156,7 +160,7 @@ class BasicVariableFactory( * @param basicVariableFactory variable factory to use. * @param runtimeService task service to build adapter with. */ - class BasicRuntimeServiceAdapterBuilder( + class BasicRuntimeServiceAdapterBuilder( private val basicVariableFactory: BasicVariableFactory, private val runtimeService: RuntimeService ) { @@ -197,7 +201,7 @@ class BasicVariableFactory( * @param basicVariableFactory variable factory to use. * @param taskService task service to build adapter with. */ - class BasicTaskServiceAdapterBuilder(private val basicVariableFactory: BasicVariableFactory, private val taskService: TaskService) { + class BasicTaskServiceAdapterBuilder(private val basicVariableFactory: BasicVariableFactory, private val taskService: TaskService) { private fun readWriteAdapter(taskId: String): ReadWriteAdapterTaskService { return ReadWriteAdapterTaskService( taskService, @@ -235,7 +239,7 @@ class BasicVariableFactory( * @param basicVariableFactory variable factory to use. * @param caseService task service to build adapter with. */ - class BasicCaseServiceAdapterBuilder(private val basicVariableFactory: BasicVariableFactory, private val caseService: CaseService) { + class BasicCaseServiceAdapterBuilder(private val basicVariableFactory: BasicVariableFactory, private val caseService: CaseService) { private fun readWriteAdapter(caseExecutionId: String): ReadWriteAdapterCaseService { return ReadWriteAdapterCaseService( caseService, diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/VariableFactory.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/VariableFactory.kt index 403210f8..87040b6b 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/VariableFactory.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/VariableFactory.kt @@ -15,6 +15,9 @@ import org.camunda.bpm.engine.variable.VariableMap * @param [T] type of the factory. */ interface VariableFactory { + + val nonNull: VariableFactory get()=this as VariableFactory + /** * Creates a write adapter for variable scope. * diff --git a/extension/core/src/test/kotlin/io/holunda/camunda/bpm/data/FluentApiTest.kt b/extension/core/src/test/kotlin/io/holunda/camunda/bpm/data/FluentApiTest.kt index 7525c90e..46c1f083 100644 --- a/extension/core/src/test/kotlin/io/holunda/camunda/bpm/data/FluentApiTest.kt +++ b/extension/core/src/test/kotlin/io/holunda/camunda/bpm/data/FluentApiTest.kt @@ -23,7 +23,7 @@ class FluentApiTest { const val NAME = "myString" const val VALUE = "some random value" const val LOCAL_VALUE = "other local value" - val MY_VAR = stringVariable(NAME) + val MY_VAR = stringVariable(NAME).nonNull } @Test From 6c138ce30f4be5427d43941d94d7685397cb243e Mon Sep 17 00:00:00 2001 From: Simon Zambrovski Date: Mon, 20 Nov 2023 23:10:30 +0100 Subject: [PATCH 19/21] chaning bounds for all types, fix #394 --- .../src/main/kotlin/process/OrderApproval.kt | 2 +- example/example-no-engine/pom.xml | 7 - .../kotlin/itest/CamundaBpmDataITestBase.kt | 12 +- extension/core/pom.xml | 8 - .../camunda/bpm/data/CamundaBpmDataKotlin.kt | 28 +-- .../basic/ReadAdapterLockedExternalTask.kt | 1 + .../basic/ReadWriteAdapterCaseService.kt | 2 + .../basic/ReadWriteAdapterRuntimeService.kt | 2 + .../basic/ReadWriteAdapterTaskService.kt | 2 + .../basic/ReadWriteAdapterVariableMap.kt | 1 + .../basic/ReadWriteAdapterVariableScope.kt | 2 + .../bpm/data/factory/ListVariableFactory.kt | 210 +++++++++--------- .../bpm/data/factory/MapVariableFactory.kt | 4 + .../bpm/data/factory/SetVariableFactory.kt | 4 + .../bpm/data/factory/VariableFactory.kt | 3 +- .../holunda/camunda/bpm/data/acl/ACLTest.kt | 6 +- 16 files changed, 151 insertions(+), 143 deletions(-) diff --git a/example/example-kotlin/src/main/kotlin/process/OrderApproval.kt b/example/example-kotlin/src/main/kotlin/process/OrderApproval.kt index 6b0a3433..a0942504 100644 --- a/example/example-kotlin/src/main/kotlin/process/OrderApproval.kt +++ b/example/example-kotlin/src/main/kotlin/process/OrderApproval.kt @@ -43,8 +43,8 @@ class OrderApproval { object Variables { val ORDER_ID = stringVariable("orderId").nonNull + val ORDER_APPROVED = booleanVariable("orderApproved").nonNull val ORDER: VariableFactory = customVariable("order") - val ORDER_APPROVED = booleanVariable("orderApproved") val ORDER_POSITION: VariableFactory = customVariable("orderPosition") val ORDER_TOTAL: VariableFactory = customVariable("orderTotal") } diff --git a/example/example-no-engine/pom.xml b/example/example-no-engine/pom.xml index 04ee6f36..f61134f7 100644 --- a/example/example-no-engine/pom.xml +++ b/example/example-no-engine/pom.xml @@ -20,13 +20,6 @@ io.holunda.data camunda-bpm-data - - - - org.camunda.bpm - camunda-engine - - diff --git a/example/itest/src/test/kotlin/itest/CamundaBpmDataITestBase.kt b/example/itest/src/test/kotlin/itest/CamundaBpmDataITestBase.kt index 216e64f7..7f5d1696 100644 --- a/example/itest/src/test/kotlin/itest/CamundaBpmDataITestBase.kt +++ b/example/itest/src/test/kotlin/itest/CamundaBpmDataITestBase.kt @@ -78,12 +78,12 @@ abstract class CamundaBpmDataITestBase : SpringScenarioTest = stringVariable("String Variable").nonNull - val DATE_VAR: VariableFactory = dateVariable("Date Variable") - val SHORT_VAR: VariableFactory = shortVariable("Short Variable") - val INT_VAR: VariableFactory = intVariable("Int Variable") - val LONG_VAR: VariableFactory = longVariable("Long Variable") - val DOUBLE_VAR: VariableFactory = doubleVariable("Double Variable") - val BOOLEAN_VAR: VariableFactory = booleanVariable("Boolean Variable") + val DATE_VAR: VariableFactory = dateVariable("Date Variable").nonNull + val SHORT_VAR: VariableFactory = shortVariable("Short Variable").nonNull + val INT_VAR: VariableFactory = intVariable("Int Variable").nonNull + val LONG_VAR: VariableFactory = longVariable("Long Variable").nonNull + val DOUBLE_VAR: VariableFactory = doubleVariable("Double Variable").nonNull + val BOOLEAN_VAR: VariableFactory = booleanVariable("Boolean Variable").nonNull val COMPLEX_VAR: VariableFactory = customVariable("Complex Variable") val LIST_STRING_VAR: VariableFactory> = listVariable("List Of String Variable") val SET_STRING_VAR: VariableFactory> = setVariable("Set Of String Variable") diff --git a/extension/core/pom.xml b/extension/core/pom.xml index 6c5036aa..3b09e0bd 100644 --- a/extension/core/pom.xml +++ b/extension/core/pom.xml @@ -20,14 +20,6 @@ - - org.jetbrains.kotlin diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt index 67167abb..091e6e12 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt @@ -24,7 +24,7 @@ object CamundaBpmDataKotlin { * * @return variable factory for date. */ - fun dateVariable(variableName: String): VariableFactory = BasicVariableFactory(variableName, Date::class.java) + fun dateVariable(variableName: String): VariableFactory = BasicVariableFactory.forType(variableName) /** * Creates an integer variable factory. @@ -33,7 +33,7 @@ object CamundaBpmDataKotlin { * * @return variable factory for integer. */ - fun intVariable(variableName: String): VariableFactory = BasicVariableFactory(variableName, Int::class.java) + fun intVariable(variableName: String): VariableFactory = BasicVariableFactory.forType(variableName) /** * Creates a long variable factory. @@ -42,7 +42,7 @@ object CamundaBpmDataKotlin { * * @return variable factory for long. */ - fun longVariable(variableName: String): VariableFactory = BasicVariableFactory(variableName, Long::class.java) + fun longVariable(variableName: String): VariableFactory = BasicVariableFactory.forType(variableName) /** * Creates a short variable factory. @@ -51,7 +51,7 @@ object CamundaBpmDataKotlin { * * @return variable factory for short. */ - fun shortVariable(variableName: String): VariableFactory = BasicVariableFactory(variableName, Short::class.java) + fun shortVariable(variableName: String): VariableFactory = BasicVariableFactory.forType(variableName) /** * Creates a double variable factory. @@ -60,7 +60,7 @@ object CamundaBpmDataKotlin { * * @return variable factory for double. */ - fun doubleVariable(variableName: String): VariableFactory = BasicVariableFactory(variableName, Double::class.java) + fun doubleVariable(variableName: String): VariableFactory = BasicVariableFactory.forType(variableName) /** * Creates a boolean variable factory. @@ -69,7 +69,7 @@ object CamundaBpmDataKotlin { * * @return variable factory for boolean. */ - fun booleanVariable(variableName: String): VariableFactory = BasicVariableFactory(variableName, Boolean::class.java) + fun booleanVariable(variableName: String): VariableFactory = BasicVariableFactory.forType(variableName) /** * Creates an uuid variable factory. @@ -77,7 +77,7 @@ object CamundaBpmDataKotlin { * @param variableName name of the variable. * @return variable factory for uuid. */ - fun uuidVariable(variableName: String): VariableFactory = BasicVariableFactory(variableName, UUID::class.java) + fun uuidVariable(variableName: String): VariableFactory = BasicVariableFactory.forType(variableName) /** * Reified version of the basic variable factory. @@ -85,7 +85,7 @@ object CamundaBpmDataKotlin { * @param T The type of the variable. * @return instance of [VariableFactory] */ - inline fun customVariable(name: String): VariableFactory = BasicVariableFactory(name, T::class.java) + inline fun customVariable(name: String): VariableFactory = BasicVariableFactory.forType(name) /** * Reified version of list variable factory. @@ -93,7 +93,7 @@ object CamundaBpmDataKotlin { * @param T The type of the variable. * @return instance of [VariableFactory] */ - inline fun listVariable(name: String): VariableFactory> = ListVariableFactory(name, T::class.java) + inline fun listVariable(name: String): VariableFactory> = ListVariableFactory.forType(name) /** * Reified version of list variable factory. @@ -101,7 +101,7 @@ object CamundaBpmDataKotlin { * @param T The type of the variable. * @return instance of [VariableFactory] */ - inline fun listVariableNotNull(name: String): VariableFactory> = ListVariableFactory(name, T::class.java) + inline fun listVariableNotNull(name: String): VariableFactory> = ListVariableFactory.forType(name) /** * Reified version of set variable factory. @@ -110,7 +110,7 @@ object CamundaBpmDataKotlin { * @param wrap a boolean flag controlling if the serializer should wrap a list into a wrapper object. Set this flag to true, if you use complex types as T. * @return instance of [VariableFactory] */ - inline fun setVariable(name: String): VariableFactory> = SetVariableFactory(name, T::class.java) + inline fun setVariable(name: String): VariableFactory> = SetVariableFactory.forType(name) /** * Reified version of set variable factory. @@ -119,7 +119,7 @@ object CamundaBpmDataKotlin { * @param wrap a boolean flag controlling if the serializer should wrap a list into a wrapper object. Set this flag to true, if you use complex types as T. * @return instance of [VariableFactory] */ - inline fun setVariableNotNull(name: String): VariableFactory> = SetVariableFactory(name, T::class.java) + inline fun setVariableNotNull(name: String): VariableFactory> = SetVariableFactory.forType(name) /** * Reified version of map variable factory. @@ -128,7 +128,7 @@ object CamundaBpmDataKotlin { * @param V The type of the variable value. * @return instance of [VariableFactory] */ - inline fun mapVariable(name: String): VariableFactory> = MapVariableFactory(name, K::class.java, V::class.java) + inline fun mapVariable(name: String): VariableFactory> = MapVariableFactory.forType(name) /** * Reified version of map variable factory. @@ -137,6 +137,6 @@ object CamundaBpmDataKotlin { * @param V The type of the variable value. * @return instance of [VariableFactory] */ - inline fun mapVariableNotNullable(name: String): VariableFactory> = MapVariableFactory(name, K::class.java, V::class.java) + inline fun mapVariableNotNullable(name: String): VariableFactory> = MapVariableFactory.forType(name) } diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadAdapterLockedExternalTask.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadAdapterLockedExternalTask.kt index b642dd28..3ed0627d 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadAdapterLockedExternalTask.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadAdapterLockedExternalTask.kt @@ -19,6 +19,7 @@ class ReadAdapterLockedExternalTask( .orElse(Variables.createVariables())[variableName] override fun getOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable( getOrNull( value diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterCaseService.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterCaseService.kt index 189876cf..90912699 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterCaseService.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterCaseService.kt @@ -20,6 +20,7 @@ class ReadWriteAdapterCaseService( ) : AbstractBasicReadWriteAdapter(variableName, clazz) { override fun getOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable(getOrNull(caseService.getVariable(caseExecutionId, variableName))) as Optional } @@ -28,6 +29,7 @@ class ReadWriteAdapterCaseService( } override fun getLocalOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable(getOrNull(caseService.getVariableLocal(caseExecutionId, variableName))) as Optional } diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterRuntimeService.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterRuntimeService.kt index c3fd603b..c145ccd2 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterRuntimeService.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterRuntimeService.kt @@ -19,6 +19,7 @@ class ReadWriteAdapterRuntimeService( clazz: Class ) : AbstractBasicReadWriteAdapter(variableName, clazz) { override fun getOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable(getOrNull(runtimeService.getVariable(executionId, variableName))) as Optional } @@ -27,6 +28,7 @@ class ReadWriteAdapterRuntimeService( } override fun getLocalOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable(getOrNull(runtimeService.getVariableLocal(executionId, variableName))) as Optional } diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterTaskService.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterTaskService.kt index aee5199b..1ac3dad1 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterTaskService.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterTaskService.kt @@ -19,6 +19,7 @@ class ReadWriteAdapterTaskService( clazz: Class ) : AbstractBasicReadWriteAdapter(variableName, clazz) { override fun getOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable(getOrNull(taskService.getVariable(taskId, variableName))) as Optional } @@ -27,6 +28,7 @@ class ReadWriteAdapterTaskService( } override fun getLocalOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable(getOrNull(taskService.getVariableLocal(taskId, variableName))) as Optional } diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableMap.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableMap.kt index 3fe42c86..c10ea2a8 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableMap.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableMap.kt @@ -15,6 +15,7 @@ class ReadWriteAdapterVariableMap(private val variableMap: VariableMap AbstractBasicReadWriteAdapter(variableName, clazz) { override fun getOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable(getOrNull(variableMap[variableName])) as Optional } diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableScope.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableScope.kt index 44acf486..3d6c4f26 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableScope.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableScope.kt @@ -21,6 +21,7 @@ class ReadWriteAdapterVariableScope( } override fun getLocalOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable(getOrNull(variableScope.getVariableLocal(variableName))) as Optional } @@ -29,6 +30,7 @@ class ReadWriteAdapterVariableScope( } override fun getOptional(): Optional { + @Suppress("UNCHECKED_CAST") return Optional.ofNullable(getOrNull(variableScope.getVariable(variableName))) as Optional } diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/ListVariableFactory.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/ListVariableFactory.kt index 9837354e..4c6b3a3b 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/ListVariableFactory.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/ListVariableFactory.kt @@ -18,107 +18,111 @@ import java.util.* */ class ListVariableFactory(override val name: String, val memberClass: Class) : VariableFactory> { - override fun on(variableScope: VariableScope): WriteAdapter> { - return ListReadWriteAdapterVariableScope( - variableScope, - name, - memberClass - ) - } - - override fun from(variableScope: VariableScope): ReadAdapter> { - return ListReadWriteAdapterVariableScope( - variableScope, - name, - memberClass - ) - } - - override fun on(variableMap: VariableMap): WriteAdapter> { - return ListReadWriteAdapterVariableMap(variableMap, name, memberClass) - } - - override fun from(variableMap: VariableMap): ReadAdapter> { - return ListReadWriteAdapterVariableMap(variableMap, name, memberClass) - } - - override fun on(runtimeService: RuntimeService, executionId: String): WriteAdapter> { - return ListReadWriteAdapterRuntimeService( - runtimeService, - executionId, - name, - memberClass - ) - } - - override fun from(runtimeService: RuntimeService, executionId: String): ReadAdapter> { - return ListReadWriteAdapterRuntimeService( - runtimeService, - executionId, - name, - memberClass - ) - } - - override fun on(taskService: TaskService, taskId: String): WriteAdapter> { - return ListReadWriteAdapterTaskService( - taskService, - taskId, - name, - memberClass - ) - } - - override fun from(taskService: TaskService, taskId: String): ReadAdapter> { - return ListReadWriteAdapterTaskService( - taskService, - taskId, - name, - memberClass - ) - } - - override fun on(caseService: CaseService, caseExecutionId: String): WriteAdapter> { - return ListReadWriteAdapterCaseService( - caseService, - caseExecutionId, - name, - memberClass - ) - } - - override fun from(caseService: CaseService, caseExecutionId: String): ReadAdapter> { - return ListReadWriteAdapterCaseService( - caseService, - caseExecutionId, - name, - memberClass - ) - } - - override fun from(lockedExternalTask: LockedExternalTask): ReadAdapter> { - return ListReadAdapterLockedExternalTask( - lockedExternalTask, - name, - memberClass - ) - } - - override fun equals(other: Any?): Boolean { - if (this === other) return true - if (other == null || javaClass != other.javaClass) return false - val that = other as ListVariableFactory<*> - return name == that.name && memberClass == that.memberClass - } - - override fun hashCode(): Int { - return Objects.hash(name, memberClass) - } - - override fun toString(): String { - return "ListVariableFactory{" + - "name='" + name + '\'' + - ", memberClazz=" + memberClass + - '}' - } + companion object { + inline fun forType(name: String) = ListVariableFactory(name, T::class.java) + } + + override fun on(variableScope: VariableScope): WriteAdapter> { + return ListReadWriteAdapterVariableScope( + variableScope, + name, + memberClass + ) + } + + override fun from(variableScope: VariableScope): ReadAdapter> { + return ListReadWriteAdapterVariableScope( + variableScope, + name, + memberClass + ) + } + + override fun on(variableMap: VariableMap): WriteAdapter> { + return ListReadWriteAdapterVariableMap(variableMap, name, memberClass) + } + + override fun from(variableMap: VariableMap): ReadAdapter> { + return ListReadWriteAdapterVariableMap(variableMap, name, memberClass) + } + + override fun on(runtimeService: RuntimeService, executionId: String): WriteAdapter> { + return ListReadWriteAdapterRuntimeService( + runtimeService, + executionId, + name, + memberClass + ) + } + + override fun from(runtimeService: RuntimeService, executionId: String): ReadAdapter> { + return ListReadWriteAdapterRuntimeService( + runtimeService, + executionId, + name, + memberClass + ) + } + + override fun on(taskService: TaskService, taskId: String): WriteAdapter> { + return ListReadWriteAdapterTaskService( + taskService, + taskId, + name, + memberClass + ) + } + + override fun from(taskService: TaskService, taskId: String): ReadAdapter> { + return ListReadWriteAdapterTaskService( + taskService, + taskId, + name, + memberClass + ) + } + + override fun on(caseService: CaseService, caseExecutionId: String): WriteAdapter> { + return ListReadWriteAdapterCaseService( + caseService, + caseExecutionId, + name, + memberClass + ) + } + + override fun from(caseService: CaseService, caseExecutionId: String): ReadAdapter> { + return ListReadWriteAdapterCaseService( + caseService, + caseExecutionId, + name, + memberClass + ) + } + + override fun from(lockedExternalTask: LockedExternalTask): ReadAdapter> { + return ListReadAdapterLockedExternalTask( + lockedExternalTask, + name, + memberClass + ) + } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || javaClass != other.javaClass) return false + val that = other as ListVariableFactory<*> + return name == that.name && memberClass == that.memberClass + } + + override fun hashCode(): Int { + return Objects.hash(name, memberClass) + } + + override fun toString(): String { + return "ListVariableFactory{" + + "name='" + name + '\'' + + ", memberClazz=" + memberClass + + '}' + } } diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/MapVariableFactory.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/MapVariableFactory.kt index 5aebad68..156f57bf 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/MapVariableFactory.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/MapVariableFactory.kt @@ -23,6 +23,10 @@ class MapVariableFactory( val valueClass: Class ) : VariableFactory> { + companion object { + inline fun forType(name: String) = MapVariableFactory(name, K::class.java, V::class.java) + } + override fun on(variableScope: VariableScope): WriteAdapter> { return MapReadWriteAdapterVariableScope( variableScope, diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/SetVariableFactory.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/SetVariableFactory.kt index a338d8ed..eb3d5a71 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/SetVariableFactory.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/SetVariableFactory.kt @@ -18,6 +18,10 @@ import java.util.* */ class SetVariableFactory(override val name: String, val memberClass: Class) : VariableFactory> { + companion object { + inline fun forType(name: String) = SetVariableFactory(name, T::class.java) + } + override fun on(variableScope: VariableScope): WriteAdapter> { return SetReadWriteAdapterVariableScope(variableScope, name, memberClass) } diff --git a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/VariableFactory.kt b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/VariableFactory.kt index 87040b6b..9551cbd4 100644 --- a/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/VariableFactory.kt +++ b/extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/factory/VariableFactory.kt @@ -16,7 +16,8 @@ import org.camunda.bpm.engine.variable.VariableMap */ interface VariableFactory { - val nonNull: VariableFactory get()=this as VariableFactory + @Suppress("UNCHECKED_CAST") + val nonNull: VariableFactory get() = this as VariableFactory /** * Creates a write adapter for variable scope. diff --git a/extension/core/src/test/kotlin/io/holunda/camunda/bpm/data/acl/ACLTest.kt b/extension/core/src/test/kotlin/io/holunda/camunda/bpm/data/acl/ACLTest.kt index 52c9a363..f0856c78 100644 --- a/extension/core/src/test/kotlin/io/holunda/camunda/bpm/data/acl/ACLTest.kt +++ b/extension/core/src/test/kotlin/io/holunda/camunda/bpm/data/acl/ACLTest.kt @@ -103,9 +103,9 @@ class TransientVariableMappingListenerTest { companion object { - private val FOO = CamundaBpmDataKotlin.stringVariable("foo") - private val BAZ = CamundaBpmDataKotlin.longVariable("baz") - private val BAZ_INTERNAL = CamundaBpmDataKotlin.longVariable("baz__int") + private val FOO = CamundaBpmDataKotlin.stringVariable("foo").nonNull + private val BAZ = CamundaBpmDataKotlin.longVariable("baz").nonNull + private val BAZ_INTERNAL = CamundaBpmDataKotlin.longVariable("baz__int").nonNull private val ACL_LR = CamundaBpmDataMapper.identityReplace("transient", true) From 333b49d5413c9d64c86da0286547eb7a2288e3fb Mon Sep 17 00:00:00 2001 From: Simon Zambrovski Date: Thu, 23 Nov 2023 10:04:08 +0100 Subject: [PATCH 20/21] Update versions for release --- example/coverage-report-aggregator/pom.xml | 2 +- example/example-java/pom.xml | 2 +- example/example-kotlin/pom.xml | 2 +- example/example-no-engine/pom.xml | 2 +- example/itest/pom.xml | 2 +- example/pom.xml | 2 +- example/spin-type-detector/pom.xml | 2 +- extension/core/pom.xml | 2 +- pom.xml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/example/coverage-report-aggregator/pom.xml b/example/coverage-report-aggregator/pom.xml index c1fed116..51290fae 100644 --- a/example/coverage-report-aggregator/pom.xml +++ b/example/coverage-report-aggregator/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.1-SNAPSHOT + 1.5.0-SNAPSHOT camunda-bpm-data-coverage-report diff --git a/example/example-java/pom.xml b/example/example-java/pom.xml index dade12a1..fac560b6 100644 --- a/example/example-java/pom.xml +++ b/example/example-java/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.1-SNAPSHOT + 1.5.0-SNAPSHOT camunda-bpm-data-example-java diff --git a/example/example-kotlin/pom.xml b/example/example-kotlin/pom.xml index 5aaee23d..faa3829a 100644 --- a/example/example-kotlin/pom.xml +++ b/example/example-kotlin/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.1-SNAPSHOT + 1.5.0-SNAPSHOT camunda-bpm-data-example-kotlin diff --git a/example/example-no-engine/pom.xml b/example/example-no-engine/pom.xml index f61134f7..785aceb5 100644 --- a/example/example-no-engine/pom.xml +++ b/example/example-no-engine/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.1-SNAPSHOT + 1.5.0-SNAPSHOT camunda-bpm-data-example-no-engine diff --git a/example/itest/pom.xml b/example/itest/pom.xml index e09674f5..46476444 100644 --- a/example/itest/pom.xml +++ b/example/itest/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.1-SNAPSHOT + 1.5.0-SNAPSHOT camunda-bpm-data-integration-test diff --git a/example/pom.xml b/example/pom.xml index 5dd06f24..45956f20 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -6,7 +6,7 @@ io.holunda.data camunda-bpm-data-parent - 1.4.1-SNAPSHOT + 1.5.0-SNAPSHOT io.holunda.data.example diff --git a/example/spin-type-detector/pom.xml b/example/spin-type-detector/pom.xml index 2e7fb7f6..d30a095c 100644 --- a/example/spin-type-detector/pom.xml +++ b/example/spin-type-detector/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.4.1-SNAPSHOT + 1.5.0-SNAPSHOT camunda-bpm-data-spin-type-detector diff --git a/extension/core/pom.xml b/extension/core/pom.xml index 3b09e0bd..1a8eee41 100644 --- a/extension/core/pom.xml +++ b/extension/core/pom.xml @@ -6,7 +6,7 @@ io.holunda.data camunda-bpm-data-parent - 1.4.1-SNAPSHOT + 1.5.0-SNAPSHOT ../../pom.xml diff --git a/pom.xml b/pom.xml index c81bdeee..a635e27f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.holunda.data camunda-bpm-data-parent - 1.4.1-SNAPSHOT + 1.5.0-SNAPSHOT ${project.artifactId} Camunda BPM Data https://github.com/holunda-io/camunda-bpm-data/ From 7e568820c856b2bed14f8ae17ab388ae7aabee56 Mon Sep 17 00:00:00 2001 From: Simon Zambrovski Date: Thu, 23 Nov 2023 10:07:33 +0100 Subject: [PATCH 21/21] Update for next development version --- example/coverage-report-aggregator/pom.xml | 2 +- example/example-java/pom.xml | 2 +- example/example-kotlin/pom.xml | 2 +- example/example-no-engine/pom.xml | 2 +- example/itest/pom.xml | 2 +- example/pom.xml | 2 +- example/spin-type-detector/pom.xml | 2 +- extension/core/pom.xml | 2 +- pom.xml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/example/coverage-report-aggregator/pom.xml b/example/coverage-report-aggregator/pom.xml index 51290fae..fff2d3ff 100644 --- a/example/coverage-report-aggregator/pom.xml +++ b/example/coverage-report-aggregator/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.5.0-SNAPSHOT + 1.5.0 camunda-bpm-data-coverage-report diff --git a/example/example-java/pom.xml b/example/example-java/pom.xml index fac560b6..7affad5d 100644 --- a/example/example-java/pom.xml +++ b/example/example-java/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.5.0-SNAPSHOT + 1.5.0 camunda-bpm-data-example-java diff --git a/example/example-kotlin/pom.xml b/example/example-kotlin/pom.xml index faa3829a..451b7a4e 100644 --- a/example/example-kotlin/pom.xml +++ b/example/example-kotlin/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.5.0-SNAPSHOT + 1.5.0 camunda-bpm-data-example-kotlin diff --git a/example/example-no-engine/pom.xml b/example/example-no-engine/pom.xml index 785aceb5..6f7fc14c 100644 --- a/example/example-no-engine/pom.xml +++ b/example/example-no-engine/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.5.0-SNAPSHOT + 1.5.0 camunda-bpm-data-example-no-engine diff --git a/example/itest/pom.xml b/example/itest/pom.xml index 46476444..9fbc2da9 100644 --- a/example/itest/pom.xml +++ b/example/itest/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.5.0-SNAPSHOT + 1.5.0 camunda-bpm-data-integration-test diff --git a/example/pom.xml b/example/pom.xml index 45956f20..e449fa2f 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -6,7 +6,7 @@ io.holunda.data camunda-bpm-data-parent - 1.5.0-SNAPSHOT + 1.5.0 io.holunda.data.example diff --git a/example/spin-type-detector/pom.xml b/example/spin-type-detector/pom.xml index d30a095c..67f39b9f 100644 --- a/example/spin-type-detector/pom.xml +++ b/example/spin-type-detector/pom.xml @@ -6,7 +6,7 @@ io.holunda.data.example camunda-bpm-data-example-parent - 1.5.0-SNAPSHOT + 1.5.0 camunda-bpm-data-spin-type-detector diff --git a/extension/core/pom.xml b/extension/core/pom.xml index 1a8eee41..f54ecf52 100644 --- a/extension/core/pom.xml +++ b/extension/core/pom.xml @@ -6,7 +6,7 @@ io.holunda.data camunda-bpm-data-parent - 1.5.0-SNAPSHOT + 1.5.0 ../../pom.xml diff --git a/pom.xml b/pom.xml index a635e27f..e75a8739 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.holunda.data camunda-bpm-data-parent - 1.5.0-SNAPSHOT + 1.5.0 ${project.artifactId} Camunda BPM Data https://github.com/holunda-io/camunda-bpm-data/