Good morning,
I have a problem with sonarqube. I have a problem when I type the command into the terminal. Project java spring framework. System Windows 10 home. The command is called mvn sonar: sonar. Then I get this message:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.example.pizza:demo:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.version' for org.assertj:assertj-core:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 60, column 22
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
[INFO]
[INFO] -----------------------< com.example.pizza:demo >-----------------------
[INFO] Building demo 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ demo ---
[INFO] Deleting F:\a Przedmioty - notatki, pdfy\VII od dejwa\SonarQube - Dejw\pizzav2\PizzeriaFinalFinal\target
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping demo
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.414 s
[INFO] Finished at: 2020-11-28T11:00:52+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on project demo: Failed to clean project: Failed to delete F:\a Przedmioty - notatki, pdfy\VII od dejwa\SonarQube - Dejw\pizzav2\PizzeriaFinalFinal\target -> [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