From 4a662316f757e9ad7769b5224e685b6d329112fa Mon Sep 17 00:00:00 2001 From: marilynel Date: Sun, 16 Mar 2025 10:33:14 -0700 Subject: [PATCH] edited pom.xml for mvn testing with strict mode --- pom.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/pom.xml b/pom.xml index fe4f770..80c9b89 100644 --- a/pom.xml +++ b/pom.xml @@ -200,4 +200,55 @@ + + + test-strict-mode + + + + com.google.code.maven-replacer-plugin + replacer + 1.5.3 + + + + enable-strict-mode + process-sources + + replace + + + src/main/java/org/json/JSONParserConfiguration.java + + + // this.strictMode = true; + this.strictMode = true; + + + + + + + restore-original + test + + replace + + + src/main/java/org/json/JSONParserConfiguration.java + + + this.strictMode = true; + // this.strictMode = true; + + + + + + + + + + +