Core problem is that a ton of MD-SAL wiring classes are OSGi-only and are reported as completely uncovered.
One problem is that JaCoCo is disable for SFT, but even if it were, the execution report covers only SFT code, not the launched Karaf instance.
YANGTOOLS-1167 offers hints why this is happening: we are using JaCoCo for the surefire JVM and do not pass argLine to the Karaf instance. As explained there, we need to perform a slight trick and run SFT without the options, but Karaf with those options.
- relates to
-
YANGTOOLS-1167 maven-plugin-it does not contribute to SonarCloud
- Resolved