With the Java microbenchmark harness, I have a project that builds and installs fine depending on a jar of functions that i'm benchmarking. The benchmark code is still in the JMH directory created from maven. This is all fine. Here are the pom.xml lines I added to get this to work:
<dependency>
<groupId>zerog.util.grisu</groupId>
<artifactId>grisu</artifactId>
<scope>system</scope>
<version>0.1</version>
<systemPath>/home/jnordwick/workspace/zerog-grisu/zerog-grisu.jar</systemPath>
</dependency>
However, the constantly exporting a new jar is getting tiresome and I have made a couple mistakes which caused me to not run against changes I just made.
How can I make it so that JMH mvn clean install
works against a directory of class files instead (i.e., the eclipse bin
directory)?