Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11850

Misleading warning about some properties defined at module level while in fact they are not

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.6
    • Fix Version/s: 7.9
    • Component/s: Scanner
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      With the drop of modules, we are now displaying a warning when some properties are defined at module level.

      But in Maven multi-module projects, setting a property on the root module will make it inherited on all child modules, and the warning will be displayed. Like:

      [WARNING] Specifying issue exclusions at module level is not supported anymore. Configure the property ‘sonar.issue.ignore.multicriteria’ and any other issue exclusions at project level.
      

      I'm not sure the fix should be on SonarQube side or on the scanner for Maven.

      See reproducer:
      https://community.sonarsource.com/t/sonar-issue-ignore-multicriteria-at-module-level-is-not-supported-anymore/7761

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julien.henry Julien Henry
                Reporter:
                julien.henry Julien Henry
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: