Merge pull request #98 from Tomas-Kraus/master

Nexus Staging Maven Plugin, autoReleaseAfterClose set to false.
diff --git a/api/pom.xml b/api/pom.xml
index acd10d6..ad04128 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -125,4 +125,5 @@
             </plugin>
         </plugins>
     </build>
+
 </project>
diff --git a/pom.xml b/pom.xml
index 1b40330..1243b67 100644
--- a/pom.xml
+++ b/pom.xml
@@ -242,6 +242,11 @@
                         </dependency>
                     </dependencies>
                 </plugin>
+                <plugin>
+                    <groupId>org.sonatype.plugins</groupId>
+                    <artifactId>nexus-staging-maven-plugin</artifactId>
+                    <version>1.6.7</version>
+                </plugin>
             </plugins>
         </pluginManagement>
     </build>
@@ -296,6 +301,20 @@
                 <module>impl</module>
                 <module>jaxrs</module>
             </modules>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.sonatype.plugins</groupId>
+                        <artifactId>nexus-staging-maven-plugin</artifactId>
+                        <extensions>true</extensions>
+                        <configuration>
+                            <serverId>ossrh</serverId>
+                            <nexusUrl>${sonatypeOssDistMgmtReleasesUrl}</nexusUrl>
+                            <autoReleaseAfterClose>false</autoReleaseAfterClose>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
         </profile>
 
         <profile>