Skip to content

Commit

Permalink
Install add-on discovery file from openhab-addons (#1604)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <[email protected]>
  • Loading branch information
J-N-K authored Dec 6, 2023
1 parent f1d8e38 commit f98a08f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions distributions/openhab/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
<feature>system</feature>
<feature>openhab-runtime-base</feature>
<feature>openhab-runtime-ui</feature>
<feature>openhab-addon-discovery</feature>
</bootFeatures>
<archiveZip>false</archiveZip>
<archiveTarGz>false</archiveTarGz>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ featuresBoot = \
jaas/${karaf.version}, \
openhab-runtime-base, \
openhab-runtime-ui, \
openhab-addon-discovery, \
deployer/${karaf.version}, \
diagnostic/${karaf.version}, \
bundle/${karaf.version}, \
Expand Down
4 changes: 4 additions & 0 deletions features/distro/src/main/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
<bundle>mvn:org.openhab.ui.bundles/org.openhab.ui.iconset.classic/${project.version}</bundle>
</feature>

<feature name="openhab-addon-discovery" description="Discovery Information" version="${project.version}">
<configfile finalname="${openhab.userdata}/addons/openhab-addons.xml" override="false">mvn:org.openhab.addons.features.karaf/org.openhab.addons.features.karaf.openhab-addons-external/${project.version}/xml/addons</configfile>
</feature>

</features>

0 comments on commit f98a08f

Please sign in to comment.