SonarQube Runner
  1. SonarQube Runner
  2. SONARUNNER-37

The property sonar.sources should not be mandatory

    Details

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

      Description

      Generally projects with modules don't have any sources in the root module. It currently fails with the error :

      Exception in thread "main" org.sonar.runner.RunnerException: org.sonar.runner.RunnerException: You must define the following mandatory properties for 'xxx': sonar.sources
      
      

        Issue Links

          Activity

          Hide
          Julien HENRY added a comment -

          The property sonar.sources is no more mandatory when the property sonar.modules is present. But it is still mandatory otherwise.

          Show
          Julien HENRY added a comment - The property sonar.sources is no more mandatory when the property sonar.modules is present. But it is still mandatory otherwise.
          Hide
          Fabrice Bellingard added a comment -

          Manually tested.

          Show
          Fabrice Bellingard added a comment - Manually tested.
          Hide
          Julien HENRY added a comment -

          No need for IT.

          Show
          Julien HENRY added a comment - No need for IT.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: