Uploaded image for project: 'SonarQube Scanner API'
  1. SonarQube Scanner API
  2. SCANNERAPI-125

Duplicate properties when parsing project with deep level of modules

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None

      Description

      In the infrequent case where you want to declare all your properties in the root sonar-project.properties and have more than 2 level of modules like this:

      sonar.modules=moduleA
      moduleA.sonar.modules=moduleAA
      moduleA.moduleAA.sonar.modules=moduleAAA
      moduleA.moduleAA.moduleAAA.sonar.someProp=foo
      

      then properties passed to the batch will contains an extra "moduleAA.moduleAAA.sonar.someProp=foo" entry.

      When working on big projects with lot of modules this can quickly become a memory leak.

        Attachments

          Activity

            People

            Assignee:
            henryju OLD - Julien HENRY
            Reporter:
            henryju OLD - Julien HENRY
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: