|
312 | 312 | <!-- We always publish to a local directory, JReleaser is supposed to take care of publishing to Nexus: -->
|
313 | 313 | <local.staging.releases.repo.id>staging-deploy</local.staging.releases.repo.id>
|
314 | 314 | <local.staging.releases.repo.url>file:${maven.multiModuleProjectDirectory}/target/staging-deploy/maven</local.staging.releases.repo.url>
|
315 |
| - <ossrh.releases.repo.id>ossrh</ossrh.releases.repo.id> |
316 |
| - <ossrh.releases.repo.url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</ossrh.releases.repo.url> |
317 |
| - <ossrh.snapshots.repo.id>ossrh</ossrh.snapshots.repo.id> |
318 |
| - <ossrh.snapshots.repo.url>https://oss.sonatype.org/content/repositories/snapshots</ossrh.snapshots.repo.url> |
| 315 | + <central.releases.repo.id>central-releases</central.releases.repo.id> |
| 316 | + <central.releases.repo.url>https://central.sonatype.com/api/v1/publisher/</central.releases.repo.url> |
| 317 | + <central.snapshots.repo.id>central-snapshots</central.snapshots.repo.id> |
| 318 | + <central.snapshots.repo.url>https://central.sonatype.com/repository/maven-snapshots/</central.snapshots.repo.url> |
319 | 319 |
|
320 | 320 | <!--
|
321 | 321 | We don't want to publish or sign any modules by default.
|
|
1139 | 1139 |
|
1140 | 1140 | <distributionManagement>
|
1141 | 1141 | <repository>
|
1142 |
| - <id>${ossrh.releases.repo.id}</id> |
1143 |
| - <name>OSSRH Releases Repository</name> |
1144 |
| - <url>${ossrh.releases.repo.url}</url> |
| 1142 | + <id>${central.releases.repo.id}</id> |
| 1143 | + <name>Maven Central Releases Repository</name> |
| 1144 | + <url>${central.releases.repo.url}</url> |
1145 | 1145 | </repository>
|
1146 | 1146 | <snapshotRepository>
|
1147 |
| - <id>${ossrh.snapshots.repo.id}</id> |
1148 |
| - <name>OSSRH Snapshots Repository</name> |
1149 |
| - <url>${ossrh.snapshots.repo.url}</url> |
| 1147 | + <id>${central.snapshots.repo.id}</id> |
| 1148 | + <name>Maven Central Snapshots Repository</name> |
| 1149 | + <url>${central.snapshots.repo.url}</url> |
1150 | 1150 | </snapshotRepository>
|
1151 | 1151 | </distributionManagement>
|
1152 | 1152 |
|
|
0 commit comments