File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed
Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 1515 with :
1616 java-version : ' 11'
1717 distribution : ' temurin'
18- server-id : maven- central-staging
18+ server-id : central
1919 server-username : MAVEN_USERNAME
2020 server-password : MAVEN_PASSWORD
2121 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 2727 </scm >
2828 <distributionManagement >
2929 <repository >
30- <id >maven-central-staging</id >
31- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2</url >
30+ <id >central</id >
3231 </repository >
3332 <snapshotRepository >
34- <id >maven-central-snapshots</id >
35- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
33+ <id >central</id >
3634 </snapshotRepository >
3735 </distributionManagement >
3836 <properties >
184182 </executions >
185183 </plugin >
186184 <plugin >
187- <groupId >org.sonatype.plugins </groupId >
188- <artifactId >nexus-staging -maven-plugin</artifactId >
189- <version >1.7 .0</version >
190- <extensions >false </extensions >
185+ <groupId >org.sonatype.central </groupId >
186+ <artifactId >central-publishing -maven-plugin</artifactId >
187+ <version >0.10 .0</version >
188+ <extensions >true </extensions >
191189 <configuration >
192- <serverId >maven-central-staging</serverId >
193- <nexusUrl >https://oss.sonatype.org</nexusUrl >
194- <autoReleaseAfterClose />
190+ <publishingServerId >central</publishingServerId >
191+ <autoPublish >true</autoPublish >
195192 </configuration >
196193 </plugin >
197194 <plugin >
198195 <artifactId >maven-gpg-plugin</artifactId >
199196 <version >3.2.8</version >
200197 <configuration >
201198 <keyname >FB32919AB5830162299F4125C49AB890BA00B57D</keyname >
199+ <gpgArguments >
200+ <arg >--pinentry-mode</arg >
201+ <arg >loopback</arg >
202+ </gpgArguments >
202203 </configuration >
203204 <executions >
204205 <execution >
You can’t perform that action at this time.
0 commit comments