-
sonarqube is deployed on azurevm ,
-
current version is Developer Edition
-
Version 9.9
-
sonarqube prepare stage is working fine but maven stage is failing
with below error
Load/download plugins
[INFO] Load plugins index
[INFO] Load plugins index (done) | time=75ms
[INFO] Load/download plugins (done) | time=180252ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:39 min
[INFO] Finished at: 2023-03-15T06:12:57Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project pdh-changefeedprocessor: Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@5b628376-org.sonar.scanner.bootstrap.ScannerPluginRepository': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Fail to download plugin [cpp] into /home/vsts/.sonar/_tmp/fileCache10979693248543075232.tmp: EOFException -> [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