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

**URL:** <https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999>\
**Category:** SonarQube Server / Community Build\
**Created:** [May 5, 2026, 12:54am UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999 "2026-05-05T00:54:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/scott/32/3175_2.png) [@Scott](https://community.sonarsource.com/u/Scott)\
**Post date:** [May 5, 2026, 12:54am UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999/1 "2026-05-05T00:54:25Z")

</div>

Hi,

I hate acting as your CI, but it looks like this is becoming [a](https://community.sonarsource.com/t/cant-build-sonarqube-from-source-due-to-missing-compliance-reports-dependency/153401) [recurring](https://community.sonarsource.com/t/build-from-source-failing-again-missing-sonar-spring-dependency/177067) [issue](https://community.sonarsource.com/t/build-from-source-failing-again-missing-sonar-spring-dependency/177067/8). 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:

```plaintext
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.

---

<div class="post-metadata">

**Author:** ![emma-m](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@emma-m](https://community.sonarsource.com/u/emma-m)\
**Post date:** [May 6, 2026, 8:41am UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999/4 "2026-05-06T08:41:11Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![Josue\_A\_de\_Lima](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/josue_a_de_lima/32/76373_2.png) [@Josue\_A\_de\_Lima](https://community.sonarsource.com/u/Josue_A_de_Lima)\
**Post date:** [May 27, 2026, 9:40am UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999/10 "2026-05-27T09:40:56Z")

</div>

Hi do you have any news with regards this issue? it seems the build is still broken.

Best

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [May 28, 2026, 2:09pm UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999/14 "2026-05-28T14:09:01Z")

</div>

Hi @Josue_A_de_Lima,

Welcome to the community and thanks for this report!

We’re on it.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![Julien\_HENRY](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/julien_henry/32/61_2.png) [@Julien\_HENRY](https://community.sonarsource.com/u/Julien_HENRY)\
**Post date:** [June 2, 2026, 10:52am UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999/21 "2026-06-02T10:52:48Z")

</div>

Hi @Josue_A_de_Lima this should have been fixed. Sorry for the inconvenience.

---

<div class="post-metadata">

**Author:** ![Josue\_A\_de\_Lima](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/josue_a_de_lima/32/76373_2.png) [@Josue\_A\_de\_Lima](https://community.sonarsource.com/u/Josue_A_de_Lima)\
**Post date:** [June 3, 2026, 7:54am UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999/24 "2026-06-03T07:54:29Z")

</div>

Hi Julien Henry, thanks for the update, the issue still seems unresolved. Sonarqube 26.5.0.122743b pins scanner-engine 12.30.0.3186, but Maven Central only publishes 12.31+ for org.sonarsource.scanner.engine. Versions 12.26–12.30 remain  
unpublished, blocking build-from-source. Could you backfill them, or tag a release using 12.31+? Thanks so much!

---

<div class="post-metadata">

**Author:** ![Julien\_HENRY](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/julien_henry/32/61_2.png) [@Julien\_HENRY](https://community.sonarsource.com/u/Julien_HENRY)\
**Post date:** [June 3, 2026, 8:13am UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999/25 "2026-06-03T08:13:42Z")

</div>

Indeed, we fixed the master branch only.

Not sure how easy it would be to publish older releases on Maven Central. If you need a tagged version of SQ, might be simpler to wait for 26.6.

You can also take the 26.5.0.122743 tag and update the scanner engine dependency to 12.31, the only change was literally to fix the Maven Central publication.

---

<div class="post-metadata">

**Author:** ![Josue\_A\_de\_Lima](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/josue_a_de_lima/32/76373_2.png) [@Josue\_A\_de\_Lima](https://community.sonarsource.com/u/Josue_A_de_Lima)\
**Post date:** [June 3, 2026, 2:00pm UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999/26 "2026-06-03T14:00:50Z")

</div>

Thank you! seems the latest version actually builds without any problems, thanks for your help and quick response.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [June 10, 2026, 2:01pm UTC](https://community.sonarsource.com/t/build-from-source-failing-again-due-to-missing-scanner-engine-dependencies/181999/27 "2026-06-10T14:01:01Z")

</div>

Closed on June 10, 2026, 2:01pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
