diff --git a/pom.xml b/pom.xml index 2a0797f5156..0c1b9cc1d45 100644 --- a/pom.xml +++ b/pom.xml @@ -641,6 +641,30 @@ Import-Package: \\ com.diffplug.spotless spotless-maven-plugin + + org.codehaus.mojo + xml-maven-plugin + 1.1.0 + + + + ${session.executionRootDirectory} + **/src/main/resources/OH-INF/thing/*.xml + https://openhab.org/schemas/thing-description-1.0.0.xsd + + + + ${session.executionRootDirectory}/src/thing-type-xml-validation-catalog.xml + + + + + + validate + + + + diff --git a/src/thing-type-xml-validation-catalog.xml b/src/thing-type-xml-validation-catalog.xml new file mode 100644 index 00000000000..694ec0ea2b4 --- /dev/null +++ b/src/thing-type-xml-validation-catalog.xml @@ -0,0 +1,4 @@ + + + +