Using JMH within a secure environment

Bernd Eckenfels ecki at zusammenkunft.net
Tue Jun 17 19:20:30 UTC 2014


Hello,

if you run maven once to get all dependencies downloaded you can
further use maven in offline mode (-o,--offline).

Gruss
Bernd

Am Tue, 17 Jun 2014 12:42:35 -0500
schrieb Kedar Bhat <kedar.r.bhat at gmail.com>:

> I searched the archives and didn't find this question answered, so
> apologies in advance if I missed it, but is it possible to use JMH
> within a secure (ie no internet access, not even through a proxy)
> environment? It seems that one needs to regenerate a
> microbenchmarks.jar file when there is a new method to be
> benchmarked, but this seems to require access to the outside world.
> Is the only alternative to setup a Maven repo within the  secure
> environment? Is it possible to use the jars on Maven Central to
> generate the microbenchmarks.jar without needing to access the
> outside world?
> 
> Thank you for any nudge in the right direction!
> 
> Kedar Bhat


More information about the jmh-dev mailing list