|
309 | 309 | <!-- We always publish to a local directory, JReleaser is supposed to take care of publishing to Nexus: -->
|
310 | 310 | <local.staging.releases.repo.id>staging-deploy</local.staging.releases.repo.id>
|
311 | 311 | <local.staging.releases.repo.url>file:${maven.multiModuleProjectDirectory}/target/staging-deploy/maven</local.staging.releases.repo.url>
|
312 |
| - <ossrh.releases.repo.id>ossrh</ossrh.releases.repo.id> |
313 |
| - <ossrh.releases.repo.url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</ossrh.releases.repo.url> |
314 |
| - <ossrh.snapshots.repo.id>ossrh</ossrh.snapshots.repo.id> |
315 |
| - <ossrh.snapshots.repo.url>https://oss.sonatype.org/content/repositories/snapshots</ossrh.snapshots.repo.url> |
| 312 | + <central.releases.repo.id>central-releases</central.releases.repo.id> |
| 313 | + <central.releases.repo.url>https://central.sonatype.com/api/v1/publisher/</central.releases.repo.url> |
| 314 | + <central.snapshots.repo.id>central-snapshots</central.snapshots.repo.id> |
| 315 | + <central.snapshots.repo.url>https://central.sonatype.com/repository/maven-snapshots/</central.snapshots.repo.url> |
316 | 316 |
|
317 | 317 | <!--
|
318 | 318 | We don't want to publish or sign any modules by default.
|
|
1219 | 1219 |
|
1220 | 1220 | <distributionManagement>
|
1221 | 1221 | <repository>
|
1222 |
| - <id>${ossrh.releases.repo.id}</id> |
1223 |
| - <name>OSSRH Releases Repository</name> |
1224 |
| - <url>${ossrh.releases.repo.url}</url> |
| 1222 | + <id>${central.releases.repo.id}</id> |
| 1223 | + <name>Maven Central Releases Repository</name> |
| 1224 | + <url>${central.releases.repo.url}</url> |
1225 | 1225 | </repository>
|
1226 | 1226 | <snapshotRepository>
|
1227 |
| - <id>${ossrh.snapshots.repo.id}</id> |
1228 |
| - <name>OSSRH Snapshots Repository</name> |
1229 |
| - <url>${ossrh.snapshots.repo.url}</url> |
| 1227 | + <id>${central.snapshots.repo.id}</id> |
| 1228 | + <name>Maven Central Snapshots Repository</name> |
| 1229 | + <url>${central.snapshots.repo.url}</url> |
1230 | 1230 | </snapshotRepository>
|
1231 | 1231 | </distributionManagement>
|
1232 | 1232 |
|
|
0 commit comments