Maven plugin sholud handle target/generated-test-sources

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 3.3.1
    • Component/s: Maven plugin
    • None

      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.

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

              Created:
              Updated:
              Resolved: