Download https://plugins.gradle.org/m2/org/sonarqube/org.sonarqube.gradle.plugin/2.6.2/org.sonarqube.gradle.plugin-2.6.2.pom
FAILURE: Build failed with an exception.
* Where:
Build file 'xxxxxx' line: 32
* What went wrong:
Error resolving plugin [id: 'org.sonarqube', version: '2.6.2']
> Could not resolve all dependencies for configuration 'detachedConfiguration1'.
> Could not determine artifacts for org.sonarqube:org.sonarqube.gradle.plugin:2.6.2
> Could not get resource 'https://plugins.gradle.org/m2/org/sonarqube/org.sonarqube.gradle.plugin/2.6.2/org.sonarqube.gradle.plugin-2.6.2.jar'.
> Could not HEAD 'https://plugins.gradle.org/m2/org/sonarqube/org.sonarqube.gradle.plugin/2.6.2/org.sonarqube.gradle.plugin-2.6.2.jar'.
> Read timed out
While we can download the .pom file, we can not download the .jar file anymore, the server replies with a 404.
According to our monitoring, we have seen a few timeouts but not many over the past 24 hours. This seems to have been caused by a larger than normal number of “delete” requests", which messes with our caching (which should, in fairness, be much better). My local tests show that I can resolve both the sonarqube and gulp plugins from a Gradle build, but of course that doesn’t invalidate your claims.
I think there’s a bit of a misunderstanding regarding the “missing JAR” here. Let’s take the Gulp plugin for example. If you look at the directory listing for the Gulp plugin, you might see this:
No JAR? Notice the .gradle.plugin suffix here, and that if you open the POM, it has a dependency on the “real” gulp plugin with group = ‘com.moowork.gradle’ and artifact = ‘gradle-node-plugin’. This tells Gradle to download the real artifacts, see this directory listing here. https://plugins.gradle.org/m2/com/moowork/gulp/com.moowork.gulp.gradle.plugin/1.2.0/com.moowork.gulp.gradle.plugin-1.2.0.jarrightfully returns an HTTP 404.
This is how Gradle resolves plugins using the id "foo" version "X.Y.Z" syntax.
Anyway, if you give me some more context about what you’re seeing, e.g. about how many requests over what period of time, and for what plugins and so on, I’ll dig in a bit and see if there’s a bigger issue here that needs immediate attention.