Aklakan opened a new issue, #2492:
URL: https://github.com/apache/jena/issues/2492
### Version
5.1.0-SNAPSHOT
### What happened?
The Java Microbenchmark Harness (JMH) relies on annotation processing in
order to produce the `BenchmarkList` file.
Without this file, jmh benchmarks cannot bet run, and any attempt to run one
of the junit tests in the module will bail out with the error message `JMH
Unable to find the resource: /META-INF/BenchmarkList`.
```bash
# Under jena-benchmarks/jena-benchmarks-jmh
./target/test-classes/META-INF/BenchmarkList
```
However, annotation processing is disabled in jena's parent pom.
```xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${ver.plugin.compiler}</version>
<configuration>
<release>${java.version}</release>
<compilerArgument>-proc:none</compilerArgument> <!-- Disables
annotation processing -->
</configuration>
</plugin>
```
Also, there is a mismatch between the directory location and package
declaration of `JMHDefaultOptions.java` which causes eclipse to complain.
### Relevant output and stacktrace
_No response_
### Are you interested in making a pull request?
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]