Control the location of the mockitoboot jar?

0 views
Skip to first unread message

Chris John - NOAA Affiliate

unread,
Nov 24, 2025, 5:18:11 PM (24 hours ago) Nov 24
to mockito
My IT recently updated their security software and the mockitoboot{long string of numbers}.jar (at C:\users\{username}\appdata\local\temp) is blocked from running. I'm using maven.

I'm already setting my temp directory in my .mvn/jvm.config to
-Djava.io.tmpdir=./target/temp
-Dtmp=./target/temp
-Dtemp=./target/temp

This has not changed where the mockitoboot jar is being written (it did solve the similar problem for surefirebooter).

Is there a way to configure the location used to write the mockitoboot jar with maven or otherwise? I would have expected setting the temp directory to do it.

Thanks,
Chris
Reply all
Reply to author
Forward
0 new messages