SonarQube
  1. SonarQube
  2. SONAR-854

Sonar should configure exclude sources for checkstyle plugin

    Details

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

      Description

      Exclude sources are filtered by Sonar when updating the DB.
      This leads to difference between the plugin reports and Sonar.
      It would be better to configure the maven checkstyle plugin to exclude the source directlly

      This issue is similar to SONAR-853

        Issue Links

          Activity

          Hide
          Anthonin Bonnefoy added a comment -

          The solution is very similar to the exclusion with Pmd except that Checkstyle takes comma-separated ant pattern in the pom.

          Show
          Anthonin Bonnefoy added a comment - The solution is very similar to the exclusion with Pmd except that Checkstyle takes comma-separated ant pattern in the pom.
          Hide
          CÚdric Munger added a comment -

          Patch applied, thanks a lot !

          Show
          CÚdric Munger added a comment - Patch applied, thanks a lot !

            People

            • Assignee:
              CÚdric Munger
              Reporter:
              Anthonin Bonnefoy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: