Plugin org.sonarqube dependencies missing in repository

cannot-reproduce

(Jan Rodan) #1

FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project ‘Workspace’.
Could not resolve all dependencies for configuration ‘:classpath’.
Could not resolve org.sonarsource.scanner.api:sonar-scanner-api:2.6.
Required by:
:SVI-Workspace:unspecified > org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.0.1
Could not resolve org.sonarsource.scanner.api:sonar-scanner-api:2.6.
Could not parse POM https://plugins.gradle.org/m2/org/sonarsource/scanner/api/sonar-scanner-api/2.6/sonar-scanner-api-2.6.pom
Could not resolve org.sonarsource.scanner.api:sonar-scanner-api-parent:2.6.
Could not resolve org.sonarsource.scanner.api:sonar-scanner-api-parent:2.6.
Could not parse POM https://plugins.gradle.org/m2/org/sonarsource/scanner/api/sonar-scanner-api-parent/2.6/sonar-scanner-api-parent-2.6.pom
Could not find org.sonarsource.parent:parent:31.
Searched in the following locations:
https://plugins.gradle.org/m2/org/sonarsource/parent/parent/31/parent-31.pom
https://plugins.gradle.org/m2/org/sonarsource/parent/parent/31/parent-31.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.4 secs

Currently in the repository only version 26 of the “parent” project is available. Upgrading to sonarqube 2.1-rc3 does not change the issue.

Thanks and regards

Jan


(Stefan Wolf) #2

Hi Jan,

thank you for the report. Could you describe a little bit better what you are trying to do and provide a sample build.gradle for this problem?

Thanks,
Stefan