From 83c4a9325545b800a69f343f5db490596bf0d57b Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Wed, 22 Apr 2026 00:11:47 +0200 Subject: [PATCH] Fix maven-assembly-plugin skipAssembly leaking into every execution Root pom.xml wired ${pkg.skip.zip} at the plugin-level of maven-assembly-plugin inside the always-active `packaging` profile's . Maven merges plugin-level into every execution of that plugin, so -Dpkg.skip.zip=true (and the -Dpkg.skip=true alias that activates it) suppressed any maven-assembly-plugin execution across the reactor - not only the intended Windows ZIP execution. In CE lts-4.2/4.3 this is latent (no CE module declares a non-ZIP assembly execution), but it breaks downstream forks that do. PE's rule-node-twilio-sms, for instance, declares a custom make-assembly execution producing the classified -rule-node.jar consumed by application's copy-pe-rule-nodes step; under -Dpkg.skip.zip=true that assembly silently became a no-op and the downstream build failed to resolve the classified artifact. tools/pom.xml already sidesteps this via `combine.self="override"` on its own - earlier evidence that the placement was fragile. Move into the `assembly` execution's own so it scopes only to the Windows ZIP execution. Verified via mvn help:effective-pom on application/: with the fix, true no longer appears at plugin-level , only inside the `assembly` . --- pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 409e16cdc9..d4f5d0f9df 100755 --- a/pom.xml +++ b/pom.xml @@ -618,7 +618,6 @@ org.apache.maven.plugins maven-assembly-plugin - ${pkg.skip.zip} ${pkg.name} ${main.dir}/packaging/${pkg.type}/assembly/windows.xml @@ -631,6 +630,9 @@ single + + ${pkg.skip.zip} +