File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 4949 with :
5050 java-version : ' 11'
5151 distribution : ' adopt'
52- server-id : ossrh
52+ server-id : central
5353 server-username : MAVEN_USERNAME
5454 server-password : MAVEN_PASSWORD
5555 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 200200 </execution >
201201 </executions >
202202 </plugin >
203+ <plugin >
204+ <groupId >org.sonatype.central</groupId >
205+ <artifactId >central-publishing-maven-plugin</artifactId >
206+ <version >0.7.0</version >
207+ <extensions >true</extensions >
208+ <configuration >
209+ <publishingServerId >central</publishingServerId >
210+ <autoPublish >true</autoPublish >
211+ </configuration >
212+ </plugin >
203213 </plugins >
204214 </build >
205215 </profile >
206216 </profiles >
207217
208218 <distributionManagement >
209219 <snapshotRepository >
210- <id >ossrh </id >
211- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
220+ <id >central </id >
221+ <url >https://central .sonatype.com/repository/maven- snapshots/ </url >
212222 </snapshotRepository >
213223 <repository >
214- <id >ossrh </id >
215- <url >https://oss .sonatype.org/service/local/staging/deploy/maven2/ </url >
224+ <id >central </id >
225+ <url >https://central .sonatype.com </url >
216226 </repository >
217227 </distributionManagement >
218228</project >
You can’t perform that action at this time.
0 commit comments