From 186e281c34e43db87a66e2492e1a9c49541a7387 Mon Sep 17 00:00:00 2001 From: Chris Warburton Date: Wed, 8 Mar 2023 12:38:48 +0000 Subject: [PATCH] Add 'pom' for Maven pom.xml and *.pom files --- identify/extensions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/identify/extensions.py b/identify/extensions.py index 6addba6..dae7d2d 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -171,6 +171,7 @@ 'pm': {'text', 'perl'}, 'png': {'binary', 'image', 'png'}, 'po': {'text', 'pofile'}, + 'pom': {'pom', 'text', 'xml'}, 'pp': {'text', 'puppet'}, 'prisma': {'text', 'prisma'}, 'properties': {'text', 'java-properties'}, @@ -345,6 +346,7 @@ 'Pipfile.lock': EXTENSIONS['json'], 'PKGBUILD': {'text', 'bash', 'pkgbuild', 'alpm'}, 'poetry.lock': EXTENSIONS['toml'], + 'pom.xml': EXTENSIONS['pom'], 'pylintrc': EXTENSIONS['ini'] | {'pylintrc'}, 'README': EXTENSIONS['txt'], 'Rakefile': EXTENSIONS['rb'],