You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "gitgabrio (via GitHub)" <gi...@apache.org> on 2026/02/03 10:06:36 UTC

[PR] [incubator-kie-issues#1918] Implement GRADLE plugin [incubator-kie-kogito-runtimes]

gitgabrio opened a new pull request, #4180:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180

   Fixes https://github.com/apache/incubator-kie-issues/issues/1918
   
   This PR:
   
   1. implement a GRADLE plugin to be used inside springboot kogito applications
   2. implement a springboot gradle module to be used as integration test
   3. all the build is managed by maven
   4. please read the readme files
   
   Depends on https://github.com/apache/incubator-kie-drools/pull/6580
   Needed By
   
   <details>
   <summary>
   How to replicate CI configuration locally?
   </summary>
   
   Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use [build-chain tool](https://github.com/kiegroup/github-action-build-chain) to handle cross repository builds and be sure that we always use latest version of the code for each repository.
    
   [build-chain tool](https://github.com/kiegroup/github-action-build-chain) is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See [local execution](https://github.com/kiegroup/github-action-build-chain#local-execution) details to get more information about it.
   </details>
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues#1918] Implement GRADLE plugin [incubator-kie-kogito-runtimes]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on code in PR #4180:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180#discussion_r2758925105


##########
kogito-gradle-plugin-test/pom.xml:
##########
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ 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.
+  ~
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.kie.kogito</groupId>
+    <artifactId>kogito-runtimes</artifactId>
+    <version>999-SNAPSHOT</version>
+    <relativePath>../kogito-build/kogito-build-parent/pom.xml</relativePath>
+  </parent>
+
+  <artifactId>kogito-gradle-plugin-test</artifactId>
+  <name>Kogito :: Gradle Plugin :: Test</name>
+
+  <properties>
+    <java.module.name>org.kie.kogito.gradle.plugin.testing</java.module.name>
+    <maven.compiler.release>17</maven.compiler.release>
+    <gradle.executable>./gradlew</gradle.executable>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.kie.kogito</groupId>
+      <artifactId>kogito-gradle-plugin</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <!-- exclude maven compilation -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**/*.java</exclude>
+          </excludes>
+          <testExcludes>
+            <exclude>**/*.java</exclude>
+          </testExcludes>
+        </configuration>
+      </plugin>
+      <!-- execute Gradle command -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <executions>

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues#1918] Implement GRADLE plugin [incubator-kie-kogito-runtimes]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on PR #4180:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180#issuecomment-3847209666

   HI @pefernan @fjtirado : I fail to see any reason for all those test failures.
   the only change that could have an impact is the following one (in drools repo)
   
   ```
   String gradleAppName = System.getProperty("org.gradle.appname");
               return (gradleAppName == null || gradleAppName.isEmpty()) ? MAVEN : GRADLE;
   ```
   
   Do you know, by chance, if, behind the scenes, those tests execute some operation that set the `org.gradle.appname` property ? Maybe hidden inside quarkus path ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues#1918] Implement GRADLE plugin [incubator-kie-kogito-runtimes]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on code in PR #4180:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180#discussion_r2758900726


##########
kogito-gradle-plugin/pom.xml:
##########
@@ -0,0 +1,305 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ 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.
+  ~
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <!-- This module was also published with a richer model, Gradle metadata,  -->
+  <!-- which should be used instead. Do not delete the following line which  -->
+  <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
+  <!-- that they should prefer consuming it instead. -->
+  <!-- do_not_remove: published-with-gradle-metadata -->
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.kie.kogito</groupId>
+  <artifactId>kogito-gradle-plugin</artifactId>
+  <version>999-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <name>Kogito :: Gradle :: Plugin</name>
+  <description>Plugin to build applications using Gradle</description>
+
+  <!-- DO NOT ADD PARENT DECLARATION TO HAVE THAT PLUGIN DISCOVERABLE BY GRADLE -->
+  <properties>
+    <maven.compiler.source>17</maven.compiler.source>
+    <maven.compiler.target>17</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <java.module.name>org.kie.kogito.gradle.plugin</java.module.name>
+    <gradle.version>8.11.1</gradle.version>
+    <groovy.version>4.0.29</groovy.version>
+    <junit.version>5.12.1</junit.version>
+    <assertj.version>3.27.3</assertj.version>
+  </properties>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-bom</artifactId>
+        <version>${project.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-kie-bom</artifactId>
+        <version>${project.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-dependencies-bom</artifactId>
+        <version>${project.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>dev.gradleplugins</groupId>
+        <artifactId>gradle-api</artifactId>
+        <version>${gradle.version}</version>
+      </dependency>
+      <!-- Needed to avoid clashes in downstream projects -->
+      <dependency>
+        <groupId>org.apache.groovy</groupId>
+        <artifactId>groovy</artifactId>
+        <version>${groovy.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.groovy</groupId>
+        <artifactId>groovy-json</artifactId>
+        <version>${groovy.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.groovy</groupId>
+        <artifactId>groovy-ant</artifactId>
+        <version>${groovy.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>dev.gradleplugins</groupId>
+        <artifactId>gradle-test-kit</artifactId>
+        <version>${gradle.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.junit</groupId>
+        <artifactId>junit-bom</artifactId>
+        <type>pom</type>
+        <scope>import</scope>
+        <version>${junit.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.assertj</groupId>
+        <artifactId>assertj-core</artifactId>
+        <version>${assertj.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <!-- EXCLUSIONS NEEDED TO AVOID CLASHING WITH GRADLE STACK -->
+  <dependencies>
+    <!-- Internal dependencies -->
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-codegen-common</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-compiler</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-decisiontables</artifactId>
+      <scope>runtime</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-util</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.kie.kogito</groupId>
+      <artifactId>kogito-api</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.kie.kogito</groupId>
+      <artifactId>kogito-codegen-api</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.kie.kogito</groupId>
+      <artifactId>kogito-codegen-manager</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>jcl-over-slf4j</artifactId>
+        </exclusion>
+      </exclusions>
+
+    </dependency>
+    <dependency>
+      <groupId>dev.gradleplugins</groupId>
+      <artifactId>gradle-api</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy-testng</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy-all</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.groovy</groupId>
+      <artifactId>groovy</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.groovy</groupId>
+      <artifactId>groovy-json</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.groovy</groupId>
+      <artifactId>groovy-ant</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>io.smallrye.config</groupId>
+      <artifactId>smallrye-config</artifactId>
+    </dependency>
+    <!-- Required to force commons-io version in projects using kogito-gradle-plugin (e.g. Spring Boot ones)-->
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+    </dependency>
+
+    <!-- Test -->
+    <dependency>
+      <groupId>org.assertj</groupId>
+      <artifactId>assertj-core</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>dev.gradleplugins</groupId>
+      <artifactId>gradle-test-kit</artifactId>
+      <scope>test</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy-all</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-core</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues#1918] Implement GRADLE plugin [incubator-kie-kogito-runtimes]

Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer commented on PR #4180:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180#issuecomment-3849442051

   It's a miracle, it's all green there! It's a sign, we must merge it! :D @gitgabrio  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues#1918] Implement GRADLE plugin [incubator-kie-kogito-runtimes]

Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #4180:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180#issuecomment-3842280320

   
   **PR job** `#3` was: **UNSTABLE**
   Possible explanation: This should be test failures
   
   
   <details>
   <summary><b>Reproducer</b></summary>
   
   
   
   build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180 --skipParallelCheckout
   
   NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution
   
   </details>
   
   
   Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/display/redirect
   
   **Test results:**
   - PASSED: 3850
   - FAILED: 50
   
   Those are the test failures: 
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.process.dynamic/DynamicCallResourceTest/testConcurrentDynamicCalls/">org.kie.kogito.process.dynamic.DynamicCallResourceTest.testConcurrentDynamicCalls</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.process.dynamic/DynamicCallResourceTest/testDynamicCallWithInvalidProcessId/">org.kie.kogito.process.dynamic.DynamicCallResourceTest.testDynamicCallWithInvalidProcessId</a></summary>
   1 expectation failed.<br/>JSON path message doesn't match.<br/>Expected: a string containing "Cannot find process instance"<br/>  Actual: Cannot find process dynamicWait<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.process.dynamic/DynamicCallResourceTest/testDynamicCallWithInvalidEndpointFormat/">org.kie.kogito.process.dynamic.DynamicCallResourceTest.testDynamicCallWithInvalidEndpointFormat</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.process.dynamic/DynamicCallResourceTest/testDynamicCallWithMissingMethodParameter/">org.kie.kogito.process.dynamic.DynamicCallResourceTest.testDynamicCallWithMissingMethodParameter</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.process.dynamic/DynamicCallResourceTest/testDynamicCall/">org.kie.kogito.process.dynamic.DynamicCallResourceTest.testDynamicCall</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.process.dynamic/DynamicCallResourceTest/testDynamicCallWithMissingPortParameter/">org.kie.kogito.process.dynamic.DynamicCallResourceTest.testDynamicCallWithMissingPortParameter</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.process.dynamic/DynamicCallResourceTest/testDynamicCallWithMissingUrlParameter/">org.kie.kogito.process.dynamic.DynamicCallResourceTest.testDynamicCallWithMissingUrlParameter</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/cloudEventWithIdMustBeSentAsIs/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.cloudEventWithIdMustBeSentAsIs</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithQueryParametersAsPlainJson/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithQueryParametersAsPlainJson</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithHeadersAsCloudEvent/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithHeadersAsCloudEvent</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithQueryParametersGet/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithQueryParametersGet</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithHeadersAsPlainJson/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithHeadersAsPlainJson</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithHeadersAndQueryParametersAsPlainJson/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithHeadersAndQueryParametersAsPlainJson</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeCloudEventWithMissingIdShouldNotThrowException/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeCloudEventWithMissingIdShouldNotThrowException</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithCloudEventWithIdAsPlainJson/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithCloudEventWithIdAsPlainJson</a></summary>
   1 expectation failed.<br/>Expected status code <400> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeCloudEvent/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeCloudEvent</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeHttpGet/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeHttpGet</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithParametersShouldSendOnlyFunctionArgs/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithParametersShouldSendOnlyFunctionArgs</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithInvalidCloudEvent/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithInvalidCloudEvent</a></summary>
   1 expectation failed.<br/>Expected status code <500> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithCloudEventWithoutIdAsPlainJson/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithCloudEventWithoutIdAsPlainJson</a></summary>
   1 expectation failed.<br/>Expected status code <400> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithEmptyParameters/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithEmptyParameters</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithParameters/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithParameters</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeTimeout/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeTimeout</a></summary>
   1 expectation failed.<br/>Expected status code <500> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithHeadersAndQueryParametersGet/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithHeadersAndQueryParametersGet</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/executeWithArray/">org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.executeWithArray</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.decisions.hotreload/NewFileHotReloadIT/newFileTest/">org.kie.kogito.quarkus.decisions.hotreload.NewFileHotReloadIT.newFileTest</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.decisions.hotreload/SimpleHotReloadIT/simpleHotReloadTest/">org.kie.kogito.quarkus.decisions.hotreload.SimpleHotReloadIT.simpleHotReloadTest</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.decisions.hotreload/SimpleModifyHotReloadIT/simpleHotReloadTest/">org.kie.kogito.quarkus.decisions.hotreload.SimpleModifyHotReloadIT.simpleHotReloadTest</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.dmn/KogitoDMNCodeCodestartIT/testBuild/">org.kie.kogito.quarkus.dmn.KogitoDMNCodeCodestartIT.testBuild</a></summary>
   [Run project return status should be zero] <br/>expected: 0<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/ilove.quark.us/PricingTest/testBasePrice/">ilove.quark.us.PricingTest.testBasePrice</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.jbpm/ProcessEndpointIT/testProcessRestEndpoint/">org.kie.kogito.quarkus.jbpm.ProcessEndpointIT.testProcessRestEndpoint</a></summary>
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: jakarta.enterprise.inject.spi.DeploymentException: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Named("tests")]<br/> - injection target: org.kie.kogito.quarkus.jbpm.ProcessIT#process<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.jbpm.ProcessIT, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.quarkus.jbpm.ProcessIT]<br/> at io.quarkus.arc.processor.BeanDeployment.processErrors(BeanDeployment.java:1576)<br/> at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:338)<br/> at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:178)<br/> at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.j
 ava:489)<br/> at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:255)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)<br/> at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)<br/> at java.base/java.lang.Thread.run(Thread.java:840)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:499)<br/>Caused by: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qual
 ifiers [@Named("tests")]<br/> - injection target: org.kie.kogito.quarkus.jbpm.ProcessIT#process<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.jbpm.ProcessIT, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.quarkus.jbpm.ProcessIT]<br/> at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:547)<br/> at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:689)<br/> at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:323)<br/> ... 12 more<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/io.quarkus.it.kogito.process/HotReloadTest/testProcessJsonSchema/">io.quarkus.it.kogito.process.HotReloadTest.testProcessJsonSchema</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/io.quarkus.it.kogito.process/HotReloadTest/testRenameProcess/">io.quarkus.it.kogito.process.HotReloadTest.testRenameProcess</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/io.quarkus.it.kogito.process/HotReloadTest/testJavaFileChange/">io.quarkus.it.kogito.process.HotReloadTest.testJavaFileChange</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/io.quarkus.it.kogito.process/HotReloadTest/testUserTaskJsonSchema/">io.quarkus.it.kogito.process.HotReloadTest.testUserTaskJsonSchema</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.acme/StatefulProcessResourceTest/updateProcess/">org.acme.StatefulProcessResourceTest.updateProcess</a></summary>
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: jakarta.enterprise.inject.spi.DeploymentException: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Named("approvals")]<br/> - injection target: org.acme.GreetingResource#approvalProcess<br/> - declared on CLASS bean [types=[org.acme.GreetingResource, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.GreetingResource]<br/> at io.quarkus.arc.processor.BeanDeployment.processErrors(BeanDeployment.java:1576)<br/> at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:338)<br/> at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:178)<br/> at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.java:489)<br/> at java.ba
 se/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:255)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)<br/> at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)<br/> at java.base/java.lang.Thread.run(Thread.java:840)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:499)<br/>Caused by: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Named("approval
 s")]<br/> - injection target: org.acme.GreetingResource#approvalProcess<br/> - declared on CLASS bean [types=[org.acme.GreetingResource, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.GreetingResource]<br/> at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:547)<br/> at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:689)<br/> at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:323)<br/> ... 12 more<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.rules.hotreload/ChangePojoIT/test2Changes/">org.kie.kogito.quarkus.rules.hotreload.ChangePojoIT.test2Changes</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.rules.hotreload/ChangePojoIT/test1Change/">org.kie.kogito.quarkus.rules.hotreload.ChangePojoIT.test1Change</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.rules.hotreload/HotReloadIT/testServletChange/">org.kie.kogito.quarkus.rules.hotreload.HotReloadIT.testServletChange</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.rules.hotreload.newunit/NewUnitIT/testServletChange/">org.kie.kogito.quarkus.rules.hotreload.newunit.NewUnitIT.testServletChange</a></summary>
   1 expectation failed.<br/>Expected status code <200> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.drools/StatefulRuleUnitServiceTest/testQueryDirectDs/">org.kie.kogito.quarkus.drools.StatefulRuleUnitServiceTest.testQueryDirectDs</a></summary>
   No bean found for required type [interface org.kie.kogito.rules.RuleUnits] and qualifiers [[@jakarta.enterprise.inject.Default()]]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.drools/StatefulRuleUnitServiceTest/testQueryDsService/">org.kie.kogito.quarkus.drools.StatefulRuleUnitServiceTest.testQueryDsService</a></summary>
   No bean found for required type [interface org.kie.kogito.rules.RuleUnits] and qualifiers [[@jakarta.enterprise.inject.Default()]]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.drools/StatefulRuleUnitServiceTest/testCreate/">org.kie.kogito.quarkus.drools.StatefulRuleUnitServiceTest.testCreate</a></summary>
   No bean found for required type [interface org.kie.kogito.rules.RuleUnits] and qualifiers [[@jakarta.enterprise.inject.Default()]]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.serverless.workflow.deployment.livereload/LiveReloadProcessorTest/testOpenApi/">org.kie.kogito.quarkus.serverless.workflow.deployment.livereload.LiveReloadProcessorTest.testOpenApi</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.serverless.workflow.deployment.livereload/LiveReloadProcessorTest/testGrpc/">org.kie.kogito.quarkus.serverless.workflow.deployment.livereload.LiveReloadProcessorTest.testGrpc</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.serverless.workflow.deployment.livereload/LiveReloadProcessorTest/testAsyncApi/">org.kie.kogito.quarkus.serverless.workflow.deployment.livereload.LiveReloadProcessorTest.testAsyncApi</a></summary>
   1 expectation failed.<br/>Expected status code <201> but was <404>.<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/maven.invoker.it/integration-tests-kogito-plugin-it/integration_tests_kogito_plugin_it/">maven.invoker.it.integration-tests-kogito-plugin-it.integration-tests-kogito-plugin-it</a></summary>
   The build exited with code 1. See /home/jenkins/jenkins-agent/workspace/_jobs_kogito-runtimes-pr_PR-4180/kogito-pipelines/bc/apache_incubator-kie-kogito-runtimes/quarkus/integration-tests/integration-tests-kogito-plugin/target/it/integration-tests-kogito-plugin-it/build.log for details.
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.acme.travels/PersonProcessTest/testAdult/">org.acme.travels.PersonProcessTest.testAdult</a></summary>
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: jakarta.enterprise.inject.spi.DeploymentException: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Named("persons")]<br/> - injection target: org.acme.travels.PersonProcessTest#personProcess<br/> - declared on CLASS bean [types=[org.acme.travels.PersonProcessTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travels.PersonProcessTest]<br/> at io.quarkus.arc.processor.BeanDeployment.processErrors(BeanDeployment.java:1576)<br/> at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:338)<br/> at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:178)<br/> at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.ja
 va:489)<br/> at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:255)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)<br/> at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)<br/> at java.base/java.lang.Thread.run(Thread.java:840)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:499)<br/>Caused by: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and quali
 fiers [@Named("persons")]<br/> - injection target: org.acme.travels.PersonProcessTest#personProcess<br/> - declared on CLASS bean [types=[org.acme.travels.PersonProcessTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travels.PersonProcessTest]<br/> at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:547)<br/> at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:689)<br/> at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:323)<br/> ... 12 more<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.legacy.rules/TmsEndpointTest/testHelloEndpoint/">org.kie.kogito.legacy.rules.TmsEndpointTest.testHelloEndpoint</a></summary>
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: jakarta.enterprise.inject.spi.DeploymentException: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.api.runtime.KieRuntimeBuilder and qualifiers [@Default]<br/> - injection target: org.kie.kogito.legacy.rules.TmsEndpoint#kieRuntimeBuilder<br/> - declared on CLASS bean [types=[org.kie.kogito.legacy.rules.TmsEndpoint, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.legacy.rules.TmsEndpoint]<br/> at io.quarkus.arc.processor.BeanDeployment.processErrors(BeanDeployment.java:1576)<br/> at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:338)<br/> at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:178)<br/> at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.java:489)<br/> at
  java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:255)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)<br/> at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)<br/> at java.base/java.lang.Thread.run(Thread.java:840)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:499)<br/>Caused by: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.api.runtime.KieRuntimeBuilder and qualifiers [@Default]<br/> - injection target
 : org.kie.kogito.legacy.rules.TmsEndpoint#kieRuntimeBuilder<br/> - declared on CLASS bean [types=[org.kie.kogito.legacy.rules.TmsEndpoint, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.legacy.rules.TmsEndpoint]<br/> at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:547)<br/> at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:689)<br/> at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:323)<br/> ... 12 more<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4180/3/testReport/org.kie.kogito.quarkus.dmn/TrafficViolationTest/testEvaluateTrafficViolation/">org.kie.kogito.quarkus.dmn.TrafficViolationTest.testEvaluateTrafficViolation</a></summary>
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: jakarta.enterprise.inject.spi.DeploymentException: Found 4 deployment problems: <br/>[1] Unsatisfied dependency for type org.drools.ruleunits.api.RuleUnit<org.kie.kogito.examples.Hello> and qualifiers [@Default]<br/> - injection target: org.kie.kogito.quarkus.drools.HelloTest#ruleUnit<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.drools.HelloTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.quarkus.drools.HelloTest]<br/>[2] Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Named("tests")]<br/> - injection target: org.kie.kogito.quarkus.jbpm.ProcessTest#process<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.jbpm.ProcessTest, java.lang.Object], qualifiers=[@Default, @Any], 
 target=org.kie.kogito.quarkus.jbpm.ProcessTest]<br/>[3] Unsatisfied dependency for type org.kie.kogito.decision.DecisionModels and qualifiers [@Default]<br/> - injection target: org.kie.kogito.quarkus.dmn.TrafficViolationTest#decisionModels<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.dmn.TrafficViolationTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.quarkus.dmn.TrafficViolationTest]<br/>[4] Unsatisfied dependency for type org.kie.kogito.prediction.PredictionModels and qualifiers [@Default]<br/> - injection target: org.kie.kogito.quarkus.pmml.PMMLRegressionTest#predictionModels<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.pmml.PMMLRegressionTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.quarkus.pmml.PMMLRegressionTest]<br/> at io.quarkus.arc.processor.BeanDeployment.processErrors(BeanDeployment.java:1584)<br/> at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:338)<br/> at io.q
 uarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:178)<br/> at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.java:489)<br/> at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:255)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)<br/> at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)<br/> at java.base/java.lang.Thread.run(Thread.java:840)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:499)<br/> Suppressed: jakarta.enterprise.
 inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.drools.ruleunits.api.RuleUnit<org.kie.kogito.examples.Hello> and qualifiers [@Default]<br/> - injection target: org.kie.kogito.quarkus.drools.HelloTest#ruleUnit<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.drools.HelloTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.quarkus.drools.HelloTest]<br/>  at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:547)<br/>  at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:689)<br/>  at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:323)<br/>  ... 12 more<br/> Suppressed: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Named("tests")]<br/> - injection target: org.kie.kogito.quarkus.jbpm.ProcessTest#process<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.jbpm.Pr
 ocessTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.quarkus.jbpm.ProcessTest]<br/>  at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:547)<br/>  at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:689)<br/>  at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:323)<br/>  ... 12 more<br/> Suppressed: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.decision.DecisionModels and qualifiers [@Default]<br/> - injection target: org.kie.kogito.quarkus.dmn.TrafficViolationTest#decisionModels<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.dmn.TrafficViolationTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.quarkus.dmn.TrafficViolationTest]<br/>  at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:547)<br/>  at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:689)<br/>  at io.quarkus.arc.processor.BeanDeployment.ini
 t(BeanDeployment.java:323)<br/>  ... 12 more<br/> Suppressed: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.prediction.PredictionModels and qualifiers [@Default]<br/> - injection target: org.kie.kogito.quarkus.pmml.PMMLRegressionTest#predictionModels<br/> - declared on CLASS bean [types=[org.kie.kogito.quarkus.pmml.PMMLRegressionTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.kie.kogito.quarkus.pmml.PMMLRegressionTest]<br/>  at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:547)<br/>  at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:689)<br/>  at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:323)<br/>  ... 12 more<br/>
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues#1918] Implement GRADLE plugin [incubator-kie-kogito-runtimes]

Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer commented on code in PR #4180:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180#discussion_r2758475380


##########
kogito-gradle-plugin-test/pom.xml:
##########
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ 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.
+  ~
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.kie.kogito</groupId>
+    <artifactId>kogito-runtimes</artifactId>
+    <version>999-SNAPSHOT</version>
+    <relativePath>../kogito-build/kogito-build-parent/pom.xml</relativePath>
+  </parent>
+
+  <artifactId>kogito-gradle-plugin-test</artifactId>
+  <name>Kogito :: Gradle Plugin :: Test</name>
+
+  <properties>
+    <java.module.name>org.kie.kogito.gradle.plugin.testing</java.module.name>
+    <maven.compiler.release>17</maven.compiler.release>
+    <gradle.executable>./gradlew</gradle.executable>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.kie.kogito</groupId>
+      <artifactId>kogito-gradle-plugin</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <!-- exclude maven compilation -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**/*.java</exclude>
+          </excludes>
+          <testExcludes>
+            <exclude>**/*.java</exclude>
+          </testExcludes>
+        </configuration>
+      </plugin>
+      <!-- execute Gradle command -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <executions>

Review Comment:
   @gitgabrio Can you please resolve this  warning?
   ```
   Some problems were encountered while building the effective model for org.kie.kogito:kogito-gradle-plugin-test:jar:999-SNAPSHOT
   [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ line 66, column 15
   ```



##########
kogito-gradle-plugin-test/build.gradle:
##########
@@ -0,0 +1,72 @@
+/*
+ * 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.
+ *
+ */
+
+plugins {
+  id 'java'
+  id("org.kie.kogito.gradle") version "999-SNAPSHOT"
+  id 'org.springframework.boot' version '3.4.11'
+  // inspecting/debugging purpose
+  id "com.dorongold.task-tree" version "4.0.1"

Review Comment:
   @gitgabrio Do you think it's worth declaring those properties in a separated `gradle.properties` file?



##########
kogito-gradle-plugin/pom.xml:
##########
@@ -0,0 +1,305 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ 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.
+  ~
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <!-- This module was also published with a richer model, Gradle metadata,  -->
+  <!-- which should be used instead. Do not delete the following line which  -->
+  <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
+  <!-- that they should prefer consuming it instead. -->
+  <!-- do_not_remove: published-with-gradle-metadata -->
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.kie.kogito</groupId>
+  <artifactId>kogito-gradle-plugin</artifactId>
+  <version>999-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <name>Kogito :: Gradle :: Plugin</name>
+  <description>Plugin to build applications using Gradle</description>
+
+  <!-- DO NOT ADD PARENT DECLARATION TO HAVE THAT PLUGIN DISCOVERABLE BY GRADLE -->
+  <properties>
+    <maven.compiler.source>17</maven.compiler.source>
+    <maven.compiler.target>17</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <java.module.name>org.kie.kogito.gradle.plugin</java.module.name>
+    <gradle.version>8.11.1</gradle.version>
+    <groovy.version>4.0.29</groovy.version>
+    <junit.version>5.12.1</junit.version>
+    <assertj.version>3.27.3</assertj.version>
+  </properties>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-bom</artifactId>
+        <version>${project.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-kie-bom</artifactId>
+        <version>${project.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-dependencies-bom</artifactId>
+        <version>${project.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>dev.gradleplugins</groupId>
+        <artifactId>gradle-api</artifactId>
+        <version>${gradle.version}</version>
+      </dependency>
+      <!-- Needed to avoid clashes in downstream projects -->
+      <dependency>
+        <groupId>org.apache.groovy</groupId>
+        <artifactId>groovy</artifactId>
+        <version>${groovy.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.groovy</groupId>
+        <artifactId>groovy-json</artifactId>
+        <version>${groovy.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.groovy</groupId>
+        <artifactId>groovy-ant</artifactId>
+        <version>${groovy.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>dev.gradleplugins</groupId>
+        <artifactId>gradle-test-kit</artifactId>
+        <version>${gradle.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.junit</groupId>
+        <artifactId>junit-bom</artifactId>
+        <type>pom</type>
+        <scope>import</scope>
+        <version>${junit.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.assertj</groupId>
+        <artifactId>assertj-core</artifactId>
+        <version>${assertj.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <!-- EXCLUSIONS NEEDED TO AVOID CLASHING WITH GRADLE STACK -->
+  <dependencies>
+    <!-- Internal dependencies -->
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-codegen-common</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-compiler</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-decisiontables</artifactId>
+      <scope>runtime</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-util</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.kie.kogito</groupId>
+      <artifactId>kogito-api</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.kie.kogito</groupId>
+      <artifactId>kogito-codegen-api</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.kie.kogito</groupId>
+      <artifactId>kogito-codegen-manager</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>jcl-over-slf4j</artifactId>
+        </exclusion>
+      </exclusions>
+
+    </dependency>
+    <dependency>
+      <groupId>dev.gradleplugins</groupId>
+      <artifactId>gradle-api</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy-testng</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy-all</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.groovy</groupId>
+      <artifactId>groovy</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.groovy</groupId>
+      <artifactId>groovy-json</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.groovy</groupId>
+      <artifactId>groovy-ant</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>io.smallrye.config</groupId>
+      <artifactId>smallrye-config</artifactId>
+    </dependency>
+    <!-- Required to force commons-io version in projects using kogito-gradle-plugin (e.g. Spring Boot ones)-->
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+    </dependency>
+
+    <!-- Test -->
+    <dependency>
+      <groupId>org.assertj</groupId>
+      <artifactId>assertj-core</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>dev.gradleplugins</groupId>
+      <artifactId>gradle-test-kit</artifactId>
+      <scope>test</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy-all</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-core</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>

Review Comment:
   @gitgabrio Can you please resolve this warning?
   
   ```
   [WARNING] Some problems were encountered while building the effective model for org.kie.kogito:kogito-gradle-plugin:jar:999-SNAPSHOT
   [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 285, column 15
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues#1918] Implement GRADLE plugin [incubator-kie-kogito-runtimes]

Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer merged PR #4180:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues#1918] Implement GRADLE plugin [incubator-kie-kogito-runtimes]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on code in PR #4180:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4180#discussion_r2758917897


##########
kogito-gradle-plugin-test/build.gradle:
##########
@@ -0,0 +1,72 @@
+/*
+ * 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.
+ *
+ */
+
+plugins {
+  id 'java'
+  id("org.kie.kogito.gradle") version "999-SNAPSHOT"
+  id 'org.springframework.boot' version '3.4.11'
+  // inspecting/debugging purpose
+  id "com.dorongold.task-tree" version "4.0.1"

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org