This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch chore/package-native-validation-build-validator in repository https://gitbox.apache.org/repos/asf/camel.git
commit 497d9daa82ffc934b1984da4365a79d7146a52d0 Author: Claus Ibsen <[email protected]> AuthorDate: Mon Nov 2 15:48:50 2026 +0100 chore: package-native validation - build camel-yaml-dsl-validator from source camel-jbang-core calls the API of camel-yaml-dsl-validator. When a change on main touches both, the workflow compiled camel-jbang-core from source against the published validator snapshot and failed until the next deploy (seen on #28885 after #28849). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .github/workflows/package-native-validation.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package-native-validation.yml b/.github/workflows/package-native-validation.yml index 241a6c8b87f9..39bdd01ab7d8 100644 --- a/.github/workflows/package-native-validation.yml +++ b/.github/workflows/package-native-validation.yml @@ -116,12 +116,14 @@ jobs: # camel-jbang-run, camel-jbang-core and the jbang plugins bundled in the launcher are # built from source: a PR may have changed (or moved) classes of camel-jbang-core after the # last snapshot, and plugins of that snapshot compiled against the old ones fail at runtime. + # camel-yaml-dsl-validator is built from source too: camel-jbang-core calls its API, and a + # change on main to both fails to compile against the snapshot until the next deploy. # -Dcamel.skipDocSamples: camel-jbang-core checks the YAML examples of the docs against the # YAML DSL schema of the snapshot, which lags behind a new DSL option on main until the next # deploy. The main build checks them. run: | ./mvnw -B -P apache-snapshots -ntp \ - -pl buildingtools,dsl/camel-jbang/camel-jbang-run,dsl/camel-jbang/camel-jbang-core,${{ env.LAUNCHER_PLUGINS }},dsl/camel-jbang/camel-launcher install -DskipTests -Dcamel.skipDocSamples=true + -pl buildingtools,dsl/camel-yaml-dsl/camel-yaml-dsl-validator,dsl/camel-jbang/camel-jbang-run,dsl/camel-jbang/camel-jbang-core,${{ env.LAUNCHER_PLUGINS }},dsl/camel-jbang/camel-launcher install -DskipTests -Dcamel.skipDocSamples=true - name: Stage a synthetic release version for offline validation shell: bash @@ -205,12 +207,14 @@ jobs: # camel-jbang-run, camel-jbang-core and the jbang plugins bundled in the launcher are # built from source: a PR may have changed (or moved) classes of camel-jbang-core after the # last snapshot, and plugins of that snapshot compiled against the old ones fail at runtime. + # camel-yaml-dsl-validator is built from source too: camel-jbang-core calls its API, and a + # change on main to both fails to compile against the snapshot until the next deploy. # -Dcamel.skipDocSamples: camel-jbang-core checks the YAML examples of the docs against the # YAML DSL schema of the snapshot, which lags behind a new DSL option on main until the next # deploy. The main build checks them. run: | ./mvnw -B -P apache-snapshots -ntp \ - -pl buildingtools,dsl/camel-jbang/camel-jbang-run,dsl/camel-jbang/camel-jbang-core,${{ env.LAUNCHER_PLUGINS }},dsl/camel-jbang/camel-launcher install -DskipTests -Dcamel.skipDocSamples=true + -pl buildingtools,dsl/camel-yaml-dsl/camel-yaml-dsl-validator,dsl/camel-jbang/camel-jbang-run,dsl/camel-jbang/camel-jbang-core,${{ env.LAUNCHER_PLUGINS }},dsl/camel-jbang/camel-launcher install -DskipTests -Dcamel.skipDocSamples=true - name: Run Windows installer and launcher script unit tests shell: bash
