[UIMA-6301] Rename "master" branches to "main"

- Updated branch names
diff --git a/Jenkinsfile b/Jenkinsfile
index dc512eb..6ed222e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -82,7 +82,7 @@
     // merge request has been merged. On success, it deploys the generated artifacts to the
     // Maven repository server.
     stage("SNAPSHOT build") {
-      when { branch pattern: "master|master-v2", comparator: "REGEXP" }
+      when { branch pattern: "main|main-v2", comparator: "REGEXP" }
       
       steps {
         withMaven() {