
Failed to execute goal :sonar-maven-plugin:3.:sonar (default-cli) on project _: The preview mode, along with the ‘’ parameter, is no more supported. Load/download plugins (done) | time=285ms Server id: BF41A1F2-AXYUbhoOtyB3YoVlJW-N Load global settings (done) | time=127ms Default locale: “en_US”, source code encoding: “UTF-8” sonar-maven-plugin:3.:sonar (default-cli) .aep.api. and server to 8.5.1 (build 38104), but I’m still facing some issue. I was using this version of Sonar server because I was following the github guide about custom rules.Īfter your suggestion, I’ve updated to sonar-maven-plugin:3. Unfortunately, I got no extra information when tried to set flags like /sonar.verbose. I’m running Sonar server (community edition - version 8.2 build 32929) through docker and using Java 1.8.0_221-b11. Our dependencies are managed by an internal artifact repository. My project is a multi-modules java application, built with maven.


Failed to execute goal :sonar-maven-plugin:3.0.2:sonar (default-cli) on project _ Unable to execute SonarQube: Fail to download libraries from server -> īut I have no idea why, because mvn can build normally.Ĭaused by: .MojoExecutionException: Unable to execute SonarQubeĪt. (ExceptionHandling.java:36)Īt. (ScannerBootstrapper.java:81)Īt .SonarQubeMojo.execute (SonarQubeMojo.java:112)Īt .DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)Ĭaused by: .internal.ScannerException: Unable to execute SonarQubeĪt .internal.IsolatedLauncherFactory$1.run (IsolatedLauncherFactory.java:84)Īt .internal.IsolatedLauncherFactory$1.run (IsolatedLauncherFactory.java:71)Ĭaused by: : Fail to download libraries from serverĪt. (Jars.java:93)Īt. (Jars.java:70)Īt. (JarDownloader.java:39)Īt .internal.IsolatedLauncherFactory$1.run (IsolatedLauncherFactory.java:75)Ĭaused by: : 1Īt. (Jars.java:87)Īt (Native Method) If I run this command with a project from github, it works with this internal project, it doesn’t work.

I’m evaluating SonarQube to check if it suits my company’s need, but I cannot scan our project.
