Skip to content

Commit

Permalink
[infrastructure] correctly adding configfiles to features (openhab#7187)
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <[email protected]>
  • Loading branch information
kaikreuzer authored and markus7017 committed May 29, 2020
1 parent 2184cbd commit f8b210b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
<feature name="openhab-binding-leapmotion" description="LeapMotion Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.leapmotion/${project.version}</bundle>
<configfile finalname="${openhab.userdata}/tmp/lib/libLeap.dylib" override="false">mvn:${project.groupId}/openhab-addons-external/${project.version}/lib/libLeap</configfile>
<configfile finalname="${openhab.userdata}/tmp/lib/libLeapJava.dylib" override="false">mvn:${project.groupId}/openhab-addons-external/${project.version}/lib/libLeapJava</configfile>
</feature>
</features>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<feature name="openhab-misc-openhabcloud" description="openHAB Cloud Connector" version="${project.version}">
<feature>openhab-runtime-base</feature>
<configfile finalname="${openhab.conf}/services/openhabcloud.cfg" override="false">mvn:${project.groupId}/openhab-addons-external/${project.version}/cfg/openhabcloud</configfile>
<bundle dependency="true">mvn:org.json/json/20180813</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsr305/3.0.2_1</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.okhttp/3.8.1_1</bundle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<feature name="openhab-voice-voicerss" description="VoiceRSS Text-to-Speech" version="${project.version}">
<feature>openhab-runtime-base</feature>
<configfile finalname="${openhab.conf}/services/voicerss.cfg" override="false">mvn:${project.groupId}/openhab-addons-external/${project.version}/cfg/voicerss</configfile>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.voice.voicerss/${project.version}</bundle>
</feature>
</features>
7 changes: 1 addition & 6 deletions features/openhab-addons-external/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>2.5.3-SNAPSHOT</version>
</parent>

<artifactId>org.openhab.addons.features.karaf.openhab-addons-external</artifactId>
<artifactId>openhab-addons-external</artifactId>
<packaging>pom</packaging>

<name>openHAB Add-ons :: Features :: Karaf :: Add-ons External</name>
Expand All @@ -28,11 +28,6 @@
<phase>package</phase>
<configuration>
<artifacts>
<artifact>
<file>src/main/resources/conf/cometvisu.cfg</file>
<type>cfg</type>
<classifier>cometvisu</classifier>
</artifact>
<artifact>
<file>src/main/resources/conf/voicerss.cfg</file>
<type>cfg</type>
Expand Down

This file was deleted.

0 comments on commit f8b210b

Please sign in to comment.