Skip to content

Commit 2871dd1

Browse files
committed
Use CLASSPATH environment variable
1 parent 40a781c commit 2871dd1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,11 @@
671671
<goal>exec</goal>
672672
</goals>
673673
<configuration>
674+
<environmentVariables>
675+
<CLASSPATH>target${file.separator}classes${path.separator}target${file.separator}test-classes${path.separator}${test.classpath}</CLASSPATH>
676+
</environmentVariables>
674677
<executable>${java.home}${file.separator}bin${file.separator}java</executable>
675-
<commandlineArgs>-cp "target${file.separator}classes${path.separator}target${file.separator}test-classes${path.separator}${test.classpath}" org.openjdk.jmh.Main ${jmh.args}</commandlineArgs>
678+
<commandlineArgs>org.openjdk.jmh.Main ${jmh.args}</commandlineArgs>
676679
</configuration>
677680
</execution>
678681
</executions>

0 commit comments

Comments
 (0)