Build from source failing (again) due to missing scanner-engine dependencies

Hi,

I hate acting as your CI, but it looks like this is becoming a recurring issue. Since April 20th, I have been unable to build SonarQube from source. The build is failing to resolve another set of artifacts, this time related to scanner-engine.

Here is the cleaned up error log:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':sonar-application:shadowJar'.
> Could not resolve all dependencies for configuration ':sonar-application:runtimeClasspath'.
   > Could not find com.sonarsource.scanner.engine:scanner-engine-protocol-server:12.26.0.2875.
     Required by:
         project :sonar-application > project :server:sonar-ce > project :server:sonar-ce-common
         project :sonar-application > project :server:sonar-ce > project :server:sonar-ce-task-projectanalysis
         project :sonar-application > project :server:sonar-webserver > project :server:sonar-webserver-core
         project :sonar-application > project :server:sonar-webserver > project :server:sonar-webserver-webapi
   > Could not find com.sonarsource.scanner.engine:protobuf-utils:12.26.0.2875.
     Required by:
         project :sonar-application > project :server:sonar-ce > project :server:sonar-ce-task-projectanalysis > project :server:sonar-db-dao

It seems like private or commercial dependencies are repeatedly leaking into the public build configuration. Could you please check if these artifacts can be published to the public repositories, or adjust the build so community builds do not require them?

Thanks again for looking into this.

Hello,

Thank you for your input and sorry it happens again with an other dependency.

We recently have extracted the sonar scanner-engine from the sonar-enterprise repo but we forgot to publish this new extracted dependency. Sorry for this.

We will treat this, and I will keep you updated once it’s published.

I will assign the responsible squad of the dependency to this topic so they will be more able to give you updated.

Thank you,