This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch camel-quarkus-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
The following commit(s) were added to refs/heads/camel-quarkus-main by this
push:
new 04f30cd1 Document native builds and native IT verification in AGENTS.md
04f30cd1 is described below
commit 04f30cd172ed90e64135c3ea8dd61bb72fe53408
Author: James Netherton <[email protected]>
AuthorDate: Tue Oct 20 11:31:10 2026 +0100
Document native builds and native IT verification in AGENTS.md
* List GraalVM / Mandrel 25+ as the native toolchain
* Add the mvn clean verify -Dnative command for running the *IT tests
natively
* Make native verification a regular step in the new example checklist
Co-authored-by: Claude Opus 5.5 <[email protected]>
---
AGENTS.md | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
index ccd4b192..824f40b1 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -27,6 +27,7 @@ core (e.g. GitHub issues instead of JIRA).
- Build: Maven 3.9+ (use the provided `./mvnw` wrapper)
- Java: 21+ (CI also exercises JDK 25)
+- GraalVM 25+ / Mandrel 25+ for native builds
- BOMs: `quarkus-bom` + `quarkus-camel-bom` (extension versions are inherited,
never pinned per-dependency)
- Tests: `@QuarkusTest` (JVM) and `@QuarkusIntegrationTest` (packaged/native)
@@ -84,13 +85,16 @@ mvn clean compile quarkus:dev
mvn clean package
java -jar target/quarkus-app/quarkus-run.jar
-# native build + run (needs GraalVM or the container builder)
+# native build + run
mvn clean package -Dnative
./target/*-runner
# tests
mvn clean test
+# native build + @QuarkusIntegrationTest (*IT) tests
+mvn clean verify -Dnative
+
# license / formatting / imports (run before pushing)
mvn license:check formatter:validate impsort:check
```
@@ -123,8 +127,8 @@ formatting, compilation, tests, and native builds
(Linux/Windows, JDK 21/25).
```
2. Implement the routes/beans under `org.acme.<domain>.<feature>`, configure
`application.properties`, add tests, and complete the generated
`README.adoc`.
-3. Verify locally: `mvn clean test`, `mvn quarkus:dev`, and — if the example is
- expected to — `mvn clean package -Dnative`.
+3. Verify locally: `mvn clean test`, `mvn quarkus:dev`, and
+ `mvn clean verify -Dnative`.
4. Run `mvn license:check formatter:validate impsort:check`.
5. Open the PR from your fork **against `camel-quarkus-main`**, reference the
GitHub issue (if any), and request review from active committers.