Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1469

Maven plugin sholud handle target/generated-test-sources

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.3.1
    • Maven plugin
    • None
    • 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

      The AbstractInstrumenter recognizes only the target/generated-sources path:

      private boolean isGeneratedSourcesDirectory(final String sourceRoot) {
              String generatedSrcDirDefaultLifecycle = File.separator + "target" + File.separator + "generated-sources";
              String generatedSrcDirCloverLifecycle = File.separator + "target" + File.separator + "clover" + File.separator + "generated-sources";
              return sourceRoot.indexOf(generatedSrcDirDefaultLifecycle) != -1
                      || sourceRoot.indexOf(generatedSrcDirCloverLifecycle) != -1;
          }
      

      It shall also detect the target/generated-test-sources.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: