Commit 8eb183e
committed
Migrate from legacy OSSRH to Sonatype Central Portal
Replace nexus-staging-maven-plugin with central-publishing-maven-plugin
(v0.10.0) as oss.sonatype.org has been sunset. The deploy was failing
with 401 because OSSRH doesn't accept Central Portal tokens.
Changes:
- Replace nexus-staging-maven-plugin with central-publishing-maven-plugin
- Update distributionManagement to use 'central' server ID
- Update release.yml server-id to match
- Enable autoPublish for CI deployments
https://claude.ai/code/session_01ToqqHtNtg7kdm8TmAMZYe81 parent 29138da commit 8eb183e
2 files changed
+9
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
| 33 | + | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
184 | 182 | | |
185 | 183 | | |
186 | 184 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
191 | 189 | | |
192 | | - | |
193 | | - | |
194 | | - | |
| 190 | + | |
| 191 | + | |
195 | 192 | | |
196 | 193 | | |
197 | 194 | | |
| |||
0 commit comments