You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gradle plugin com.diffplug.gradle.spotless:com.diffplug.gradle.spotless.gradle.plugin:6.11.0 is failing on build because of spotless-lib:2.30.0 and spotless-lib-extra:2.30.0.
They are not available.
The Gradle plugin portal publish succeeded, but none of the maven central publishes actually happened (not lib, lib-extra, nor the maven plugin). The console log indicates that it worked, and I got emails from Sonatype Lift that indicated that at least parts of the deploy pipeline happened.
When I diff the two console logs, everything related to the publish is the same
< UP_TO_DATE (null)...cec88e2037daa772d1720d080762113dc69b2327---> UP_TO_DATE (null)...aadeaef0861309b8a4aadd5c04c8436451cdd82f28a18,38> > Task :lib:compileCompatKtLintApiJava> > Task :lib:processCompatKtLintApiResources NO-SOURCE> > Task :lib:compatKtLintApiClasses> > Task :lib:compileCompatKtLint0Dot31Dot0Java> > Task :lib:processCompatKtLint0Dot31Dot0Resources NO-SOURCE> > Task :lib:compatKtLint0Dot31Dot0Classes> > Task :lib:compileCompatKtLint0Dot32Dot0Java> > Task :lib:processCompatKtLint0Dot32Dot0Resources NO-SOURCE> > Task :lib:compatKtLint0Dot32Dot0Classes> > Task :lib:compileCompatKtLint0Dot34Dot2Java> > Task :lib:processCompatKtLint0Dot34Dot2Resources NO-SOURCE> > Task :lib:compatKtLint0Dot34Dot2Classes> > Task :lib:compileCompatKtLint0Dot45Dot2Java> > Task :lib:processCompatKtLint0Dot45Dot2Resources NO-SOURCE> > Task :lib:compatKtLint0Dot45Dot2Classes> > Task :lib:compileCompatKtLint0Dot46Dot0Java> > Task :lib:processCompatKtLint0Dot46Dot0Resources NO-SOURCE> > Task :lib:compatKtLint0Dot46Dot0Classes> > Task :lib:compileCompatKtLint0Dot47Dot0Java> > Task :lib:processCompatKtLint0Dot47Dot0Resources NO-SOURCE> > Task :lib:compatKtLint0Dot47Dot0Classes69c79< Created staging repository 'comdiffplug-1080' at https://s01.oss.sonatype.org/service/local/repositories/comdiffplug-1080/content/---> Created staging repository 'comdiffplug-1083' at https://s01.oss.sonatype.org/service/local/repositories/comdiffplug-1083/content/87,88c97,98< push refs/tags/lib/2.29.0 to origin git@github.com:diffplug/spotless.git< OK 0000000000000000000000000000000000000000...a85788c79b8ede73d077736de7065023e62d8ba4 fastForward---> push refs/tags/lib/2.30.0 to origin git@github.com:diffplug/spotless.git> OK 0000000000000000000000000000000000000000...626d44f723bc371383052450012fe01ab72cc1dc fastForward90c100< OK cec88e2037daa772d1720d080762113dc69b2327...1dfd0ee20868f9ca1b76817ae143712b3df8d729 fastForward---> OK aadeaef0861309b8a4aadd5c04c8436451cdd82f...6cee33d6f035b462be5800c154d86ecad63cdd57 fastForward92,93c102,103< BUILD SUCCESSFUL in 1m 25s< 38 actionable tasks: 38 executed
\ No newline at end of file
---> BUILD SUCCESSFUL in 2m 26s> 45 actionable tasks: 45 executed
\ No newline at end of file
Yeah, I'm pretty sure this was just a slow sync from s01 to repo1 on the Sonatype side. 2.30 isn't showing up in search, but it's clearly there. In the stacktrace at the top
Could not find com.diffplug.spotless:spotless-lib:2.30.0.
Searched in the following locations:
- file:/Users/njimenez/.m2/repository/com/diffplug/spotless/spotless-lib/2.30.0/spotless-lib-2.30.0.pom
- https://repo.maven.apache.org/maven2/com/diffplug/spotless/spotless-lib/2.30.0/spotless-lib-2.30.0.pom
- https://plugins.gradle.org/m2/com/diffplug/spotless/spotless-lib/2.30.0/spotless-lib-2.30.0.pom
Activity
jvanderwee commentedon Sep 14, 2022
Looks like the CircleCI job which deploys the artifacts is still running https://github.com/diffplug/spotless/runs/8343619081
nedtwigg commentedon Sep 14, 2022
Very strange... The CI job which deployed this most recent (failed) publish of
2.30.0is here:https://app.circleci.com/pipelines/github/diffplug/spotless/2355/workflows/38b72e7d-252a-4b06-bfc7-e979f1e8c352/jobs/13274
The previous successful publish of
2.29.0is here:https://app.circleci.com/pipelines/github/diffplug/spotless/2203/workflows/9e71288e-c99d-4da1-87f9-edbd49e27887/jobs/12484
The Gradle plugin portal publish succeeded, but none of the maven central publishes actually happened (not lib, lib-extra, nor the maven plugin). The console log indicates that it worked, and I got emails from Sonatype Lift that indicated that at least parts of the deploy pipeline happened.
When I diff the two console logs, everything related to the publish is the same
If you compare the codebase at
lib/2.29.0vslib/2.30.0the only differences related to the build that I can see are:7.5->7.5.1com.github.spotbugs 5.0.10 -> 5.0.12org.gradle.test-retry 1.4.0 -> 1.4.1io.github.davidburstrom.version-compatibilityplugin to thelibbuild (shouldn't matter)I logged into
s01.oss.sonatype.org, and I don't have any staging repositories there:But the collective staging repositories
And collective release repositories
And the "Public repositories" all have it
So I think the problem is some kind of sync from
s01.oss.sonatype.orgto mavencentral. I'm continuing to investigate...nedtwigg commentedon Sep 14, 2022
Yeah, I'm pretty sure this was just a slow sync from
s01torepo1on the Sonatype side.2.30isn't showing up in search, but it's clearly there. In the stacktrace at the topThe pom link https://repo.maven.apache.org/maven2/com/diffplug/spotless/spotless-lib/2.30.0/spotless-lib-2.30.0.pom is now clearly working. No action taken on my part, just a slow sync. Frowny face. I'm gonna email Sonatype to ask what the expected sync time is supposed to be.
This should be resolved now, if it isn't, please post back and I'll reopen.
njimenezotto commentedon Sep 15, 2022
Thanks a lot for your analyse. It's working.
deeptechs commentedon Oct 31, 2022
We are still not able to download in our CI/CD environments. You can check the browser pages. There is only pom file..
Also this deployment is still running.. https://github.com/diffplug/spotless/runs/8343619081