Skip to content

Commit 7ec2295

Browse files
committed
Add nexus configuration in pom.xml
1 parent 5e3727c commit 7ec2295

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,19 @@
550550
</goals>
551551
</execution>
552552
</executions>
553-
</plugin>
553+
</plugin>
554+
555+
<!-- Nexus staging, https://oss.sonatype.org/ -->
556+
<plugin>
557+
<groupId>org.sonatype.plugins</groupId>
558+
<artifactId>nexus-staging-maven-plugin</artifactId>
559+
<extensions>true</extensions>
560+
<configuration>
561+
<serverId>ossrh</serverId>
562+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
563+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
564+
</configuration>
565+
</plugin>
554566
</plugins>
555567
</build>
556568
</project>

0 commit comments

Comments
 (0)