Failed to upload report: The 'report' parameter is missing -> [Help 1]

When I run the command for the following command I got the following error:

mvn sonar:sonar -Dsonar.login=xx.

[INFO] Sensor Zero Coverage Sensor
[INFO] Sensor Zero Coverage Sensor (done) | time=37ms
[INFO] Sensor Java CPD Block Indexer
[INFO] Sensor Java CPD Block Indexer (done) | time=101ms
[INFO] SCM Publisher SCM provider for this project is: git
[INFO] SCM Publisher 104 source files to be analyzed
[INFO] SCM Publisher 103/104 source files have been analyzed (done) | time=651ms
[WARNING] Missing blame information for the following files:
[WARNING] * pom.xml
[WARNING] This may lead to missing/broken features in SonarQube

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project api-backend: Failed to upload report: The ‘report’ parameter is missing → [Help 1]

What should I do ?


My parameters for the pom.xml

		<!-- JaCoCo Properties -->
<!--	    <>${project.basedir}/../target/classes</> -->


@ganncamp is there possibility taht you have a solution for this ? Thanks


Please don’t @ people not already involved in your thread. Rest assured that all threads get looked at, and that @-ing someone doesn’t move you up the priority list. Just the opposite.

Can you provide the full analysis log?

As a side note on your parameters:

  • These do nothing:


    (Note that you listed twice)

  • These are read from your Maven env and don’t need to be set explicitly unless you’re overriding the defaults:


    (Note that you do seem to be overriding the default sources directory, but I’m not sure a value of . is wise)

  • This is only needed if you’re compiling to a lower Java version than you’re analyzing with: <>17</>

  • <sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath>
    This is the wrong property name
    It points to an .exec file, which is no longer supported
    There’s no need to re-state the default path, but in fact, this path doesn’t look valid to me

  • These are basically redundant

  • If you had not overridden sonar.sources to ., you wouldn’t need these; <sonar.exclusions>.project,.classpath,**/test/**/*,**/target/**/*</sonar.exclusions>