Add RE2J in lieu of java.util Pattern 04/105104/1
authorJim Hahn <jrh3@att.com>
Fri, 3 Apr 2020 20:33:39 +0000 (16:33 -0400)
committerJim Hahn <jrh3@att.com>
Fri, 3 Apr 2020 20:35:42 +0000 (16:35 -0400)
Sonar complains about java.util Pattern usage when the pattern
has quanitifiers like "*" or "+".  It suggests using RE2J instead.
Added that to the parent pom - hope it doesn't have licensing issues.

Issue-ID: POLICY-2305
Change-Id: I4a79d073e911f42911dabfab92177bce5893efd7
Signed-off-by: Jim Hahn <jrh3@att.com>
integration/pom.xml

index 978ecbb..0e06fc8 100644 (file)
                 <version>${version.jersey}</version>
             </dependency>
 
+            <!-- RE2J in lieu of java.util Pattern -->
+            <dependency>
+                <groupId>com.google.re2j</groupId>
+                <artifactId>re2j</artifactId>
+                <version>1.3</version>
+            </dependency>
+
             <!-- MariaDB -->
             <dependency>
                 <groupId>org.mariadb.jdbc</groupId>