File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed
Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1111 profile : maven-central
1212 tag : ' beta'
1313 secrets :
14- server-username : ${{ secrets.OSSRH_USERNAME }}
15- server-password : ${{ secrets.OSSRH_PASSWORD }}
14+ server-username : ${{ secrets.CENTRAL_PUBLISHER_PORTAL_USERNAME }}
15+ server-password : ${{ secrets.CENTRAL_PUBLISHER_PORTAL_PASSWORD }}
1616 gpg-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
1717 gpg-passphrase : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
1818 skyflow-credentials : ${{ secrets.SKYFLOW_CREDENTIALS }} >> .env
Original file line number Diff line number Diff line change 1111 profile : maven-central
1212 tag : ' public'
1313 secrets :
14- server-username : ${{ secrets.OSSRH_USERNAME }}
15- server-password : ${{ secrets.OSSRH_PASSWORD }}
14+ server-username : ${{ secrets.CENTRAL_PUBLISHER_PORTAL_USERNAME }}
15+ server-password : ${{ secrets.CENTRAL_PUBLISHER_PORTAL_PASSWORD }}
1616 gpg-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
1717 gpg-passphrase : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
1818 skyflow-credentials : ${{ secrets.SKYFLOW_CREDENTIALS }} >> .env
Original file line number Diff line number Diff line change 259259 <id >maven-central</id >
260260 <distributionManagement >
261261 <repository >
262- <id >ossrh </id >
263- <url >https://s01.oss. sonatype.org/service/local/staging/deploy/maven2 </url >
262+ <id >central </id >
263+ <url >https://central. sonatype.com/api/v1/publisher/upload </url >
264264 </repository >
265265 <snapshotRepository >
266- <id >ossrh </id >
267- <url >https://s01.oss. sonatype.org/content/repositories/snapshots </url >
266+ <id >central-snapshots </id >
267+ <url >https://central. sonatype.com/api/v1/publisher/upload </url >
268268 </snapshotRepository >
269269 </distributionManagement >
270270 <build >
271271 <plugins >
272272 <plugin >
273- <groupId >org.sonatype.plugins </groupId >
274- <artifactId >nexus-staging -maven-plugin</artifactId >
275- <version >1.6.7 </version >
273+ <groupId >org.sonatype.central </groupId >
274+ <artifactId >central-publishing -maven-plugin</artifactId >
275+ <version >0.4.0 </version >
276276 <extensions >true</extensions >
277277 <configuration >
278- <serverId >ossrh</ serverId >
279- <nexusUrl >https://s01.oss.sonatype.org/</ nexusUrl >
280- <autoReleaseAfterClose >true</autoReleaseAfterClose >
278+ <publishingServerId >central</ publishingServerId >
279+ <tokenAuth >true</ tokenAuth >
280+ <autoPublish >true</autoPublish >
281281 </configuration >
282282 </plugin >
283283 </plugins >
You can’t perform that action at this time.
0 commit comments