google / auto

A collection of source code generators for Java.
Apache License 2.0
10.42k stars 1.2k forks source link

Sonatype and Javadoc snapshots both failing since recently #1832

Open cpovirk opened 2 weeks ago

cpovirk commented 2 weeks ago

Sonatype

Failed to deploy artifacts: Could not transfer artifact com.google.auto:auto-common:jar:HEAD-20240816.234909-593 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): authentication failed for https://oss.sonatype.org/content/repositories/snapshots/com/google/auto/auto-common/HEAD-SNAPSHOT/auto-common-HEAD-20240816.234909-593.jar, status: 401 Content access is protected by token

That appears to have started with https://github.com/google/auto/commit/98c8ec71ca1693e96b3497f0c32a3801fbd281cd, but I assume it's a result of some credentials expiring or being regenerated or having access cut off. I reported a similar problem recently with Guava as internal bug 360518509, and it turned out to be simple to fix

I'm going to try looking up my Sonatype User Token and plugging it into our repository secrets. I don't know if the old one (last updated Aug 31, 2021) expired or what.


Javadoc

mv: cannot stat '/home/runner/work/auto/auto/target/site/apidocs': No such file or directory

(Or at least I'm guessing that that's the problem.)

That appears to have started with either https://github.com/google/auto/commit/8a9bd4f927a6449dc3fbe5883c00908d6c344c51 or https://github.com/google/auto/commit/a161323372bbfdcb7af491c92ed9b1f1a87ee92e. It's hard to be sure which because the submission of the one cancelled the CI for the other.