Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-4245

Don't allow to convert a Sonar Maven project into a Sonar Maven module

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7
    • Component/s: Scanner
    • Labels:
      None

      Description

      On Maven multi-module projects, some user analyse both the parent module and the sub-modules. This can lead to the following unexpected behavior :

      • Non-support of parallel analysis : SONAR-2761
      • The measures available at parent module level in Sonar are no more synchronized with measures available in sub modules

      When a user tries to convert a Sonar Maven project into a Sonar Maven module, the following error message must be thrown :

      • The project 'xxxxx' is already defined in Sonar but not as a module of project 'yyyy'. If you really want stop directly analysing project 'xxxx', please first delete it from Sonar and then relaunch the analysis of project 'yyyyy'.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henryju OLD - Julien HENRY
              Reporter:
              freddy.mallet Freddy Mallet (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: