File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Steps for releasing:
3030 * It may prompt you about out of date dependencies. You should consider
3131 updating them if appropriate. Say no and review the changes and upate
3232 ` pom.xml ` and start the release process over again if you do.
33- 7 . Complete the release on Sonatype
33+ 7 . The ` nexus-staging-maven-plugin ` will automatically promote the release on Sonatype.
3434
3535There is more information in the
3636[ minfraud-api-java] ( https://github.com/maxmind/minfraud-api-java/blob/main/README.dev.md )
Original file line number Diff line number Diff line change 231231 <artifactId >versions-maven-plugin</artifactId >
232232 <version >2.16.1</version >
233233 </plugin >
234+ <plugin >
235+ <groupId >org.sonatype.plugins</groupId >
236+ <artifactId >nexus-staging-maven-plugin</artifactId >
237+ <version >1.6.13</version >
238+ <extensions >true</extensions >
239+ <configuration >
240+ <serverId >sonatype-nexus-staging</serverId >
241+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
242+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
243+ </configuration >
244+ <executions >
245+ <execution >
246+ <id >default-deploy</id >
247+ <phase >deploy</phase >
248+ <goals >
249+ <goal >deploy</goal >
250+ </goals >
251+ </execution >
252+ </executions >
253+ </plugin >
234254 </plugins >
235255 </build >
236256 <profiles >
251271 </build >
252272 </profile >
253273 </profiles >
274+ <distributionManagement >
275+ <repository >
276+ <id >sonatype-nexus-staging</id >
277+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
278+ </repository >
279+ </distributionManagement >
254280</project >
You can’t perform that action at this time.
0 commit comments