Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 11, 2026

build.sbt referenced localStaging.value and sonaUpload from sbt-sonatype plugin without declaring the plugin dependency, breaking Maven Central publishing.

Changes

  • project/plugins.sbt: Added sbt-sonatype 3.12.2
  • build.sbt:
    • Configured sonatypeCredentialHost := sonatypeCentralHost for Sonatype Central Portal
    • Updated publishTo to use sonatypePublishToBundle.value (replaces deprecated localStaging.value)
    • Updated ci-publish command to use sonatypeBundleRelease (replaces deprecated sonaUpload)

Publishing flow

Releases (BUILD_RELEASE=true):

  1. publishSigned → local bundle staging at target/sonatype-staging/<version>/
  2. sonatypeBundleRelease → upload bundle to Central Portal, auto-close and release

Snapshots: Direct publish to https://central.sonatype.com/repository/maven-snapshots/

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.scala-sbt.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: alexandru <11753+alexandru@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix publishing to Maven Central for delayedqueue-scala Fix Maven Central publishing: add missing sbt-sonatype plugin Feb 11, 2026
Copilot AI requested a review from alexandru February 11, 2026 07:45
@alexandru alexandru marked this pull request as ready for review February 11, 2026 09:53
@alexandru alexandru merged commit a292a39 into main Feb 11, 2026
4 checks passed
@alexandru alexandru deleted the copilot/fix-maven-central-signing branch February 11, 2026 09:53
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.

2 participants