Can’t build SonarQube from source

Hello team, I’m trying to compile sonar from source and I can’t because of a 401 when trying to access to JFrog and JFrog

I am using a clean environment via docker, so there are no credentials configured to access to repox.jfrog.io

with curl you can reproduce the problem

url https://repox.jfrog.io/repox/plugins.gradle.org/
{
  "errors" : [ {
    "status" : 401,
    "message" : "{\"error\":\"Browse request for repo:path plugins.gradle.org: is forbidden for user 'anonymous'.\"}"
  } ]
 ./gradlew build --stacktrace 

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/sonarqube/build.gradle' line: 9

* What went wrong:
Plugin [id: 'com.github.hierynomus.license', version: '0.16.1'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.github.hierynomus.license:com.github.hierynomus.license.gradle.plugin:0.16.1')
  Searched in the following repositories:
    maven(https://repox.jfrog.io/repox/plugins.gradle.org/)

Thanks!!

repox.grad is publicly available again

1 Like

It’s not working again, did jfrog repo went private again?

Hi,

Welcome to the community, @oskar9991!

Thanks for the ping. We’re checking.

 
Ann

Hi again,

It’s related to this:

 
HTH,
Ann

Okey, but how to fix in Sonarlint project?