SonarQube Runner
  1. SonarQube Runner
  2. SONARUNNER-64

Replace setUnmaskedPackages by a more flexible mechanism

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Labels:
      None
    • Number of attachments :
      0

      Description

      EmbeddedRunner.setUnmaskedPackages is not flexible enough for the needs of the Maven plugin.
      We need to register an ordered list of includes/excludes for class name prefix. First matching include/exclude prefix will be used.
      Example:

      EmbeddedRunner.create()
        .unmask("org.slf4j.Logger") // Include slf4j Logger
        .mask("org.slf4j.") // Exclude other slf4j classes
        .mask("ch.qos.logback.") // Exclude logback
        .unmask("") // Include everything else
      

      By default and to keep backward compatibility, latest implicit rule will be to mask everything.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Julien HENRY
            Reporter:
            Julien HENRY
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: