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 347de21f39f3 chore: exclude .claude and .omc directories from license
and RAT plugins
347de21f39f3 is described below
commit 347de21f39f34d0645db065a800d394f649f6e47
Author: Guillaume Nodet <[email protected]>
AuthorDate: Thu Apr 9 14:52:41 2026 +0200
chore: exclude .claude and .omc directories from license and RAT plugins
Claude Code and OMC create worktree directories (.claude/worktrees/) inside
the project root. The license-maven-plugin scans these and fails because
files like KEYS, doap.rdf, and .sdkmanrc have no comment style mapping
(failIfUnknown=true). Exclude both .claude/ and .omc/ from both the
mycila license plugin and the Apache RAT plugin.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
pom.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pom.xml b/pom.xml
index 976d3a5e71b1..284f360ab238 100644
--- a/pom.xml
+++ b/pom.xml
@@ -370,6 +370,8 @@
<exclude>**/zkserver*.conf</exclude>
<exclude>**/*.wasm</exclude>
<exclude>**/*.lock</exclude>
+ <exclude>.claude/**</exclude>
+ <exclude>.omc/**</exclude>
<exclude>.mvn/**</exclude>
<exclude>.sdkmanrc</exclude>
<exclude>KEYS</exclude>
@@ -582,6 +584,9 @@
<exclude>**/commands/edit/edit-help.txt</exclude>
<exclude>**/examples/*</exclude>
<exclude>**/src/main/resources/testdata/**/*</exclude>
+ <!-- Claude Code / OMC worktrees -->
+ <exclude>.claude/**/*</exclude>
+ <exclude>.omc/**/*</exclude>
<!-- Maven Wrapper -->
<exclude>.mvn/**/*</exclude>
<exclude>**/maven-wrapper/*</exclude>