Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15847

Protect repositories from being polluted by code instrumented by Clover

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      In case when user runs "mvn clover2:setup install", JARs containing instrumented code will be installed into ~/.m2 local cache. It may cause NoClassDefFoundError in case when such JAR is picked in another build in which Clover is not enabled.

      Similarly, when user runs "mvn clover2:setup deploy", instrumented JARs will be deployed to a repository.

      Clover should allow to protect users from polluting their repositories.

      This repository pollution protection feature will be enabled by default for builds where automatic Clover integration is used. In case of manual Clover integration, user can enable this protection by the -Dmaven.clover.repositoryPollutionProtection=true flag.

      Attachments

        Issue Links

          Activity

            People

              mparfianowicz Marek Parfianowicz
              mparfianowicz Marek Parfianowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: