From 186b1fa481578935718c106dcdee62e8a0d283aa Mon Sep 17 00:00:00 2001 From: Hilbrand Bouwkamp Date: Mon, 31 Aug 2026 13:19:28 +0200 Subject: [PATCH] Set root pom to 1.4.0 Due to changes in library dependencies some gml seems to be genereated with different spacing. To handle this the unit test removes all spaces between elements from gml files before comparison. --- .../src/test/java/nl/overheid/aerius/gml/AssertGML.java | 3 +-- source/pom.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/imaer-gml/src/test/java/nl/overheid/aerius/gml/AssertGML.java b/source/imaer-gml/src/test/java/nl/overheid/aerius/gml/AssertGML.java index be9878a6..004dc16a 100644 --- a/source/imaer-gml/src/test/java/nl/overheid/aerius/gml/AssertGML.java +++ b/source/imaer-gml/src/test/java/nl/overheid/aerius/gml/AssertGML.java @@ -43,7 +43,6 @@ import java.util.List; import java.util.Locale; import java.util.Map; -import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -320,6 +319,6 @@ private static void validateGeometryForShipping(final Geometry geometry) throws } private static String replaceNewLines(final String string) { - return USE_ORIGINAL_GML ? string : string.replaceAll("[\n\r]", ""); + return USE_ORIGINAL_GML ? string : string.replaceAll("[\n\r]", "").replaceAll(">\s+<", "><"); } } diff --git a/source/pom.xml b/source/pom.xml index 8b980542..fc45d95a 100644 --- a/source/pom.xml +++ b/source/pom.xml @@ -22,7 +22,7 @@ nl.aerius aerius-root-pom - 1.2.0 + 1.4.0