This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 7b37d9dd60 Build upstream modules for incremental extensions-support
tests
7b37d9dd60 is described below
commit 7b37d9dd609662e5c7db3fdd7023ca59db9a142a
Author: James Netherton <[email protected]>
AuthorDate: Mon Nov 2 12:00:00 2026 +0000
Build upstream modules for incremental extensions-support tests
SpringSupportTest reads the target directories of the spring/shade modules.
When an incremental build selects only spring/integration-test, such as for
a
Groovy version bump that reaches it via rest-assured, those modules are not
built and the test fails. Add -am so that they are part of the reactor.
Co-authored-by: Claude Opus 5.5 <[email protected]>
---
.github/workflows/ci-build.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 46cf9f53a8..ea6c3da9ec 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -643,7 +643,8 @@ jobs:
MODULES: ${{
fromJson(needs.initial-mvn-install.outputs.functional-test-modules)['extensions-support']
}}
run: |
cd extensions-support
- if [ -n "${MODULES}" ]; then MODULE_ARGS="-pl ${MODULES}"; else
MODULE_ARGS="${SCALPEL_TRIM_ARGS} ${SCALPEL_FULL_BUILD_TRIGGERS}
${SCALPEL_EXCLUDE_PATHS}"; fi
+ # -am because tests can read the target directories of the modules
they depend on, such as spring/shade
+ if [ -n "${MODULES}" ]; then MODULE_ARGS="-pl ${MODULES} -am"; else
MODULE_ARGS="${SCALPEL_TRIM_ARGS} ${SCALPEL_FULL_BUILD_TRIGGERS}
${SCALPEL_EXCLUDE_PATHS}"; fi
# package rather than test, so that shaded modules such as
spring/shade provide their jar to the reactor
../mvnw ${CQ_MAVEN_ARGS} ${BRANCH_OPTIONS} \
${CQ_MAVEN_SKIP_CHECKS} \