You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked the parent pom for strongbox project, jacoco configuration is already present in it, as a seperate profile with name coverage. I tried to generate the jacoco coverage by building the project, but for some reason it is not getting generated.
Due to these missing .exec files reporting fails to Codacy server , i think its hitting api.codacy.com service to log these metrics.
I'm currently investigating why the jacoco files are not generated, by analysing the debug output of the build,. I found that the the default-test goal executed by maven doesn't contain the additional arguments that're specific to Jacoco agent. For some reason these parameters are not passed to the JVM that runs the tests.
This ticket has not been updated for over a month now, is anyone still working on it ? Because I found the following tasks are already in place for strongbox repository atleast
Get unit tests executed with the maven-surefire-plugin to produce JaCoCo coverage.
Get integration tests executed with the maven-failsafe-plugin to produce JaCoCo coverage.
Task Description
This is the master task for setting up code coverage and quality analysis using Sonarqube.
Tasks
The following tasks will need to be carried out:
Code coverage tasks:
maven-surefire-plugin
to produce JaCoCo coverage.maven-failsage-plugin
to produce JaCoCo coverage.Apply this to the following projects:
Useful links
Help
The text was updated successfully, but these errors were encountered: