gitgabrio opened a new pull request, #3656: URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3656
Fixes https://github.com/apache/incubator-kie-issues/issues/1462 This PR refactor the spring boot integration tests poms to avoid usage of extensions flag, redefining the lifecicle in the poms themselves. To exactly recreate the same steps, some hack has been used 1. multiple declaration of same plugins (maven-compile-plugin and kogito-maven-plugin) 2. mapping of plugin to "wrong" phases (process-resources) The execution order can be viewed/compared using `mvn fr.jcgay.maven.plugins:buildplan-maven-plugin:list` Thanks to @elguardian for pom modification suggestion <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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
