Enable PowerMock instrumentation with JaCoCo 27/32427/1
authorStephen Kitt <skitt@redhat.com>
Tue, 12 Jan 2016 15:20:19 +0000 (16:20 +0100)
committerStephen Kitt <skitt@redhat.com>
Tue, 12 Jan 2016 15:20:19 +0000 (16:20 +0100)
commit697130c90da756caf7164313734496d3657f5ec7
tree45351f02cdd44f00d3feb5c1a6a1b40af0886214
parentc4a0bde241862b3079c7be203690d6653386c8bb
Enable PowerMock instrumentation with JaCoCo

By default PowerMock is incompatible with JaCoCo, even with the older
version of JaCoCo defined by odlparent: the tests run but their
coverage isn't measured. This patch forces offline instrumentation
which allows both PowerMock and JaCoCo to operate (more or less)
properly. There are a number of "class already instrumented" errors
but they don't affect the test results.

This patch also upgrades PowerMock to 1.6.4 (initially in the hope
that it would work with JaCoCo as-is); this requires an upgrade to
Mockito too. I'll drive these changes properly in odlparent and remove
the local overrides when appropriate!

Change-Id: I2ab704f7a28f325ed3bb5a75a6f34ffb6c3b36b3
Signed-off-by: Stephen Kitt <skitt@redhat.com>
openstack/net-virt-providers/pom.xml
openstack/net-virt-sfc/impl/pom.xml
openstack/net-virt/pom.xml
utils/config/pom.xml
utils/servicehelper/pom.xml