Skip to content

Conversation

copybara-service[bot]
Copy link
Contributor

Fix some problems with the Central Publishing Portal setup after cl/786033817:

  • Stop inheriting from oss-parent in guava-bom. I'm seeing guava-bom try to deploy to the old oss.sonsatype.org, even as the other subprojects successful deploy to central.sonatype.com, and I believe that's a result of the parent. I put in the new Central config to compensate. (I don't remember if we have a good reason for guava-bom to not inherit from guava-parent, but I figure there's some chance we do. I could look into it.)
  • Skip central-publishing-maven-plugin for guava-tests, just as we did for maven-deploy-plugin. I haven't seen evidence that this is a problem yet, but that may be only because:
    • We've attempted only snapshot releases, not "full" releases? I think that some problems "like this" have appeared only during validation of full releases, at least historically.
    • The snapshot release failed before it even got to guava-tests.
  • Avoid mentioning maven-deploy-plugin in guava-tests and even in our pluginManagement. We should no longer be using it, so we shouldn't need to specify a version.
  • Remove entry for sonatype-nexus-staging. That entry may or may not actually be a "problem," but I'd meant to remove it in the previous CL for all our projects. I just missed Guava (because I started with a list of projects that depend on Guava and then went back for Guava).

(Here's the log for the failure.)

RELNOTES=n/a

…86033817:

- Stop inheriting from `oss-parent` in `guava-bom`. I'm seeing `guava-bom` try to deploy to the old `oss.sonsatype.org`, even as the other subprojects successful deploy to `central.sonatype.com`, and I believe that's a result of the parent. I put in the new Central config to compensate. (I don't remember if we have a good reason for `guava-bom` to not inherit from `guava-parent`, but I figure there's some chance we do. I could look into it.)
- Skip `central-publishing-maven-plugin` for `guava-tests`, just as we did for `maven-deploy-plugin`. I haven't seen evidence that this is a problem yet, but that may be only because:
   - We've attempted only snapshot releases, not "full" releases? I think that some problems "like this" have appeared only during validation of full releases, at least historically.
   - The snapshot release failed before it even got to `guava-tests`.
- Avoid mentioning `maven-deploy-plugin` in `guava-tests` and even in our `pluginManagement`. We should no longer be using it, so we shouldn't need to specify a version.
- Remove entry for `sonatype-nexus-staging`. That entry may or may not actually be a "problem," but I'd meant to remove it in the previous CL for all our projects. I just missed Guava (because I started with a list of projects that _depend_ on Guava and then went back for Guava).

(Here's [the log for the failure](https://github.com/google/guava/actions/runs/16457531993/job/46518814913).)

RELNOTES=n/a
PiperOrigin-RevId: 786274873
@copybara-service copybara-service bot merged commit 87976cd into master Jul 23, 2025
@copybara-service copybara-service bot deleted the test_786078646 branch July 23, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant