|
277 | 277 | <!-- We always publish to a local directory, JReleaser is supposed to take care of publishing to Nexus: -->
|
278 | 278 | <local.staging.releases.repo.id>staging-deploy</local.staging.releases.repo.id>
|
279 | 279 | <local.staging.releases.repo.url>file:${maven.multiModuleProjectDirectory}/target/staging-deploy/maven</local.staging.releases.repo.url>
|
280 |
| - <ossrh.releases.repo.id>ossrh</ossrh.releases.repo.id> |
281 |
| - <ossrh.releases.repo.url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</ossrh.releases.repo.url> |
282 |
| - <ossrh.snapshots.repo.id>ossrh</ossrh.snapshots.repo.id> |
283 |
| - <ossrh.snapshots.repo.url>https://oss.sonatype.org/content/repositories/snapshots</ossrh.snapshots.repo.url> |
| 280 | + <central.releases.repo.id>central-releases</central.releases.repo.id> |
| 281 | + <central.releases.repo.url>https://central.sonatype.com/api/v1/publisher/</central.releases.repo.url> |
| 282 | + <central.snapshots.repo.id>central-snapshots</central.snapshots.repo.id> |
| 283 | + <central.snapshots.repo.url>https://central.sonatype.com/repository/maven-snapshots/</central.snapshots.repo.url> |
284 | 284 |
|
285 | 285 | <!--
|
286 | 286 | We don't want to publish or sign any modules by default.
|
|
1618 | 1618 |
|
1619 | 1619 | <distributionManagement>
|
1620 | 1620 | <repository>
|
1621 |
| - <id>${ossrh.releases.repo.id}</id> |
1622 |
| - <name>OSSRH Releases Repository</name> |
1623 |
| - <url>${ossrh.releases.repo.url}</url> |
| 1621 | + <id>${central.releases.repo.id}</id> |
| 1622 | + <name>Maven Central Releases Repository</name> |
| 1623 | + <url>${central.releases.repo.url}</url> |
1624 | 1624 | </repository>
|
1625 | 1625 | <snapshotRepository>
|
1626 |
| - <id>${ossrh.snapshots.repo.id}</id> |
1627 |
| - <name>OSSRH Snapshots Repository</name> |
1628 |
| - <url>${ossrh.snapshots.repo.url}</url> |
| 1626 | + <id>${central.snapshots.repo.id}</id> |
| 1627 | + <name>Maven Central Snapshots Repository</name> |
| 1628 | + <url>${central.snapshots.repo.url}</url> |
1629 | 1629 | </snapshotRepository>
|
1630 | 1630 | </distributionManagement>
|
1631 | 1631 |
|
|
0 commit comments