diff --git a/custom-checks/checkstyle/pom.xml b/custom-checks/checkstyle/pom.xml
index 49fb896a..c5de0515 100644
--- a/custom-checks/checkstyle/pom.xml
+++ b/custom-checks/checkstyle/pom.xml
@@ -7,7 +7,7 @@
org.openhab.tools.sat.custom-checks
pom
- 0.18.0-SNAPSHOT
+ 0.19.0-SNAPSHOT
checkstyle
diff --git a/custom-checks/checkstyle/src/test/java/org/openhab/tools/analysis/checkstyle/test/OhInfXmlValidationCheckTest.java b/custom-checks/checkstyle/src/test/java/org/openhab/tools/analysis/checkstyle/test/OhInfXmlValidationCheckTest.java
index ba499ef9..3a0c9750 100644
--- a/custom-checks/checkstyle/src/test/java/org/openhab/tools/analysis/checkstyle/test/OhInfXmlValidationCheckTest.java
+++ b/custom-checks/checkstyle/src/test/java/org/openhab/tools/analysis/checkstyle/test/OhInfXmlValidationCheckTest.java
@@ -23,6 +23,7 @@
import java.util.List;
import java.util.Locale;
+import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -57,13 +58,23 @@ public class OhInfXmlValidationCheckTest extends AbstractStaticCheckTest {
private static final DefaultConfiguration CONFIGURATION = createModuleConfig(OhInfXmlValidationCheck.class);
+ private static Locale initialLocale;
+
@BeforeAll
public static void createConfiguration() {
+ initialLocale = Locale.getDefault();
CONFIGURATION.addProperty("thingSchema", THING_SCHEMA_URL);
CONFIGURATION.addProperty("addonSchema", ADDON_SCHEMA_URL);
CONFIGURATION.addProperty("configSchema", CONFIG_SCHEMA_URL);
}
+ @AfterAll
+ @SuppressWarnings("PMD.SetDefaultLocale")
+ public static void tearDownClass() {
+ // Set the default locale to its initial value.
+ Locale.setDefault(initialLocale);
+ }
+
@Override
protected String getPackageLocation() {
return "checkstyle/ohInfXmlValidationCheckTest";
@@ -72,6 +83,7 @@ protected String getPackageLocation() {
private boolean isResourceAvailable;
@BeforeEach
+ @SuppressWarnings("PMD.SetDefaultLocale")
public void checkConnection() {
Locale.setDefault(new Locale("en", "US"));
try {
diff --git a/custom-checks/findbugs/pom.xml b/custom-checks/findbugs/pom.xml
index 0d8c5fef..72255363 100644
--- a/custom-checks/findbugs/pom.xml
+++ b/custom-checks/findbugs/pom.xml
@@ -7,7 +7,7 @@
org.openhab.tools.sat.custom-checks
pom
- 0.18.0-SNAPSHOT
+ 0.19.0-SNAPSHOT
findbugs
diff --git a/custom-checks/pmd/pom.xml b/custom-checks/pmd/pom.xml
index 51736df1..4dfec2b9 100644
--- a/custom-checks/pmd/pom.xml
+++ b/custom-checks/pmd/pom.xml
@@ -7,7 +7,7 @@
org.openhab.tools.sat.custom-checks
pom
- 0.18.0-SNAPSHOT
+ 0.19.0-SNAPSHOT
pmd
diff --git a/pom.xml b/pom.xml
index 6b80b553..a81a0fd1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
4.0.0
org.openhab.tools.sat
pom
- 0.18.0-SNAPSHOT
+ 0.19.0-SNAPSHOT
pom
Static Code Analysis Tool Parent POM
@@ -74,7 +74,7 @@
3.14.1
2.4.1
1.19.1
- 0.17.0
+ 0.18.0
2.3.100
0.64.8
3.5.4