|
22 | 22 | <version>1.2</version> |
23 | 23 | </dependency> |
24 | 24 |
|
| 25 | + <dependency> |
| 26 | + <groupId>org.junit.jupiter</groupId> |
| 27 | + <artifactId>junit-jupiter</artifactId> |
| 28 | + <version>5.12.2</version> |
| 29 | + <scope>test</scope> |
| 30 | + </dependency> |
| 31 | + |
| 32 | + <!-- Java Microbenchmark Harness--> |
25 | 33 | <dependency> |
26 | 34 | <groupId>org.openjdk.jmh</groupId> |
27 | 35 | <artifactId>jmh-core</artifactId> |
|
32 | 40 | <artifactId>jmh-generator-annprocess</artifactId> |
33 | 41 | <version>1.37</version> |
34 | 42 | </dependency> |
| 43 | + <!--Java Microbenchmark Harness--> |
35 | 44 |
|
36 | | - <dependency> |
37 | | - <groupId>org.junit.jupiter</groupId> |
38 | | - <artifactId>junit-jupiter</artifactId> |
39 | | - <version>5.12.2</version> |
40 | | - <scope>test</scope> |
41 | | - </dependency> |
42 | 45 | </dependencies> |
43 | 46 |
|
44 | | - |
45 | | - <build> |
46 | | - <plugins> |
47 | | - <plugin> |
48 | | - <groupId>org.apache.maven.plugins</groupId> |
49 | | - <artifactId>maven-compiler-plugin</artifactId> |
50 | | - <version>3.13.0</version> |
51 | | - <configuration> |
52 | | - <source>${maven.compiler.source}</source> |
53 | | - <target>${maven.compiler.target}</target> |
54 | | - <annotationProcessorPaths> |
55 | | - <path> |
56 | | - <groupId>org.openjdk.jmh</groupId> |
57 | | - <artifactId>jmh-generator-annprocess</artifactId> |
58 | | - <version>1.37</version> |
59 | | - </path> |
60 | | - </annotationProcessorPaths> |
61 | | - </configuration> |
62 | | - </plugin> |
63 | | - <plugin> |
64 | | - <artifactId>maven-dependency-plugin</artifactId> |
65 | | - <executions> |
66 | | - <execution> |
67 | | - <id>build-classpath</id> |
68 | | - <goals> |
69 | | - <goal>build-classpath</goal> |
70 | | - </goals> |
71 | | - <configuration> |
72 | | - <includeScope>runtime</includeScope> |
73 | | - <outputProperty>depClasspath</outputProperty> |
74 | | - </configuration> |
75 | | - </execution> |
76 | | - </executions> |
77 | | - </plugin> |
78 | | - <plugin> |
79 | | - <groupId>org.codehaus.mojo</groupId> |
80 | | - <artifactId>exec-maven-plugin</artifactId> |
81 | | - <version>3.5.0</version> |
82 | | - <configuration> |
83 | | - <mainClass>Dojo</mainClass> |
84 | | - <systemProperties> |
85 | | - <systemProperty> |
86 | | - <key>java.class.path</key> |
87 | | - <!--suppress MavenModelInspection --> |
88 | | - <value>${project.build.outputDirectory}${path.separator}${depClasspath}</value> |
89 | | - </systemProperty> |
90 | | - </systemProperties> |
91 | | - </configuration> |
92 | | - </plugin> |
93 | | - </plugins> |
94 | | - </build> |
| 47 | + <!--Java Microbenchmark Harness--> |
| 48 | + <build> |
| 49 | + <plugins> |
| 50 | + <plugin> |
| 51 | + <groupId>org.apache.maven.plugins</groupId> |
| 52 | + <artifactId>maven-compiler-plugin</artifactId> |
| 53 | + <version>3.13.0</version> |
| 54 | + <configuration> |
| 55 | + <source>${maven.compiler.source}</source> |
| 56 | + <target>${maven.compiler.target}</target> |
| 57 | + <annotationProcessorPaths> |
| 58 | + <path> |
| 59 | + <groupId>org.openjdk.jmh</groupId> |
| 60 | + <artifactId>jmh-generator-annprocess</artifactId> |
| 61 | + <version>1.37</version> |
| 62 | + </path> |
| 63 | + </annotationProcessorPaths> |
| 64 | + </configuration> |
| 65 | + </plugin> |
| 66 | + <plugin> |
| 67 | + <artifactId>maven-dependency-plugin</artifactId> |
| 68 | + <executions> |
| 69 | + <execution> |
| 70 | + <id>build-classpath</id> |
| 71 | + <goals> |
| 72 | + <goal>build-classpath</goal> |
| 73 | + </goals> |
| 74 | + <configuration> |
| 75 | + <includeScope>runtime</includeScope> |
| 76 | + <outputProperty>depClasspath</outputProperty> |
| 77 | + </configuration> |
| 78 | + </execution> |
| 79 | + </executions> |
| 80 | + </plugin> |
| 81 | + <plugin> |
| 82 | + <groupId>org.codehaus.mojo</groupId> |
| 83 | + <artifactId>exec-maven-plugin</artifactId> |
| 84 | + <version>3.5.0</version> |
| 85 | + <configuration> |
| 86 | + <mainClass>Dojo</mainClass> |
| 87 | + <systemProperties> |
| 88 | + <systemProperty> |
| 89 | + <key>java.class.path</key> |
| 90 | + <!--suppress MavenModelInspection --> |
| 91 | + <value>${project.build.outputDirectory}${path.separator}${depClasspath}</value> |
| 92 | + </systemProperty> |
| 93 | + </systemProperties> |
| 94 | + </configuration> |
| 95 | + </plugin> |
| 96 | + </plugins> |
| 97 | + </build> |
| 98 | + <!--Java Microbenchmark Harness--> |
95 | 99 |
|
96 | 100 | </project> |
0 commit comments