From de89b6fc27f7d7b253b79b1e1fdbbfe7dd1e841c Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sun, 23 Feb 2025 19:05:22 +0100 Subject: [PATCH] Use Spotless sortpom plug-in (#3073) This simplifies the sortpom configuration and also allows for checking and reformatting them using the spotless:check and spotless:apply Maven goals. Similar to openhab/openhab-core#4618 Signed-off-by: Wouter Born --- bom/openhab-ui/pom.xml | 4 +- bom/pom.xml | 4 +- bundles/org.openhab.ui.basic/pom.xml | 4 +- bundles/org.openhab.ui.cometvisu/pom.xml | 4 +- bundles/org.openhab.ui.habot/pom.xml | 4 +- bundles/org.openhab.ui.habpanel/pom.xml | 4 +- .../org.openhab.ui.iconset.classic/pom.xml | 4 +- bundles/org.openhab.ui/pom.xml | 4 +- bundles/pom.xml | 4 +- features/openhab-ui-external/pom.xml | 4 +- features/openhab-ui/pom.xml | 7 +- features/pom.xml | 4 +- pom.xml | 64 ++++--------------- 13 files changed, 39 insertions(+), 76 deletions(-) diff --git a/bom/openhab-ui/pom.xml b/bom/openhab-ui/pom.xml index da7193e28..766ff5203 100644 --- a/bom/openhab-ui/pom.xml +++ b/bom/openhab-ui/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/bom/pom.xml b/bom/pom.xml index fa7c30aef..e7d16bd54 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/bundles/org.openhab.ui.basic/pom.xml b/bundles/org.openhab.ui.basic/pom.xml index a15afc72f..1bafe0a12 100644 --- a/bundles/org.openhab.ui.basic/pom.xml +++ b/bundles/org.openhab.ui.basic/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/bundles/org.openhab.ui.cometvisu/pom.xml b/bundles/org.openhab.ui.cometvisu/pom.xml index fa4f245d3..1c1341c5a 100644 --- a/bundles/org.openhab.ui.cometvisu/pom.xml +++ b/bundles/org.openhab.ui.cometvisu/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/bundles/org.openhab.ui.habot/pom.xml b/bundles/org.openhab.ui.habot/pom.xml index 7d50157ea..f4cd74e64 100644 --- a/bundles/org.openhab.ui.habot/pom.xml +++ b/bundles/org.openhab.ui.habot/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.openhab.ui.bundles diff --git a/bundles/org.openhab.ui.habpanel/pom.xml b/bundles/org.openhab.ui.habpanel/pom.xml index 9f5da2eaa..b8f417b4a 100644 --- a/bundles/org.openhab.ui.habpanel/pom.xml +++ b/bundles/org.openhab.ui.habpanel/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/bundles/org.openhab.ui.iconset.classic/pom.xml b/bundles/org.openhab.ui.iconset.classic/pom.xml index f54eb2ce4..229ef6a3b 100644 --- a/bundles/org.openhab.ui.iconset.classic/pom.xml +++ b/bundles/org.openhab.ui.iconset.classic/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/bundles/org.openhab.ui/pom.xml b/bundles/org.openhab.ui/pom.xml index 98d73cecb..ce13438dc 100644 --- a/bundles/org.openhab.ui/pom.xml +++ b/bundles/org.openhab.ui/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/bundles/pom.xml b/bundles/pom.xml index b8234db0f..e88365e8b 100644 --- a/bundles/pom.xml +++ b/bundles/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/features/openhab-ui-external/pom.xml b/features/openhab-ui-external/pom.xml index 2e5b6efff..c235e31d2 100644 --- a/features/openhab-ui-external/pom.xml +++ b/features/openhab-ui-external/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/features/openhab-ui/pom.xml b/features/openhab-ui/pom.xml index 1e19329bb..ad7e25624 100644 --- a/features/openhab-ui/pom.xml +++ b/features/openhab-ui/pom.xml @@ -1,6 +1,6 @@ - + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 @@ -50,8 +50,7 @@ - +