Release to maven central after push to gerrit

Change-Id: I8e3b87fb2139f2ebcbbda644c921906c0ae58a87
diff --git a/pom.xml b/pom.xml
index a8f1571..525f7f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,8 +193,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-checkstyle-plugin</artifactId>
-                <!-- 3.0.0 has issue excluding generated code -->
-                <version>2.17</version>
+                <version>3.0.0</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.onosproject</groupId>
diff --git a/tools/onos-yang-tools-build-release b/tools/onos-yang-tools-build-release
index 1feb92a..5e244e6 100755
--- a/tools/onos-yang-tools-build-release
+++ b/tools/onos-yang-tools-build-release
@@ -34,3 +34,5 @@
 git commit -am"Bumping version to $OYT_SNAPSHOT"
 git push origin $OYT_BRANCH
 git push origin $OYT_TAG
+
+mvn -Prelease nexus-staging:release