Commit 1b07042
fix: move central-publishing-maven-plugin to release profile so SNAPSHOT deploys work
The central-publishing-maven-plugin with <extensions>true</extensions> was
intercepting ALL mvn deploy calls, including SNAPSHOTs. This caused SNAPSHOT
deploys to target Central Portal (which rejects SNAPSHOTs) instead of the
OSSRH snapshot repository.
Changes:
- Move central-publishing-maven-plugin from default build plugins to release profile
- Update snapshot URL from s01.oss.sonatype.org to central.sonatype.com/repository/maven-snapshots
Now:
- mvn deploy (SNAPSHOT) → maven-deploy-plugin → OSSRH snapshots
- mvn deploy -P release (stable) → central-publishing-maven-plugin → Central Portal
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b99703a commit 1b07042
1 file changed
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | 309 | | |
321 | 310 | | |
322 | 311 | | |
| |||
356 | 345 | | |
357 | 346 | | |
358 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| |||
0 commit comments