File tree Expand file tree Collapse file tree 2 files changed +12
-19
lines changed
Expand file tree Collapse file tree 2 files changed +12
-19
lines changed Original file line number Diff line number Diff line change 2424 java-version : 11
2525 cache : ' maven'
2626 # Value of the distributionManagement/repository/id field of the pom.xml
27- server-id : sonatype-nexus-staging
27+ server-id : central
2828 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
2929 server-username : OSS_USERNAME
3030 server-password : OSS_PASSWORD
Original file line number Diff line number Diff line change 206206 </execution >
207207 </executions >
208208 </plugin >
209- <plugin >
210- <groupId >org.sonatype.plugins</groupId >
211- <artifactId >nexus-staging-maven-plugin</artifactId >
212- <configuration >
213- <serverId >sonatype-nexus-staging</serverId >
214- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
215- <autoReleaseAfterClose >true</autoReleaseAfterClose >
216- </configuration >
217- <executions >
218- <execution >
219- <id >nexus-deploy</id >
220- <phase >deploy</phase >
221- <goals >
222- <goal >deploy</goal >
223- </goals >
224- </execution >
225- </executions >
226- </plugin >
209+ <plugin >
210+ <groupId >org.sonatype.central</groupId >
211+ <artifactId >central-publishing-maven-plugin</artifactId >
212+ <version >0.7.0</version >
213+ <extensions >true</extensions >
214+ <configuration >
215+ <publishingServerId >central</publishingServerId >
216+ <autoPublish >true</autoPublish >
217+ <waitUntil >published</waitUntil >
218+ </configuration >
219+ </plugin >
227220 <plugin >
228221 <groupId >org.apache.maven.plugins</groupId >
229222 <artifactId >maven-source-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments