problem running mixed java/scala jmh project

Alex Averbuch alex.averbuch at neotechnology.com
Fri Dec 16 15:44:18 UTC 2016


I have a java-only JMH project that I'd like to add scala benchmarks to.
To do that I updated the pom to be a mix of those generated by
jmh-java-benchmark-archetype & jmh-scala-benchmark-archetype.

Both before (java.xml) and after (java-scala.xml) poms are attached.

The following setting is enabled in IntelliJ:
Build, Execution, Deployment --> Compiler --> Annotation Processor -->
Enable annotation processing

But something's going wrong...
When I try to run the new Scala benchmark from IntelliJ I get the following
error:
Caused by: No benchmarks to run; check the include/exclude regexps.

However, when running with maven from terminal it works fine.
Also, after that successful run with maven I can then run from IntelliJ
with no problem.

Any know what I need to do to get this working?
Thanks


More information about the jmh-dev mailing list