Failed to execute sonar-maven-plugin on project parent : Failed to create temp file

Hello,
When we launches Sonar scanner for maven, we have an error :

[INFO] Reactor Summary for parent 1.1.0-SNAPSHOT:
[INFO]
[INFO] parent ............................................. FAILURE [ 55.282 s]
[INFO] apis ............................................... SUCCESS [  0.472 s]
[INFO] api-authorization-config-json ...................... SUCCESS [ 22.785 s]
[INFO] api-authorization-config ........................... SUCCESS [ 10.174 s]
[INFO] api-authorization-tree ............................. SUCCESS [ 15.778 s]
[INFO] api-authorization .................................. SUCCESS [  7.031 s]
[INFO] libraries .......................................... SUCCESS [  0.549 s]
[INFO] lib-authorization-config-json ...................... SUCCESS [ 25.724 s]
[INFO] lib-authorization-config ........................... SUCCESS [ 29.294 s]
[INFO] lib-authorization-tree ............................. SUCCESS [ 14.565 s]
[INFO] services ........................................... SUCCESS [  0.858 s]
[INFO] authorization ...................................... SUCCESS [ 20.376 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:28 min
[INFO] Finished at: 2023-01-16T10:06:23+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project parent: Failed to create temp file: /home/yanis/Documents/incepto/aiur-authorization/target/sonar/.sonartmp/scanner-report2119080169226243625.zip -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

The command we launched :

mvn clean verify sonar:sonar -Dsonar.login= -Dsonar.projectKey=aiur-authorization -Dsonar.projectName=aiur-authorization -Dsonar.host.url= -Dsonar.qualitygate.wait=false -Dsonar.log.level=WARN -Dsonar.language=java -Dsonar.java.coveragePlugin=jacoco -Dsonar.jacoco.reportPath=$project.basedir/../target/jacoco.exec

We’re using SonarQube 9.5.0.56709.
Have you got any solution please ? We tried on other repos without any problem but on this one, it doesn’t works …

1 Like

3 posts were merged into an existing topic: Failed to create temp file sonar 9.6