File tree Expand file tree Collapse file tree 2 files changed +16
-24
lines changed
Expand file tree Collapse file tree 2 files changed +16
-24
lines changed Original file line number Diff line number Diff line change 1414 with :
1515 java-version : ' 11'
1616 distribution : ' temurin'
17- server-id : ossrh
17+ server-id : central
1818 server-username : OSSRH_USER
1919 server-password : OSSRH_PASS
2020 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 103103 <version >3.2.7</version >
104104 </plugin >
105105 <plugin >
106- <groupId >org.sonatype.plugins</groupId >
107- <artifactId >nexus-staging-maven-plugin</artifactId >
108- <version >1.7.0</version >
106+ <groupId >org.sonatype.central</groupId >
107+ <artifactId >central-publishing-maven-plugin</artifactId >
108+ <version >0.7.0</version >
109+ <extensions >true</extensions >
109110 </plugin >
110111 <plugin >
111112 <groupId >org.jacoco</groupId >
175176 </executions >
176177 </plugin >
177178
178- <!-- Nexus staging, https://oss.sonatype.org/ -->
179- <plugin >
180- <groupId >org.sonatype.plugins</groupId >
181- <artifactId >nexus-staging-maven-plugin</artifactId >
182- <extensions >true</extensions >
183- <configuration >
184- <serverId >ossrh</serverId >
185- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
186- <autoReleaseAfterClose >true</autoReleaseAfterClose >
187- </configuration >
188- </plugin >
189-
190179 <!-- Code coverage -->
191180 <plugin >
192181 <groupId >org.jacoco</groupId >
226215 </execution >
227216 </executions >
228217 </plugin >
218+
219+ <!-- Maven central -->
220+ <plugin >
221+ <groupId >org.sonatype.central</groupId >
222+ <artifactId >central-publishing-maven-plugin</artifactId >
223+ <extensions >true</extensions >
224+ <configuration >
225+ <publishingServerId >central</publishingServerId >
226+ <autoPublish >true</autoPublish >
227+ </configuration >
228+ </plugin >
229229 </plugins >
230230 </build >
231231
300300 </build >
301301 </profile >
302302 </profiles >
303-
304- <!-- Locations of the artifacts published -->
305- <distributionManagement >
306- <snapshotRepository >
307- <id >ossrh</id >
308- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
309- </snapshotRepository >
310- </distributionManagement >
311303</project >
You can’t perform that action at this time.
0 commit comments