I took a project that uses maven-surefire-plugin
(automated tests) to trigger JMH benchmarks and added module-info.java
to it. Now, META-INF/BenchmarkList
is no longer getting generated (in fact, the entire directory is missing) so I end up with the following error when launching the benchmarks:
ERROR: Unable to find the resource: /META-INF/BenchmarkList
I suspect that Java Modules is preventing the annotation processor from running properly, but I can't figure out how to fix it. Any ideas?