forked from openhab/openhab-addons
/
pom.xml
83 lines (76 loc) · 3.11 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?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 http://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>2.5.3-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>1.8</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.mqtt*/**/feature.xml"/>
<!-- temporarily disabled due to malfunction -->
<exclude name="**/org.openhab.io.azureiothub/**/feature.xml"/>
</fileset>
<filterchain>
<linecontainsRegExp>
<regexp pattern="(feature>)|(feature\s)|(bundle>)|(bundle\s)|(configfile>)|(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-mqtt</feature>
<feature>openhab-misc-ruleengine</feature>
</features>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>