This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new be48e9b7db7b CAMEL-24812 - exclude camel-salesforce-maven-plugin from 
modules to build
be48e9b7db7b is described below

commit be48e9b7db7b40282e8318b0df397894c03556af
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Fri Sep 18 11:15:04 2026 +0200

    CAMEL-24812 - exclude camel-salesforce-maven-plugin from modules to
    build
    
    camel-salesforce-maven-plugin-it is a module not part of the reactor, it
    is a module used as an IT tests so the incremental build should not try
    to build it.
    it was causing this kind of error:
    
    ```
    [ERROR] Could not find the selected project in the reactor:
    :camel-salesforce-maven-plugin-it -> [Help 1]
      org.apache.maven.MavenExecutionException: Could not find the selected
    project in the reactor: :camel-salesforce-maven-plugin-it
    ```
    
    ideally, it should detect that it is inside the it test and trigger
    build of parent but the script is currently not in a place for this kind
    of thing so excluding the parent module and marking it as requiring to
    be built manually
    
    co-authored-by: IBM Bob 2.0.3
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .github/actions/incremental-build/incremental-build.sh  | 2 +-
 .github/actions/incremental-build/manual-it-mapping.txt | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/actions/incremental-build/incremental-build.sh 
b/.github/actions/incremental-build/incremental-build.sh
index 947c6af672ad..4a2096d4b7c9 100755
--- a/.github/actions/incremental-build/incremental-build.sh
+++ b/.github/actions/incremental-build/incremental-build.sh
@@ -40,7 +40,7 @@ echo "Using MAVEN_EXTRA_ARGS=${MAVEN_EXTRA_ARGS:-}"
 maxNumberOfTestableProjects=50
 
 # Modules excluded from targeted testing (generated code, meta-modules, etc.)
-EXCLUSION_LIST="!:camel-allcomponents,!:dummy-component,!:camel-catalog,!:camel-catalog-console,!:camel-catalog-maven,!:camel-catalog-suggest,!:camel-route-parser,!:camel-report-maven-plugin,!:camel-endpointdsl,!:camel-componentdsl,!:camel-endpointdsl-support,!:camel-yaml-dsl,!:camel-kamelet-main,!:camel-yaml-dsl-deserializers,!:camel-yaml-dsl-maven-plugin,!:camel-jbang-core,!:camel-jbang-main,!:camel-jbang-plugin-generate,!:camel-jbang-plugin-edit,!:camel-jbang-plugin-kubernetes,!:camel
 [...]
+EXCLUSION_LIST="!:camel-allcomponents,!:dummy-component,!:camel-catalog,!:camel-catalog-console,!:camel-catalog-maven,!:camel-catalog-suggest,!:camel-route-parser,!:camel-report-maven-plugin,!:camel-endpointdsl,!:camel-componentdsl,!:camel-endpointdsl-support,!:camel-yaml-dsl,!:camel-kamelet-main,!:camel-yaml-dsl-deserializers,!:camel-yaml-dsl-maven-plugin,!:camel-jbang-core,!:camel-jbang-main,!:camel-jbang-plugin-generate,!:camel-jbang-plugin-edit,!:camel-jbang-plugin-kubernetes,!:camel
 [...]
 
 
 # Allow projects to override the exclusion list
diff --git a/.github/actions/incremental-build/manual-it-mapping.txt 
b/.github/actions/incremental-build/manual-it-mapping.txt
index 042bf0cebdf1..0ba25b05ea18 100644
--- a/.github/actions/incremental-build/manual-it-mapping.txt
+++ b/.github/actions/incremental-build/manual-it-mapping.txt
@@ -5,6 +5,8 @@
 #
 # Format: source-artifact-id : it-module-path : command
 #
+# Salesforce Maven Plugin integration tests
+camel-salesforce-maven-plugin:components/camel-salesforce/camel-salesforce-maven-plugin:mvn
 verify -f components/camel-salesforce/camel-salesforce-maven-plugin 
-Pplugin-itest
 # JBang integration tests
 camel-jbang-core:dsl/camel-jbang/camel-jbang-it:mvn verify -f 
dsl/camel-jbang/camel-jbang-it -Djbang-it-test
 camel-jbang-main:dsl/camel-jbang/camel-jbang-it:mvn verify -f 
dsl/camel-jbang/camel-jbang-it -Djbang-it-test

Reply via email to