diff --git a/pom.xml b/pom.xml
index f49f9418da4e822fcfb0be4da38f3b229b32bbd0..e239d9ecb0401500ae7bc5eee7e77bf5453a6df3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -404,6 +404,17 @@
         </pluginManagement>
 
         <plugins>
+            <plugin>
+                <groupId>org.sonatype.plugins</groupId>
+                <artifactId>nexus-staging-maven-plugin</artifactId>
+                <version>1.6.7</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <serverId>ossrh</serverId>
+                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
+                    <autoReleaseAfterClose>true</autoReleaseAfterClose>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-site-plugin</artifactId>