From a1221800600be7ab587365efabc3e9e1f14925c6 Mon Sep 17 00:00:00 2001 From: Gabriele Cardosi Date: Mon, 2 Dec 2024 14:18:56 +0100 Subject: [PATCH] [incubator-kie-issues#1460] Adapting springboot examples for new kogito-maven-plugin implementation (#2032) * [incubator-kie-issues#1460] Adapting springboot examples for new kogito-maven-plugin implementation * [incubator-kie-issues#1609] Fix newly added springboot examples --------- Co-authored-by: Gabriele-Cardosi --- .../decisiontable-springboot-example/pom.xml | 9 ++++- .../dmn-15-springboot-example/pom.xml | 9 ++++- .../dmn-drools-springboot-metrics/pom.xml | 9 ++++- .../dmn-event-driven-springboot/pom.xml | 9 ++++- .../dmn-listener-springboot/pom.xml | 9 ++++- .../dmn-pmml-springboot-example/pom.xml | 9 ++++- .../dmn-springboot-consumer-example/pom.xml | 9 ++++- .../KogitoScenarioJunitActivatorTest.java | 37 ++++++++++--------- .../dmn-springboot-example/pom.xml | 9 ++++- .../dmn-tracing-springboot/pom.xml | 9 ++++- .../flexible-process-springboot/pom.xml | 9 ++++- .../onboarding-springboot/pom.xml | 9 ++++- .../pmml-event-driven-springboot/pom.xml | 9 ++++- .../pmml-springboot-example/pom.xml | 9 ++++- .../process-business-rules-springboot/pom.xml | 9 ++++- .../process-decisions-rest-springboot/pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../process-decisions-springboot/pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../process-kafka-multi-springboot/pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../process-monitoring-springboot/pom.xml | 9 ++++- .../process-outbox-mongodb-springboot/pom.xml | 9 ++++- .../process-performance-springboot/pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../process-scripts-springboot/pom.xml | 9 ++++- .../process-service-calls-springboot/pom.xml | 9 ++++- .../process-springboot-example/pom.xml | 9 ++++- .../process-timer-springboot/pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../process-usertasks-springboot/pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../pom.xml | 9 ++++- .../rules-legacy-springboot-example/pom.xml | 9 ++++- .../ruleunit-event-driven-springboot/pom.xml | 9 ++++- .../ruleunit-springboot-example/pom.xml | 9 ++++- 39 files changed, 323 insertions(+), 56 deletions(-) diff --git a/kogito-springboot-examples/decisiontable-springboot-example/pom.xml b/kogito-springboot-examples/decisiontable-springboot-example/pom.xml index 8c712c0013..6c8c460190 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/pom.xml +++ b/kogito-springboot-examples/decisiontable-springboot-example/pom.xml @@ -76,7 +76,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/dmn-15-springboot-example/pom.xml b/kogito-springboot-examples/dmn-15-springboot-example/pom.xml index 274e46a62d..3722d24a9e 100644 --- a/kogito-springboot-examples/dmn-15-springboot-example/pom.xml +++ b/kogito-springboot-examples/dmn-15-springboot-example/pom.xml @@ -125,7 +125,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml b/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml index f696d327b7..788e634bb8 100755 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml @@ -104,7 +104,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml b/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml index 8af19b7539..6229cd158e 100644 --- a/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml +++ b/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml @@ -100,7 +100,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/dmn-listener-springboot/pom.xml b/kogito-springboot-examples/dmn-listener-springboot/pom.xml index da3397efec..5af0c9706a 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/pom.xml +++ b/kogito-springboot-examples/dmn-listener-springboot/pom.xml @@ -79,7 +79,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml b/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml index 1b47ef23c9..45cfe3242d 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml @@ -95,7 +95,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/dmn-resource-jar-springboot-example/dmn-springboot-consumer-example/pom.xml b/kogito-springboot-examples/dmn-resource-jar-springboot-example/dmn-springboot-consumer-example/pom.xml index b44afe69e9..bf4b008548 100644 --- a/kogito-springboot-examples/dmn-resource-jar-springboot-example/dmn-springboot-consumer-example/pom.xml +++ b/kogito-springboot-examples/dmn-resource-jar-springboot-example/dmn-springboot-consumer-example/pom.xml @@ -103,7 +103,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/dmn-resource-jar-springboot-example/dmn-springboot-consumer-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java b/kogito-springboot-examples/dmn-resource-jar-springboot-example/dmn-springboot-consumer-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java index 7e2f83f2ec..4b19a12015 100644 --- a/kogito-springboot-examples/dmn-resource-jar-springboot-example/dmn-springboot-consumer-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java +++ b/kogito-springboot-examples/dmn-resource-jar-springboot-example/dmn-springboot-consumer-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java @@ -1,21 +1,22 @@ -package testscenario;/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package testscenario; /** * KogitoJunitActivator is a custom JUnit runner that enables the execution of Test Scenario files (*.scesim). diff --git a/kogito-springboot-examples/dmn-springboot-example/pom.xml b/kogito-springboot-examples/dmn-springboot-example/pom.xml index f42eb86e67..d396fb4df3 100644 --- a/kogito-springboot-examples/dmn-springboot-example/pom.xml +++ b/kogito-springboot-examples/dmn-springboot-example/pom.xml @@ -84,7 +84,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml index c6cb6c754c..6842c9eb19 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml +++ b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml @@ -95,7 +95,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/flexible-process-springboot/pom.xml b/kogito-springboot-examples/flexible-process-springboot/pom.xml index 3da05ac205..524da7132a 100644 --- a/kogito-springboot-examples/flexible-process-springboot/pom.xml +++ b/kogito-springboot-examples/flexible-process-springboot/pom.xml @@ -94,7 +94,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/onboarding-springboot/pom.xml b/kogito-springboot-examples/onboarding-springboot/pom.xml index 14ae22674a..3f5a3bf2c5 100644 --- a/kogito-springboot-examples/onboarding-springboot/pom.xml +++ b/kogito-springboot-examples/onboarding-springboot/pom.xml @@ -102,7 +102,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml b/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml index 3f8d5163d7..04d2c296a8 100644 --- a/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml +++ b/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml @@ -90,7 +90,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/pmml-springboot-example/pom.xml b/kogito-springboot-examples/pmml-springboot-example/pom.xml index 4c037773aa..b95fb04bc7 100644 --- a/kogito-springboot-examples/pmml-springboot-example/pom.xml +++ b/kogito-springboot-examples/pmml-springboot-example/pom.xml @@ -84,7 +84,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/process-business-rules-springboot/pom.xml b/kogito-springboot-examples/process-business-rules-springboot/pom.xml index eab978f2d7..68ea19e2ec 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/pom.xml +++ b/kogito-springboot-examples/process-business-rules-springboot/pom.xml @@ -92,7 +92,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml b/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml index 757640cc02..eb9f8ef55e 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml +++ b/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml @@ -101,7 +101,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.apache.maven.plugins diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml b/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml index 916d17e4df..5bfd126f40 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml +++ b/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml @@ -96,7 +96,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.apache.maven.plugins diff --git a/kogito-springboot-examples/process-decisions-springboot/pom.xml b/kogito-springboot-examples/process-decisions-springboot/pom.xml index cfce235bf7..e647e9bed1 100644 --- a/kogito-springboot-examples/process-decisions-springboot/pom.xml +++ b/kogito-springboot-examples/process-decisions-springboot/pom.xml @@ -96,7 +96,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.apache.maven.plugins diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml b/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml index 8bdb6faa44..0aabbdfc65 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml @@ -119,7 +119,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml index b19e6f4227..29b53f1f1a 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml +++ b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml @@ -114,7 +114,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml index 96b266c079..414231c69f 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml @@ -115,7 +115,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml b/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml index 7254b0f4fd..a721e9550a 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml @@ -114,7 +114,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-monitoring-springboot/pom.xml b/kogito-springboot-examples/process-monitoring-springboot/pom.xml index 9c811e618b..99f30edf6c 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/pom.xml +++ b/kogito-springboot-examples/process-monitoring-springboot/pom.xml @@ -93,7 +93,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml b/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml index bb8aacbd91..0ac6266463 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml @@ -113,7 +113,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/process-performance-springboot/pom.xml b/kogito-springboot-examples/process-performance-springboot/pom.xml index 78d1619f5d..8b12b48e8f 100755 --- a/kogito-springboot-examples/process-performance-springboot/pom.xml +++ b/kogito-springboot-examples/process-performance-springboot/pom.xml @@ -131,7 +131,14 @@ https://repo.maven.apache.org/maven2: Did not attempt to download because of a p org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml b/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml index 609187c4eb..ebf1376af8 100644 --- a/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml +++ b/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml @@ -116,7 +116,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml b/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml index 83d769ede8..0c093bf83e 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml +++ b/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml @@ -87,7 +87,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-scripts-springboot/pom.xml b/kogito-springboot-examples/process-scripts-springboot/pom.xml index fbfeb1b245..3e92565f42 100644 --- a/kogito-springboot-examples/process-scripts-springboot/pom.xml +++ b/kogito-springboot-examples/process-scripts-springboot/pom.xml @@ -87,7 +87,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-service-calls-springboot/pom.xml b/kogito-springboot-examples/process-service-calls-springboot/pom.xml index e2d2dc5be5..c2606d10e2 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/pom.xml +++ b/kogito-springboot-examples/process-service-calls-springboot/pom.xml @@ -87,7 +87,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-springboot-example/pom.xml b/kogito-springboot-examples/process-springboot-example/pom.xml index 8819269eb5..581696ecd0 100644 --- a/kogito-springboot-examples/process-springboot-example/pom.xml +++ b/kogito-springboot-examples/process-springboot-example/pom.xml @@ -106,7 +106,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/process-timer-springboot/pom.xml b/kogito-springboot-examples/process-timer-springboot/pom.xml index 83e6be552d..e4a768593e 100644 --- a/kogito-springboot-examples/process-timer-springboot/pom.xml +++ b/kogito-springboot-examples/process-timer-springboot/pom.xml @@ -122,7 +122,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml index f09999dfed..85aba724ab 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml @@ -141,7 +141,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-usertasks-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-springboot/pom.xml index 4078512b46..f66ea5b83d 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-springboot/pom.xml @@ -87,7 +87,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml index 675a521a99..3a072cbd68 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml @@ -108,7 +108,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml index ef31889a0e..e9bd0c3b6a 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml @@ -102,7 +102,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + diff --git a/kogito-springboot-examples/rules-legacy-scesim-springboot-example/pom.xml b/kogito-springboot-examples/rules-legacy-scesim-springboot-example/pom.xml index 3141269de3..87db586dc3 100644 --- a/kogito-springboot-examples/rules-legacy-scesim-springboot-example/pom.xml +++ b/kogito-springboot-examples/rules-legacy-scesim-springboot-example/pom.xml @@ -97,7 +97,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml b/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml index 23b33d2916..3d1b834a47 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml +++ b/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml @@ -79,7 +79,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml b/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml index 7127d84d34..3efe8536f4 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml @@ -93,7 +93,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot diff --git a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml index 600214fdd2..8b5c7a5fbe 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml +++ b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml @@ -79,7 +79,14 @@ org.kie.kogito kogito-maven-plugin ${version.org.kie.kogito} - true + + + compile + + generateModel + + + org.springframework.boot