From 0ba90ae51d65ffa978846d784dd68184a7c6ed2d Mon Sep 17 00:00:00 2001 From: Oleg Samarin Date: Sun, 18 Oct 2026 14:58:02 +0300 Subject: [PATCH] Added Maven Central bundle diagnostics to the release workflow When mvn deploy fails, print the staging directory, central-bundle.zip contents and signed artifacts to find the stray file Central rejects (release 1.3.33). Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/build.yml | 12 +++++++++++- pom.xml | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2dd532c..58770090 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,7 +119,17 @@ jobs: if [[ "$STATUS" == "200" ]]; then echo "Version $VERSION already published to Maven Central, skipping." else - mvn deploy -P release -DskipTests --batch-mode + if ! mvn deploy -P release -DskipTests --batch-mode; then + echo "::group::Maven Central bundle diagnostics" + echo "--- target/central-staging ---" + find target/central-staging -printf '%y %s %P\n' 2>/dev/null | sort -k3 + echo "--- central-bundle.zip ---" + unzip -l target/central-publishing/central-bundle.zip 2>/dev/null || true + echo "--- target/*.asc, *.nbm, *.jar ---" + ls -la target/*.asc target/*.nbm target/*.jar 2>/dev/null || true + echo "::endgroup::" + exit 1 + fi fi env: MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }} diff --git a/pom.xml b/pom.xml index 49581833..4a885e2e 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.nbplugins netbeans-plugin-claude-code-gui - 1.3.59-SNAPSHOT + 1.3.60-SNAPSHOT nbm Netbeans Plugin Claude Code GUI NetBeans plugin that provides a GUI for Claude Code CLI — run claude code sessions directly inside the IDE.