openhab-addons/features/openhab-addons-external/pom.xml

131 lines
4.9 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.4.0-SNAPSHOT</version>
</parent>
<artifactId>org.openhab.addons.features.karaf.openhab-addons-external</artifactId>
<packaging>pom</packaging>
<name>openHAB Add-ons :: Features :: Karaf :: Add-ons External</name>
<description>openHAB Add-ons External</description>
<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-addonsinfo</id>
<goals>
<goal>run</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<target>
<concat destfile="${project.build.directory}/addons.xml">
<header file="src/main/resources/addon-header.xml" filtering="no"/>
<fileset dir="${basedirRoot}/bundles">
<include name="*/src/main/resources/OH-INF/addon/addon*.xml"/>
</fileset>
<filterchain>
<linecontainsRegExp negate="true">
<regexp pattern="&lt;\?xml"/>
</linecontainsRegExp>
</filterchain>
<footer file="src/main/resources/addon-footer.xml" filtering="no"/>
</concat>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifact</id>
<goals>
<goal>attach-artifact</goal>
</goals>
<phase>package</phase>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/addons.xml</file>
<type>xml</type>
<classifier>addons</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/dynamodb.cfg</file>
<type>cfg</type>
<classifier>dynamodb</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/exec.whitelist</file>
<type>cfg</type>
<classifier>exec.whitelist</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/influxdb.cfg</file>
<type>cfg</type>
<classifier>influxdb</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/jdbc.cfg</file>
<type>cfg</type>
<classifier>jdbc</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/jpa.cfg</file>
<type>cfg</type>
<classifier>jpa</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/mapdb.cfg</file>
<type>cfg</type>
<classifier>mapdb</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/openhabcloud.cfg</file>
<type>cfg</type>
<classifier>openhabcloud</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/rrd4j.cfg</file>
<type>cfg</type>
<classifier>rrd4j</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/voicerss.cfg</file>
<type>cfg</type>
<classifier>voicerss</classifier>
</artifact>
<artifact>
<file>src/main/resources/lib/libLeap.dylib</file>
<type>lib</type>
<classifier>libLeap</classifier>
</artifact>
<artifact>
<file>src/main/resources/lib/libLeapJava.dylib</file>
<type>lib</type>
<classifier>libLeapJava</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>