[NO-JIRA] Add a 'Verify' stage to perform release verfication steps on every build (#905)

- add apache-rat:check
 - Add exclude .ts to rat config
diff --git a/Jenkinsfile b/Jenkinsfile
index d4c09be..67d1cd0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -87,6 +87,13 @@
             }
         }
 
+        stage('Verify') {
+            steps {
+                echo 'Running apache-rat:check'
+                sh 'mvn apache-rat:check'
+            }
+        }
+
         stage('Tests') {
             steps {
                 echo 'Running tests'
diff --git a/pom.xml b/pom.xml
index c552711..a6671fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1402,6 +1402,7 @@
             <exclude>**/kahadb/**/*.data</exclude>
             <exclude>**/resources/*.xsd</exclude>
             <exclude>**/src/test/resources/keystore</exclude>
+            <exclude>**/*.ts</exclude>
             <!-- web, web-console, web-demo files -->
             <exclude>**/webapp/mqtt/mqttws31.js</exclude>
             <exclude>**/webapp/js/dojo.js</exclude>