File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 298298 <url >https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
299299 </repository >
300300 </distributionManagement >
301+ <build >
302+ <plugins >
303+ <plugin >
304+ <!-- The root project runs nexus-staging:release task -->
305+ <groupId >org.sonatype.plugins</groupId >
306+ <artifactId >nexus-staging-maven-plugin</artifactId >
307+ <version >1.7.0</version >
308+ <extensions >true</extensions >
309+ <configuration >
310+ <serverId >sonatype-nexus-staging</serverId >
311+ <nexusUrl >https://google.oss.sonatype.org/</nexusUrl >
312+ <autoReleaseAfterClose >false</autoReleaseAfterClose >
313+ </configuration >
314+ </plugin >
315+ </plugins >
316+ </build >
317+ </profile >
318+ <profile >
319+ <id >release-non-google-oss-sonatype</id >
320+ <build >
321+ <plugins >
322+ <plugin >
323+ <groupId >org.sonatype.plugins</groupId >
324+ <artifactId >nexus-staging-maven-plugin</artifactId >
325+ <configuration >
326+ <serverId >ossrh</serverId >
327+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
328+ </configuration >
329+ </plugin >
330+ </plugins >
331+ </build >
301332 </profile >
302333 </profiles >
303334</project >
You can’t perform that action at this time.
0 commit comments