How to include a JAR file into benchmarks.jar

Wei-Jun Wang weijun.wang at oracle.com
Tue Jan 4 21:46:41 UTC 2022


My JMH project needs a 3rd-party JAR file (not in maven repo) and I can add it as a system scope dependency. It builds fine but the JAR file is not merged into the final benchmarks.jar output. The "Including xxx in the shaded jar" lines do not include it.

Is there a way to include it?

Thanks in advance,
Weijun



More information about the jmh-dev mailing list