jacoco:instrument

Performs offline instrumentation. Note that after execution of test
you must restore original classes with help of
"restore-instrumented-classes" goal.

Warning: The preferred way for code coverage
analysis with JaCoCo is on-the-fly instrumentation. Offline
instrumentation has several drawbacks and should only be used if a
specific scenario explicitly requires this mode. Please consult documentation about offline instrumentation
before using this mode.