From 3974fb23c60aa2d0181f888e937d5a8a760571b1 Mon Sep 17 00:00:00 2001 From: Gabriele-Cardosi Date: Tue, 12 Nov 2024 10:38:03 +0100 Subject: [PATCH] [incubator-kie-issues#1609] Fix newly added springboot examples --- .../dmn-15-springboot-example/pom.xml | 9 ++++- .../dmn-springboot-consumer-example/pom.xml | 9 ++++- .../KogitoScenarioJunitActivatorTest.java | 37 ++++++++++--------- 3 files changed, 35 insertions(+), 20 deletions(-) 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-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).