You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2026/08/19 21:46:08 UTC
(juneau) 02/02: Ignore JMH-generated benchmark sources under juneau-integration-tests
This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
commit 4ba9524e6c249829ac461b5e8c6e9da86db42717
Author: James Bognar <ja...@apache.org>
AuthorDate: Wed Aug 19 17:45:56 2026 -0400
Ignore JMH-generated benchmark sources under juneau-integration-tests
Running the microbench profile's exec:java outside a full mvn install can make
jmh-generator-annprocess emit its generated *_jmhType/*_jmhTest classes at the module root
(org/...) instead of target/generated-sources/annotations. All real source under this module
lives under src/main/java and src/test/java, and these files regenerate on the next benchmark
compile, so ignore them rather than letting them show up as untracked.
---
juneau-integration-tests/.gitignore | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/juneau-integration-tests/.gitignore b/juneau-integration-tests/.gitignore
index 34acf885cb..d12beea76c 100644
--- a/juneau-integration-tests/.gitignore
+++ b/juneau-integration-tests/.gitignore
@@ -4,3 +4,10 @@
.project
/.settings/
/bin/
+
+# JMH annotation-processor generated benchmark sources. All real source under this module lives
+# under src/main/java and src/test/java; running the `microbench` profile's exec:java outside a
+# full `mvn install` can make jmh-generator-annprocess emit its generated *_jmhType/*_jmhTest
+# classes at the module root (org/...) instead of target/generated-sources/annotations. They
+# regenerate on the next benchmark compile.
+/org/**/jmh_generated/