Skip to content

Commit cfc4fc6

Browse files
authored
Merge pull request #299 from hadryyassine/yh/fix_java_simple_benchmark_demo
fix (java-simple-benchmark) : Explicitly configure JMH annotation processor in binary-tree benchmark
2 parents eb19543 + 3b2945c commit cfc4fc6

File tree

1 file changed

+9
-9
lines changed
  • java-simple-stream-benchmark

1 file changed

+9
-9
lines changed

java-simple-stream-benchmark/pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ questions.
3535
<name>Simple Java stream benchmark</name>
3636

3737
<prerequisites>
38-
<maven>4.0</maven>
38+
<maven>3.8.8</maven>
3939
</prerequisites>
4040

4141
<properties>
@@ -51,24 +51,24 @@ questions.
5151
<artifactId>jmh-core</artifactId>
5252
<version>${jmh.version}</version>
5353
</dependency>
54-
<dependency>
55-
<groupId>org.openjdk.jmh</groupId>
56-
<artifactId>jmh-generator-annprocess</artifactId>
57-
<version>${jmh.version}</version>
58-
<scope>provided</scope>
59-
</dependency>
6054
</dependencies>
6155

6256
<build>
6357
<plugins>
6458
<plugin>
6559
<groupId>org.apache.maven.plugins</groupId>
6660
<artifactId>maven-compiler-plugin</artifactId>
67-
<version>3.1</version>
61+
<version>3.8.1</version>
6862
<configuration>
69-
<compilerVersion>${javac.target}</compilerVersion>
7063
<source>${javac.target}</source>
7164
<target>${javac.target}</target>
65+
<annotationProcessorPaths>
66+
<path>
67+
<groupId>org.openjdk.jmh</groupId>
68+
<artifactId>jmh-generator-annprocess</artifactId>
69+
<version>${jmh.version}</version>
70+
</path>
71+
</annotationProcessorPaths>
7272
</configuration>
7373
</plugin>
7474
<plugin>

0 commit comments

Comments
 (0)