From fa4af57e10bb93f306586e4551c25f6cb749fed2 Mon Sep 17 00:00:00 2001 From: "engrams-agent[bot]" <289318790+engrams-agent[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 12:17:05 +0000 Subject: [PATCH 1/4] test push access From 58cb93cc3fa125c847623646c0a9b5e22da06a3c Mon Sep 17 00:00:00 2001 From: "engrams-agent[bot]" <289318790+engrams-agent[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 12:31:39 +0000 Subject: [PATCH 2/4] Upgrade to Jackson 2.22: replace removed PropertyNamingStrategy.SNAKE_CASE Jackson 2.20 removed the deprecated PropertyNamingStrategy constants. Use PropertyNamingStrategies.SNAKE_CASE (available since 2.12) instead. Bump jackson-databind 2.14.0 -> 2.22.2 and version 1.329 -> 1.330. Co-Authored-By: Claude Fable 5 --- pom.xml | 4 ++-- src/main/java/org/kohsuke/github/GitHubClient.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 060c965152..79d90477a5 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 org.kohsuke cortexapps-github-api - 1.329 + 1.330 GitHub API for Java https://github-api.kohsuke.org/ GitHub API for Java @@ -468,7 +468,7 @@ com.fasterxml.jackson.core jackson-databind - 2.14.0 + 2.22.2 commons-io diff --git a/src/main/java/org/kohsuke/github/GitHubClient.java b/src/main/java/org/kohsuke/github/GitHubClient.java index 73491d148d..62f17d8139 100644 --- a/src/main/java/org/kohsuke/github/GitHubClient.java +++ b/src/main/java/org/kohsuke/github/GitHubClient.java @@ -78,7 +78,7 @@ class GitHubClient { MAPPER.setVisibility(new VisibilityChecker.Std(NONE, NONE, NONE, NONE, ANY)); MAPPER.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); MAPPER.configure(MapperFeature.ACCEPT_CASE_INSENSITIVE_ENUMS, true); - MAPPER.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE); + MAPPER.setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE); } /** From d5a7241e72b8836167ac637f05a2f9efc4577306 Mon Sep 17 00:00:00 2001 From: "engrams-agent[bot]" <289318790+engrams-agent[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 12:51:37 +0000 Subject: [PATCH 3/4] Fix deploy job: setup-java@v4, packages:write permission The deploy job failed: setup-java@v2 cache on Java 8 returned 400, and the workflow only granted contents:read so mvn deploy could not publish. Co-Authored-By: Claude Fable 5 --- .github/workflows/maven-build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 3ecfb8df30..f398d3321e 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -108,13 +108,15 @@ jobs: name: Deploy runs-on: ubuntu-latest needs: [build, test-8, test] + permissions: + contents: read + packages: write steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: 8 distribution: 'zulu' - cache: 'maven' - name: Deploy run: mvn --batch-mode deploy env: From 312e230d114591e9086b5c71a4d0d10290ccd4c2 Mon Sep 17 00:00:00 2001 From: "engrams-agent[bot]" <289318790+engrams-agent[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 13:03:20 +0000 Subject: [PATCH 4/4] Remove nexus-staging plugin so deploy targets GitHub Packages The fork's distributionManagement points at GitHub Packages (id=github), but upstream's nexus-staging-maven-plugin was still present and injects its own deploy goal requiring sonatype-nexus-staging credentials. Remove it so mvn deploy uses the standard deploy plugin against GitHub Packages. Co-Authored-By: Claude Fable 5 --- pom.xml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/pom.xml b/pom.xml index 79d90477a5..60ac96199e 100644 --- a/pom.xml +++ b/pom.xml @@ -220,17 +220,6 @@ all - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - - sonatype-nexus-staging - https://oss.sonatype.org/ - true - - org.codehaus.mojo animal-sniffer-maven-plugin @@ -271,10 +260,6 @@ deploy - - org.sonatype.plugins - nexus-staging-maven-plugin - org.apache.maven.plugins maven-project-info-reports-plugin