Open Marco-Sulla opened 1 year ago
In addition to this, adding a plugin to parent pom and using only in one child pom, would not work, as in the other children modules than don't declare jmh-core
as the dependency, the plugin complains with:
[ERROR] Failed to execute goal pw.krejci:jmh-maven-plugin:0.2.2:benchmark (default-cli) on project core: Execution default-cli of goal pw.krejci:jmh-maven-plugin:0.2.2:benchmark failed: Could not find jmh-core in the list of dependencies. -> [Help 1]
Hello. I was able to run
jmh
with Intellij. From command line, without your plugin, no.I had to add also
jmh-core
as a dependency anyway:In theory this is not needed, since
jmh-core
is a dependency ofjmh-generator-annprocess
(that is in my pom).