File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 277277 <!-- We always publish to a local directory, JReleaser is supposed to take care of publishing to Nexus: -->
278278 <local .staging.releases.repo.id>staging-deploy</local .staging.releases.repo.id>
279279 <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>
280282 <ossrh .snapshots.repo.id>ossrh</ossrh .snapshots.repo.id>
281283 <ossrh .snapshots.repo.url>https://oss.sonatype.org/content/repositories/snapshots</ossrh .snapshots.repo.url>
282284
15951597
15961598 <distributionManagement >
15971599 <repository >
1598- <id >${local.staging .releases.repo.id} </id >
1599- <name >Local Staging Directory Releases Repository</name >
1600- <url >${local.staging .releases.repo.url} </url >
1600+ <id >${ossrh .releases.repo.id} </id >
1601+ <name >OSSRH Releases Repository</name >
1602+ <url >${ossrh .releases.repo.url} </url >
16011603 </repository >
16021604 <snapshotRepository >
16031605 <id >${ossrh.snapshots.repo.id} </id >
16391641 </properties >
16401642 <build >
16411643 <plugins >
1644+ <plugin >
1645+ <artifactId >maven-deploy-plugin</artifactId >
1646+ <configuration >
1647+ <altReleaseDeploymentRepository >${local.staging.releases.repo.id} ::${local.staging.releases.repo.url} </altReleaseDeploymentRepository >
1648+ </configuration >
1649+ </plugin >
16421650 <plugin >
16431651 <artifactId >maven-enforcer-plugin</artifactId >
16441652 <executions >
You can’t perform that action at this time.
0 commit comments