openhab-addons/features/openhab-addons/pom.xml
lsiepel 90da4e40cc Apply Spotless after release (#17016)
* Spotless

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:49:00 +02:00

88 lines
3.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openhab.addons.features.karaf</groupId>
<artifactId>org.openhab.addons.reactor.features.karaf</artifactId>
<version>4.3.0-SNAPSHOT</version>
</parent>
<artifactId>org.openhab.addons.features.karaf.openhab-addons</artifactId>
<packaging>feature</packaging>
<name>openHAB Add-ons :: Features :: Karaf :: Add-ons</name>
<description>openHAB Add-ons Features</description>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.openhab.addons.features.karaf.openhab-addons-external</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<inherited>false</inherited>
<executions>
<execution>
<id>create-karaf-features</id>
<goals>
<goal>run</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<target>
<concat destfile="src/main/feature/feature.xml">
<header file="src/main/resources/header.xml" filtering="no"/>
<fileset dir="${basedirRoot}/bundles">
<include name="*/src/main/feature/feature.xml"/>
<exclude name="**/org.openhab.binding.bluetooth*/**/feature.xml"/>
<exclude name="**/org.openhab.binding.modbus*/**/feature.xml"/>
<exclude name="**/org.openhab.binding.sbus*/**/feature.xml"/>
<exclude name="**/org.openhab.binding.mqtt*/**/feature.xml"/>
</fileset>
<filterchain>
<linecontainsRegExp>
<regexp
pattern="(feature&gt;)|(feature\s)|(bundle&gt;)|(bundle\s)|(configfile&gt;)|(configfile\s)"/>
</linecontainsRegExp>
</filterchain>
<footer file="src/main/resources/footer.xml" filtering="no"/>
</concat>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<executions>
<execution>
<id>karaf-feature-verification</id>
<configuration>
<features>
<feature>openhab-binding-bluetooth</feature>
<feature>openhab-binding-modbus</feature>
<feature>openhab-binding-sbus</feature>
<feature>openhab-binding-mqtt</feature>
</features>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>