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

"sonar.profile" makes the analysis fail in preview mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2, 5.6.3, 6.2
    • Fix Version/s: 5.6.5, 6.3
    • Component/s: Scanner
    • Labels:
      None

      Description

      While running the analysis:

      • using deprecated property sonar.profile to use a different profile that the one specified in SonarQube
      • preview analysis mode

      the analysis fails:

      > mvn sonar:sonar -Dsonar.profile=All-java -Dsonar.analysis.mode=preview
      ....
      [INFO] Quality profile for java: Sonar way
      ...
      [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project test: sonar.profile was set to 'All-java' but didn't match any profile for any language. Please check your configuration. -> [Help 1]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duarte.meneses Duarte Meneses
                Reporter:
                jean-denis.coffre Jean-Denis Coffre
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: