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

gnodet 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 24314bc1fed2 Fix docs gulp race condition with dsl target directories
24314bc1fed2 is described below

commit 24314bc1fed2516e6861a4ad50b5cc721305b8a5
Author: Guillaume Nodet <[email protected]>
AuthorDate: Fri Mar 27 15:46:19 2026 +0100

    Fix docs gulp race condition with dsl target directories
    
    Replace `**` glob pattern in gulpfile.js with explicit depth patterns using 
`!(target)` extglob to prevent scanning into target/ directories during 
parallel builds (e.g. with mvnd).
    
    Closes #22292
---
 docs/gulpfile.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/gulpfile.js b/docs/gulpfile.js
index 39d7dc056961..9880997246ff 100644
--- a/docs/gulpfile.js
+++ b/docs/gulpfile.js
@@ -206,7 +206,8 @@ const sources = {
         
'../core/camel-base/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
         
'../core/camel-main/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
         
'../components/{*,*/*}/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
-        
'../dsl/**/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
+        
'../dsl/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
+        
'../dsl/{*,*/!(target)}/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
       ],
       destination: 'components/modules/others/pages',
       keep: [

Reply via email to