ci: fix parallel build (-T) failure in pentaho-cdf-rca [DEVO-14414] - #1226
ci: fix parallel build (-T) failure in pentaho-cdf-rca [DEVO-14414]#1226cardosov wants to merge 1 commit into
Conversation
The unpack-plugins execution resolves pentaho:pentaho-cdf:zip via maven-dependency-plugin <artifactItems>, which are resolved directly from the repositories at execution time and do not participate in the reactor dependency graph. Serial builds only worked by accident of the <modules> declaration order; under -T the two modules are considered independent and run concurrently, so pentaho-cdf's zip is not yet attached when cdf-rca reaches process-sources. - Declare pentaho-cdf explicitly (provided/zip) so the reactor orders it before this module. - Move the unpack from process-sources to generate-resources, matching the pattern used by cdf-js and cdf-webpackage.
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| OSS Licenses | View in Orca | ||
| Malicious Packages | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
✅ Build finished in 5m 20sBuild command: mvn clean verify -B -e -Daudit -Djs.no.sandbox👌 All tests passed! Tests run: 71, Failures: 0, Skipped: 0 Test Results ℹ️ This is an automatic message |
|
There was a problem hiding this comment.
🟢 Approval recommended
The changes are localized to build configuration and directly address the stated parallel build race by enforcing reactor ordering and consistent lifecycle binding.
Pull request overview
This PR fixes a Maven reactor ordering issue that caused pentaho-cdf-rca to race against the pentaho-cdf assembly during parallel builds (-T), by making the dependency explicit and aligning the unpack lifecycle phase with the established pattern in other assembly modules.
Changes:
- Adds an explicit
pentaho:pentaho-cdf(typezip, scopeprovided) dependency to create a reactor build-order edge. - Moves the
maven-dependency-pluginunpack-pluginsexecution fromprocess-sourcestogenerate-resources.
File summaries
| File | Description |
|---|---|
| assemblies/cdf-rca/pom.xml | Adds an explicit reactor dependency on pentaho-cdf and rebinds the unpack execution to generate-resources to avoid parallel build races. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (27.20% Estimated after merge)
The unpack-plugins execution resolves pentaho:pentaho-cdf:zip via maven-dependency-plugin , which are resolved directly from the repositories at execution time and do not participate in the reactor dependency graph. Serial builds only worked by accident of the declaration order; under -T the two modules are considered independent and run concurrently, so pentaho-cdf's zip is not yet attached when cdf-rca reaches process-sources.