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 e007754d1c Prevent AI agents running native builds from the project
root
e007754d1c is described below
commit e007754d1c67687742d76991c190599be9c8fb91
Author: James Netherton <[email protected]>
AuthorDate: Wed Aug 5 15:48:53 2026 +0100
Prevent AI agents running native builds from the project root
---
.oss-ai-helper-rules/project-standards.md | 2 +-
AGENTS.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.oss-ai-helper-rules/project-standards.md
b/.oss-ai-helper-rules/project-standards.md
index b29037ea47..67543ca9ca 100644
--- a/.oss-ai-helper-rules/project-standards.md
+++ b/.oss-ai-helper-rules/project-standards.md
@@ -4,7 +4,7 @@ This rule file contains build tools, commands, and code style
constraints for th
- **Build tool:** Maven (wrapper `./mvnw` provided in root — always use it
instead of bare `mvn`)
- **Build command:** `./mvnw clean install` (full build with tests) or `./mvnw
clean install -Dquickly` (fast build, no tests)
-- **Test command:** `./mvnw verify` (JVM integration tests) or `./mvnw verify
-Dnative -Ddocker` (JVM + native tests)
+- **Test command:** `./mvnw verify` (JVM integration tests) or `./mvnw verify
-pl integration-tests/<module> -Dnative` (native tests — only run for specific
modules under `integration-tests/` or `integration-test-groups/`, never from
the project root)
- **Format command:** `./mvnw process-resources -Pformat` (run from project
root, formats code and updates metadata)
- **Module-specific build:** yes (use `-pl` from root, e.g. `./mvnw clean
install -pl extensions/kafka -am`)
- **Parallelized Maven:** no, unless tests are skipped and it is not a native
build (e.g. `./mvnw clean install -Dquickly -T1C`). Tests cause port clashes
and native builds exhaust CPU, memory and disk I/O
diff --git a/AGENTS.md b/AGENTS.md
index 08c98dcd86..08047c5f1c 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -64,7 +64,7 @@ examples/ # Example projects (separate repo:
camel-quarkus-examples)
./mvnw clean install -Dquickly # fast build, no tests
./mvnw clean install -T1C -Dquickly # parallel fast build, no tests
./mvnw clean install # full build with JVM tests
-./mvnw clean install -Dnative -Ddocker # full build with native tests
(very slow, -Ddocker can usually be omitted on MacOS)
+./mvnw clean install -pl integration-tests/kafka -Dnative # native tests for
a specific module (only for integration-tests/ or integration-test-groups/
modules)
./mvnw clean install -pl extensions/kafka -am # single extension
./mvnw process-resources -Pformat # format code & update metadata
```
@@ -75,7 +75,7 @@ examples/ # Example projects (separate repo:
camel-quarkus-examples)
```bash
./mvnw test # unit tests
./mvnw verify # integration tests JVM mode
-./mvnw verify -Dnative -Ddocker # integration tests JVM + native mode
(-Ddocker can usually be omitted on MacOS)
+./mvnw verify -pl integration-tests/kafka -Dnative # native tests for a
specific module (only for integration-tests/ or integration-test-groups/
modules)
./mvnw test -Dtest=MyTest # specific test
./mvnw test -pl integration-tests/kafka # specific module
```