File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 uses : actions/checkout@v2
1717
1818 - name : Install Java and Maven
19- uses : actions/setup-java@v1
19+ uses : actions/setup-java@v4
2020 with :
21- java-version : 17
21+ java-version : ' 17'
22+ distribution : ' temurin'
23+ maven-version : ' 3.8.8'
24+ cache : ' maven'
2225
2326 - name : Release Maven package
2427 uses : samuelmeuli/action-maven-publish@v1
2730 gpg_passphrase : ${{ secrets.SIGNING_PASSWORD }}
2831 nexus_username : ${{ secrets.SONATYPE_USERNAME }}
2932 nexus_password : ${{ secrets.SONATYPE_PASSWORD }}
33+ server_id : ossrh
34+ nexus_url : https://ossrh-staging-api.central.sonatype.com/
Original file line number Diff line number Diff line change 223223 <plugin >
224224 <groupId >org.sonatype.plugins</groupId >
225225 <artifactId >nexus-staging-maven-plugin</artifactId >
226- <version >1.6.13 </version >
226+ <version >1.7.0 </version >
227227 <extensions >true</extensions >
228228 <configuration >
229229 <serverId >ossrh</serverId >
230- <nexusUrl >https://s01.oss .sonatype.org /</nexusUrl >
230+ <nexusUrl >https://ossrh-staging-api.central .sonatype.com /</nexusUrl >
231231 <autoReleaseAfterClose >false</autoReleaseAfterClose >
232232 </configuration >
233233 </plugin >
234234 </plugins >
235235 </build >
236236
237-
238- <distributionManagement >
239- <repository >
240- <id >github</id >
241- <name >Github ci-plugins java-sdk-plugin Maven Packages</name >
242- <url >https://maven.pkg.github.com/ci-plugins/java-plugin-sdk</url >
243- </repository >
244- </distributionManagement >
245-
246237 <profiles >
247238 <profile >
248239 <id >deploy</id >
293284 <plugin >
294285 <groupId >org.apache.maven.plugins</groupId >
295286 <artifactId >maven-gpg-plugin</artifactId >
296- <version >1.5 </version >
287+ <version >3.1.0 </version >
297288 <executions >
298289 <execution >
299290 <phase >verify</phase >
320311 <snapshotRepository >
321312 <id >ossrh</id >
322313 <name >Sonatype Nexus Snapshots</name >
323- <url >https://s01.oss .sonatype.org/content/ repositories/snapshots/</url >
314+ <url >https://ossrh-staging-api.central .sonatype.com/service/local/ repositories/snapshots/content /</url >
324315 </snapshotRepository >
325316 <repository >
326317 <id >ossrh</id >
327318 <name >Nexus Release Repository</name >
319+ <url >https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url >
328320 </repository >
329321 </distributionManagement >
330322 </profile >
You can’t perform that action at this time.
0 commit comments