SonarQube Eclipse
  1. SonarQube Eclipse
  2. SONARIDE-365

For multi-module projects, local analyses only report new violations

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: Local Mode
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I'm pretty sure that this is due to the fact that for a given module:

      • when analysed with Maven on a CI server for instance, this resource is considered as a module is Sonar (because analysed in the context of its parent project)
      • whereas when analysed by the Sonar Runner in local mode, this module is considered as a top project

        Issue Links

          Activity

          Hide
          Fabrice Bellingard added a comment -

          With Sonar 3.6 and the merge of violations & reviews into issues (see SONARIDE-377), this issue will be fixed by reading the new "sonar-report.json" file instead of the "dryRun.json" file.

          Show
          Fabrice Bellingard added a comment - With Sonar 3.6 and the merge of violations & reviews into issues (see SONARIDE-377 ), this issue will be fixed by reading the new "sonar-report.json" file instead of the "dryRun.json" file.
          Hide
          Julien HENRY added a comment -

          Indeed it seems to be fixed by the use of the new report from Sonar 3.6

          Show
          Julien HENRY added a comment - Indeed it seems to be fixed by the use of the new report from Sonar 3.6
          Hide
          Fabrice Bellingard added a comment -

          I confirm that this fixes the issue. However, before closing the ticket, we should make sure that it still correctly works with Sonar 3.6 GA.

          Show
          Fabrice Bellingard added a comment - I confirm that this fixes the issue. However, before closing the ticket, we should make sure that it still correctly works with Sonar 3.6 GA.
          Hide
          Julien HENRY added a comment -

          IT added

          Show
          Julien HENRY added a comment - IT added

            People

            • Assignee:
              Julien HENRY
              Reporter:
              Fabrice Bellingard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: