-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
1559.vb_03b_1b_f1a_25c
Starting with pipeline-maven-plugin version 1556.vd9051b_d6ef5d the recordCoverage feature uses the Coverage Plugin for tracking coverage rather than the Jacoco plugin. However, this update also introduced a mandatory dependency, automatically installing the Coverage Plugin.
It would be better if the Coverage Plugin were made optional, allowing users who do not need this feature—or who rely on alternative coverage solutions—to avoid installing an additional, unnecessary plugin
Reproduction Steps:
- Clone the pipeline-maven-plugin repository.
- Start the plugin in development mode using:
mvn hpi:run - In the Jenkins instance, navigate to Manage Jenkins → Plugin Manager → Installed Plugins.
- Observe that the Coverage Plugin is installed by default as a dependency.
Expected Behavior:
The Coverage Plugin should not be installed by default. It should be optional; users should be able to install the Coverage Plugin themselves only if they wish to generate coverage reports.