From ec7ad01faa18191d73ec4d8c7ce3abf5bd41a6fa Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sat, 6 Apr 2019 09:59:15 +0200
Subject: [PATCH] fix(maven): escape period matching in filename

---
 lib/config/definitions.js | 2 +-
 renovate-schema.json      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/config/definitions.js b/lib/config/definitions.js
index 7811749324..35c29c5ddf 100644
--- a/lib/config/definitions.js
+++ b/lib/config/definitions.js
@@ -1503,7 +1503,7 @@ const options = [
     type: 'object',
     default: {
       enabled: false,
-      fileMatch: ['\\.pom.xml$', '(^|/)pom.xml$'],
+      fileMatch: ['\\.pom\\.xml$', '(^|/)pom\\.xml$'],
       versionScheme: 'maven',
     },
     mergeable: true,
diff --git a/renovate-schema.json b/renovate-schema.json
index 1339725500..da4d1488c2 100644
--- a/renovate-schema.json
+++ b/renovate-schema.json
@@ -1030,7 +1030,7 @@
       "type": "object",
       "default": {
         "enabled": false,
-        "fileMatch": ["\\.pom.xml$", "(^|/)pom.xml$"],
+        "fileMatch": ["\\.pom\\.xml$", "(^|/)pom\\.xml$"],
         "versionScheme": "maven"
       },
       "$ref": "#"
-- 
GitLab