SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-1454

Sonar Projects using Ant task do not have submodule hierarchy in dashboard

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: ANT-TASK-1.1
    • Fix Version/s: ANT-TASK-2.0
    • Component/s: Ant Task
    • Labels:
      None
    • Environment:
      n/a
    • Number of attachments :
      0

      Description

      I've noticed in the dashboard a difference between the output of Maven Projects and Ant Task projects. Multi-module Ant projects tend to display as a 'flat' hierarchy, while the Maven ones maintain the submodule hierarchy. This has the negative effect that we can't look at submodule groupings for ant-based projects in the same way as in our Maven projects without resorting to a lot of manual configuration via the Views plugin.

      It would be a great addition to be able to achieve a similar result natively via the Ant task (perhaps via a 'parent module' property assigned on a per module basis)

        Issue Links

          Activity

          Hide
          Fabrice Bellingard added a comment -

          Have you had a look at the way to declare modules with the "sonar.modules" property? See the documentation here: http://docs.codehaus.org/display/SONAR/Analyzing+with+Ant+Task#AnalyzingwithAntTask-AnalyzingaMulti-moduleProject

          Show
          Fabrice Bellingard added a comment - Have you had a look at the way to declare modules with the "sonar.modules" property? See the documentation here: http://docs.codehaus.org/display/SONAR/Analyzing+with+Ant+Task#AnalyzingwithAntTask-AnalyzingaMulti-moduleProject

            People

            • Assignee:
              Unassigned
              Reporter:
              Jonathan Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: