From 0e971fa19ea0589ba5830399a7ad39ad05a5866a Mon Sep 17 00:00:00 2001 From: yassine_hadry Date: Mon, 11 Nov 2024 14:27:24 +0100 Subject: [PATCH 1/2] fix(jmh): explicitly configure JMH annotation processor in binary-tree benchmark --- jmh/benchmark-binary-tree/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jmh/benchmark-binary-tree/pom.xml b/jmh/benchmark-binary-tree/pom.xml index 32d46f394..83863718a 100644 --- a/jmh/benchmark-binary-tree/pom.xml +++ b/jmh/benchmark-binary-tree/pom.xml @@ -84,6 +84,14 @@ THE POSSIBILITY OF SUCH DAMAGE. ${javac.target} ${javac.target} ${javac.target} + + + org.openjdk.jmh + jmh-generator-annprocess + ${jmh.version} + + + true From e1adeedd8aa5baebb5e0929e7d43abbc9cc792ce Mon Sep 17 00:00:00 2001 From: yassine_hadry Date: Mon, 11 Nov 2024 16:38:20 +0100 Subject: [PATCH 2/2] Remove the dependency of jmh to avoid duplication with the plugin --- jmh/benchmark-binary-tree/pom.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/jmh/benchmark-binary-tree/pom.xml b/jmh/benchmark-binary-tree/pom.xml index 83863718a..c95f11faa 100644 --- a/jmh/benchmark-binary-tree/pom.xml +++ b/jmh/benchmark-binary-tree/pom.xml @@ -66,12 +66,6 @@ THE POSSIBILITY OF SUCH DAMAGE. jmh-core ${jmh.version} - - org.openjdk.jmh - jmh-generator-annprocess - ${jmh.version} - provided -