File tree Expand file tree Collapse file tree 2 files changed +8
-13
lines changed
Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 4242 with :
4343 distribution : ' adopt'
4444 java-version : 21
45- server-id : ' ossrh '
46- server-username : OSSRH_USERNAME
47- server-password : OSSRH_PASSWORD
45+ server-id : ' central '
46+ server-username : PUBLISHER_USERNAME
47+ server-password : PUBLISHER_PASSWORD
4848 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
4949 gpg-passphrase : MAVEN_GPG_PASSPHRASE
5050
8282 - name : Publish to Apache Maven Central
8383 run : mvn deploy -DskipTests
8484 env :
85- OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
86- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
85+ PUBLISHER_USERNAME : ${{ secrets.PUBLISHER_USERNAME }}
86+ PUBLISHER_PASSWORD : ${{ secrets.PUBLISHER_PASSWORD }}
8787 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
8888
8989 - name : Notify Slack
Original file line number Diff line number Diff line change 217217 </executions >
218218 </plugin >
219219 <plugin >
220- <groupId >org.sonatype.plugins </groupId >
221- <artifactId >nexus-staging -maven-plugin</artifactId >
222- <version >1.7 .0</version >
220+ <groupId >org.sonatype.central </groupId >
221+ <artifactId >central-publishing -maven-plugin</artifactId >
222+ <version >0.8 .0</version >
223223 <extensions >true</extensions >
224- <configuration >
225- <serverId >ossrh</serverId >
226- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
227- <autoReleaseAfterClose >true</autoReleaseAfterClose >
228- </configuration >
229224 </plugin >
230225 <!-- Use spotless plugin to automatically format code, remove unused import, etc
231226 To apply changes directly to the file, run `mvn spotless:apply`
You can’t perform that action at this time.
0 commit comments