From c70b203f7a58ab546a659eaf403372277bcb4215 Mon Sep 17 00:00:00 2001 From: Vitor Cardoso Date: Thu, 27 Aug 2026 10:47:30 +0100 Subject: [PATCH] Fix parallel build (-T) failure in pentaho-cdf-rca 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. - 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. --- assemblies/cdf-rca/pom.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/assemblies/cdf-rca/pom.xml b/assemblies/cdf-rca/pom.xml index 613d5e96ea..1a908a7ab7 100644 --- a/assemblies/cdf-rca/pom.xml +++ b/assemblies/cdf-rca/pom.xml @@ -32,6 +32,21 @@ cdf-pentaho-rca ${project.version} + + + pentaho + pentaho-cdf + ${project.version} + zip + provided + @@ -40,7 +55,7 @@ unpack-plugins - process-sources + generate-resources unpack