Enable dependabot for non default branches (2.x)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index bd23bdd..c5b1561 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -22,6 +22,7 @@
       interval: weekly
       time: '04:00'
     open-pull-requests-limit: 10
+    target-branch: "main"
     ignore:
       - dependency-name: "com.puppycrawl.tools:*"
         update-types: [ "version-update:semver-minor", "version-update:semver-patch" ]
@@ -31,4 +32,28 @@
   - package-ecosystem: "github-actions"
     directory: "/"
     schedule:
-      interval: "daily"
\ No newline at end of file
+      interval: "daily"
+    target-branch: "main"
+
+  - package-ecosystem: maven
+    directory: "/"
+    schedule:
+      interval: weekly
+      time: '04:00'
+    open-pull-requests-limit: 10
+    target-branch: "opennlp-2.x"
+    commit-message:
+      prefix: "[2.x]"
+    ignore:
+      - dependency-name: "com.puppycrawl.tools:*"
+        update-types: [ "version-update:semver-minor", "version-update:semver-patch" ]
+      - dependency-name: "io.github.classgraph:*"
+        update-types: [ "version-update:semver-minor" ]
+
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    schedule:
+      interval: "daily"
+    target-branch: "opennlp-2.x"
+    commit-message:
+      prefix: "[2.x]"
\ No newline at end of file