File tree Expand file tree Collapse file tree 3 files changed +8
-19
lines changed Expand file tree Collapse file tree 3 files changed +8
-19
lines changed Original file line number Diff line number Diff line change 55
55
distribution : ' temurin'
56
56
java-version : ' 17'
57
57
cache : ' maven'
58
- server-id : ossrh
58
+ server-id : central
59
59
server-username : ${ env.SONATYPE_USER }
60
60
server-password : ${ env.SONATYPE_PASSWORD }
61
61
gpg-private-key : ${{ secrets.GPG_SECRET_KEY }}
Original file line number Diff line number Diff line change 212
212
</plugin >
213
213
214
214
<plugin >
215
- <groupId >org.sonatype.plugins </groupId >
216
- <artifactId >nexus-staging -maven-plugin</artifactId >
217
- <version >1 .7.0</version >
215
+ <groupId >org.sonatype.central </groupId >
216
+ <artifactId >central-publishing -maven-plugin</artifactId >
217
+ <version >0 .7.0</version >
218
218
<extensions >true</extensions >
219
219
<configuration >
220
- <serverId >ossrh</ serverId >
221
- <nexusUrl >https://s01.oss.sonatype.org/</ nexusUrl >
222
- <autoReleaseAfterClose >true</ autoReleaseAfterClose >
220
+ <publishingServerId >central</ publishingServerId >
221
+ <autoPublish >true</ autoPublish >
222
+ <waitUntil >published</ waitUntil >
223
223
</configuration >
224
224
</plugin >
225
225
</plugins >
261
261
<
developerConnection >scm:git:
[email protected] :bufbuild/protoc-gen-validate.git</
developerConnection >
262
262
<tag >HEAD</tag >
263
263
</scm >
264
-
265
- <distributionManagement >
266
- <repository >
267
- <id >ossrh</id >
268
- <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
269
- </repository >
270
- <snapshotRepository >
271
- <id >ossrh</id >
272
- <url >https://s01.oss.sonatype.org/content/repositories/snapshots</url >
273
- </snapshotRepository >
274
- </distributionManagement >
275
264
</project >
Original file line number Diff line number Diff line change 2
2
xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" >
3
3
<servers >
4
4
<server >
5
- <id >ossrh </id >
5
+ <id >central </id >
6
6
<username >${env.SONATYPE_USER}</username >
7
7
<password >${env.SONATYPE_PASSWORD}</password >
8
8
</server >
You can’t perform that action at this time.
0 commit comments