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 263263 <id >maven-central</id >
264264 <distributionManagement >
265265 <repository >
266- <id >ossrh </id >
267- <url >https://s01.oss. sonatype.org/service/local/staging/deploy/maven2 </url >
266+ <id >central </id >
267+ <url >https://central. sonatype.com/api/v1/publisher/upload </url >
268268 </repository >
269269 <snapshotRepository >
270- <id >ossrh </id >
271- <url >https://s01.oss. sonatype.org/content/repositories/snapshots </url >
270+ <id >central-snapshots </id >
271+ <url >https://central. sonatype.com/api/v1/publisher/upload </url >
272272 </snapshotRepository >
273273 </distributionManagement >
274274 <build >
275275 <plugins >
276276 <plugin >
277- <groupId >org.sonatype.plugins </groupId >
278- <artifactId >nexus-staging -maven-plugin</artifactId >
279- <version >1.6.7 </version >
277+ <groupId >org.sonatype.central </groupId >
278+ <artifactId >central-publishing -maven-plugin</artifactId >
279+ <version >0.4.0 </version >
280280 <extensions >true</extensions >
281281 <configuration >
282- <serverId >ossrh</ serverId >
283- <nexusUrl >https://s01.oss.sonatype.org/</ nexusUrl >
284- <autoReleaseAfterClose >true</autoReleaseAfterClose >
282+ <publishingServerId >central</ publishingServerId >
283+ <tokenAuth >true</ tokenAuth >
284+ <autoPublish >true</autoPublish >
285285 </configuration >
286286 </plugin >
287287 </plugins >
You can’t perform that action at this time.
0 commit comments