You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tiagobento (via GitHub)" <gi...@apache.org> on 2026/04/19 21:32:32 UTC

[I] Integration Tests for `kie-maven-plugin` fail on a fresh clone due to `drools-ruleunits-engine` not being found [incubator-kie-drools]

tiagobento opened a new issue, #6666:
URL: https://github.com/apache/incubator-kie-drools/issues/6666

   On a fresh clone, with a fresh local Maven repository, run:
   
   `mvn clean install -pl :kie-maven-plugin -am`
   
   You'll see this error
   
   ```
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1:run (integration-test) on project kie-maven-plugin: 1 build failed. See console output above for details
   ```
   
   Scrolling up, you'll see:
   
   ```
   [INFO] Building: kie-maven-plugin-test-kjar-14-ruleunits/pom.xml
   [INFO]   The build exited with code 1. See /Users/tiagobento/apache/incubator-kie-drools/kie-maven-plugin/target/it/kie-maven-plugin-test-kjar-14-ruleunits/build.log for details.
   [INFO]           kie-maven-plugin-test-kjar-14-ruleunits/pom.xml .. FAILED (1.4 s)
   ```
   
   Inside the [build.log](https://github.com/user-attachments/files/26876988/build.log), you'll find:
   
   ```
   Could not find artifact org.drools:drools-ruleunits-engine:jar:999-SNAPSHOT
   ```
   
   ---
   
   Due to PR checks and local builds being sequential, coincidentally `drools-ruleunits-engine` ends up being built before `kie-maven-plugin`, which makes it available in the local Maven repository, and therefore causes the tests to pass.
   
   Building `kie-maven-plugin`'s stack in isolation exposes the problem.


-- 
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.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: [I] Integration Tests for `kie-maven-plugin` fail on a fresh clone due to `drools-ruleunits-engine` not being found [incubator-kie-drools]

Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer commented on issue #6666:
URL: https://github.com/apache/incubator-kie-drools/issues/6666#issuecomment-4324874809

   @tiagobento This should be fixed by https://github.com/apache/incubator-kie-drools/pull/6676


-- 
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: [I] Integration Tests for `kie-maven-plugin` fail on a fresh clone due to `drools-ruleunits-engine` not being found [incubator-kie-drools]

Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer closed issue #6666: Integration Tests for `kie-maven-plugin` fail on a fresh clone due to `drools-ruleunits-engine` not being found
URL: https://github.com/apache/incubator-kie-drools/issues/6666


-- 
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