This is an automated email from the ASF dual-hosted git repository.
gitgabrio pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git
The following commit(s) were added to refs/heads/main by this push:
new f070b3fec [incubator-kie-issues#1460] Adapting springboot examples for
new kogito-maven-plugin implementation (#2032)
f070b3fec is described below
commit f070b3fec3899326f78ce7a4ffb2f9e65dff2200
Author: Gabriele Cardosi <[email protected]>
AuthorDate: Mon Dec 2 14:18:56 2024 +0100
[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 <[email protected]>
---
.../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 +++++-
.../process-decisions-rules-springboot/pom.xml | 9 +++++-
.../process-decisions-springboot/pom.xml | 9 +++++-
.../pom.xml | 9 +++++-
.../process-kafka-multi-springboot/pom.xml | 9 +++++-
.../process-kafka-quickstart-springboot/pom.xml | 9 +++++-
.../process-mongodb-persistence-springboot/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 +++++-
.../process-rest-service-call-springboot/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 +++++-
.../rules-legacy-scesim-springboot-example/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 8c712c001..6c8c46019 100644
--- a/kogito-springboot-examples/decisiontable-springboot-example/pom.xml
+++ b/kogito-springboot-examples/decisiontable-springboot-example/pom.xml
@@ -76,7 +76,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/dmn-15-springboot-example/pom.xml
b/kogito-springboot-examples/dmn-15-springboot-example/pom.xml
index 274e46a62..3722d24a9 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml
b/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml
index f696d327b..788e634bb 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml
b/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml
index 8af19b753..6229cd158 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/dmn-listener-springboot/pom.xml
b/kogito-springboot-examples/dmn-listener-springboot/pom.xml
index da3397efe..5af0c9706 100644
--- a/kogito-springboot-examples/dmn-listener-springboot/pom.xml
+++ b/kogito-springboot-examples/dmn-listener-springboot/pom.xml
@@ -79,7 +79,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml
b/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml
index 1b47ef23c..45cfe3242 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
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 b44afe69e..bf4b00854 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
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 7e2f83f2e..4b19a1201 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 f42eb86e6..d396fb4df 100644
--- a/kogito-springboot-examples/dmn-springboot-example/pom.xml
+++ b/kogito-springboot-examples/dmn-springboot-example/pom.xml
@@ -84,7 +84,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml
b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml
index c6cb6c754..6842c9eb1 100644
--- a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml
+++ b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml
@@ -95,7 +95,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/flexible-process-springboot/pom.xml
b/kogito-springboot-examples/flexible-process-springboot/pom.xml
index 3da05ac20..524da7132 100644
--- a/kogito-springboot-examples/flexible-process-springboot/pom.xml
+++ b/kogito-springboot-examples/flexible-process-springboot/pom.xml
@@ -94,7 +94,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git a/kogito-springboot-examples/onboarding-springboot/pom.xml
b/kogito-springboot-examples/onboarding-springboot/pom.xml
index 14ae22674..3f5a3bf2c 100644
--- a/kogito-springboot-examples/onboarding-springboot/pom.xml
+++ b/kogito-springboot-examples/onboarding-springboot/pom.xml
@@ -102,7 +102,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml
b/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml
index 3f8d5163d..04d2c296a 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/pmml-springboot-example/pom.xml
b/kogito-springboot-examples/pmml-springboot-example/pom.xml
index 4c037773a..b95fb04bc 100644
--- a/kogito-springboot-examples/pmml-springboot-example/pom.xml
+++ b/kogito-springboot-examples/pmml-springboot-example/pom.xml
@@ -84,7 +84,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git
a/kogito-springboot-examples/process-business-rules-springboot/pom.xml
b/kogito-springboot-examples/process-business-rules-springboot/pom.xml
index eab978f2d..68ea19e2e 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git
a/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml
b/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml
index 757640cc0..eb9f8ef55 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git
a/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml
b/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml
index 916d17e4d..5bfd126f4 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/kogito-springboot-examples/process-decisions-springboot/pom.xml
b/kogito-springboot-examples/process-decisions-springboot/pom.xml
index cfce235bf..e647e9bed 100644
--- a/kogito-springboot-examples/process-decisions-springboot/pom.xml
+++ b/kogito-springboot-examples/process-decisions-springboot/pom.xml
@@ -96,7 +96,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git
a/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml
b/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml
index 8bdb6faa4..0aabbdfc6 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml
b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml
index b19e6f422..29b53f1f1 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git
a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml
b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml
index 96b266c07..414231c69 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git
a/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml
b/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml
index 7254b0f4f..a721e9550 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git a/kogito-springboot-examples/process-monitoring-springboot/pom.xml
b/kogito-springboot-examples/process-monitoring-springboot/pom.xml
index 9c811e618..99f30edf6 100644
--- a/kogito-springboot-examples/process-monitoring-springboot/pom.xml
+++ b/kogito-springboot-examples/process-monitoring-springboot/pom.xml
@@ -93,7 +93,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git
a/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml
b/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml
index bb8aacbd9..0ac626646 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/process-performance-springboot/pom.xml
b/kogito-springboot-examples/process-performance-springboot/pom.xml
index 78d1619f5..8b12b48e8 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
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git
a/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml
b/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml
index 609187c4e..ebf1376af 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
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 83d769ede..0c093bf83 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git a/kogito-springboot-examples/process-scripts-springboot/pom.xml
b/kogito-springboot-examples/process-scripts-springboot/pom.xml
index fbfeb1b24..3e92565f4 100644
--- a/kogito-springboot-examples/process-scripts-springboot/pom.xml
+++ b/kogito-springboot-examples/process-scripts-springboot/pom.xml
@@ -87,7 +87,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git
a/kogito-springboot-examples/process-service-calls-springboot/pom.xml
b/kogito-springboot-examples/process-service-calls-springboot/pom.xml
index e2d2dc5be..c2606d10e 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git a/kogito-springboot-examples/process-springboot-example/pom.xml
b/kogito-springboot-examples/process-springboot-example/pom.xml
index 8819269eb..581696ecd 100644
--- a/kogito-springboot-examples/process-springboot-example/pom.xml
+++ b/kogito-springboot-examples/process-springboot-example/pom.xml
@@ -106,7 +106,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/process-timer-springboot/pom.xml
b/kogito-springboot-examples/process-timer-springboot/pom.xml
index 83e6be552..e4a768593 100644
--- a/kogito-springboot-examples/process-timer-springboot/pom.xml
+++ b/kogito-springboot-examples/process-timer-springboot/pom.xml
@@ -122,7 +122,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
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 f09999dfe..85aba724a 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git a/kogito-springboot-examples/process-usertasks-springboot/pom.xml
b/kogito-springboot-examples/process-usertasks-springboot/pom.xml
index 4078512b4..f66ea5b83 100644
--- a/kogito-springboot-examples/process-usertasks-springboot/pom.xml
+++ b/kogito-springboot-examples/process-usertasks-springboot/pom.xml
@@ -87,7 +87,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
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 675a521a9..3a072cbd6 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
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 ef31889a0..e9bd0c3b6 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
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 3141269de..87db586dc 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml
b/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml
index 23b33d291..3d1b834a4 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git
a/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml
b/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml
index 7127d84d3..3efe8536f 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 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml
b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml
index 600214fdd..8b5c7a5fb 100644
--- a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml
+++ b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml
@@ -79,7 +79,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${version.org.kie.kogito}</version>
- <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generateModel</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]