Skip to content

Commit

Permalink
Merge pull request openhab#37 from maggu2810/karaf-features
Browse files Browse the repository at this point in the history
use ESH Karaf target platform
  • Loading branch information
kaikreuzer committed Apr 18, 2016
2 parents be3a691 + f3696aa commit c6d56c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 72 deletions.
80 changes: 8 additions & 72 deletions features/karaf/src/main/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,70 +11,6 @@
-->
<features name="${project.artifactId}-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">

<repository>mvn:de.maggu2810.kat.features/apache-commons/${kat.version}/xml/features</repository>
<repository>mvn:de.maggu2810.kat.features/gson/${kat.version}/xml/features</repository>
<repository>mvn:de.maggu2810.kat.features/jmdns/${kat.version}/xml/features</repository>
<repository>mvn:de.maggu2810.kat.features/jupnp/${kat.version}/xml/features</repository>
<repository>mvn:de.maggu2810.kat.features/paho/${kat.version}/xml/features</repository>
<repository>mvn:de.maggu2810.kat.features/xtext/${kat.version}/xml/features</repository>

<feature name="shk-jax-rs-min" version="5.3">
<feature dependency="true">http</feature>
<bundle dependency="true">mvn:com.eclipsesource.jaxrs/jersey-min/2.22.1</bundle>
<bundle>mvn:com.eclipsesource.jaxrs/publisher/5.3</bundle>
</feature>

<feature name="shk-jax-rs-provider-gson" version="2.3">
<feature dependency="true" version="[5.3,5.4)">shk-jax-rs-min</feature>
<feature dependency="true" version="[2.3,2.4)">kat-gson</feature>
<bundle>mvn:com.eclipsesource.jaxrs/provider-gson/2.3</bundle>
</feature>

<feature name="shk-jax-rs-provider-swagger" version="1.0.sp1">
<feature dependency="true" version="[5.3,5.4)">shk-jax-rs-min</feature>
<bundle>mvn:de.maggu2810.thirdparty.modified.com.eclipsesource.jaxrs/swagger-all/1.5.5.sp1</bundle>
<bundle>mvn:com.eclipsesource.jaxrs/provider-swagger/1.1</bundle>
</feature>

<feature name="esh-tp-base" description="TargetPlatform Base" version="${project.version}">
<feature>eventadmin</feature>
<feature>scr</feature>
<feature>shk-jax-rs-min</feature>
<feature>shk-jax-rs-provider-gson</feature>
<feature>shk-jax-rs-provider-swagger</feature>
<bundle>mvn:io.swagger/swagger-annotations/1.5.5</bundle>
</feature>

<feature name="esh-tp-commons" version="${project.version}">
<feature dependency="true">kat-apache-commons-codec</feature>
<feature dependency="true">kat-apache-commons-collections</feature>
<feature dependency="true">kat-apache-commons-exec</feature>
<feature dependency="true">kat-apache-commons-httpclient</feature>
<feature dependency="true">kat-apache-commons-io</feature>
<feature dependency="true">kat-apache-commons-lang</feature>
<feature dependency="true">kat-apache-commons-net</feature>
</feature>

<feature name="esh-tp-jupnp" version="${project.version}">
<feature version="[2.2.0,3)">kat-jupnp</feature>
<capability>esh.tp;feature=jupnp</capability>
</feature>

<feature name="esh-tp-jmdns" version="${project.version}">
<feature version="[3.5.0,4)">kat-jmdns</feature>
<capability>esh.tp;feature=jmdns</capability>
</feature>

<feature name="esh-tp-paho" version="${project.version}">
<feature>kat-paho-client-mqttv3</feature>
<capability>esh.tp;feature=paho</capability>
</feature>

<feature name="esh-tp-xtext" version="${project.version}">
<feature version="[2.9.2,2.9.3)">kat-xtext</feature>
<capability>esh.tp;feature=xtext;version=2.9.2</capability>
</feature>

<feature name="openhab-runtime-base" description="openHAB Runtime Base" version="${project.version}">
<feature>esh-base</feature>
<feature>esh-io-console-karaf</feature>
Expand Down Expand Up @@ -143,7 +79,7 @@

<feature name="openhab-misc-restdocs" description="REST Documentation" version="${project.version}">
<feature>esh-base</feature>
<feature>shk-jax-rs-provider-swagger</feature>
<requirement>esh.tp;filter:="(feature=jax-rs-provider-swagger)"</requirement>
<feature>openhab-dashboard</feature>
<bundle>mvn:org.openhab.core/org.openhab.io.rest.docs/${project.version}</bundle>
</feature>
Expand All @@ -162,10 +98,10 @@
<feature>esh-ui-icon</feature>
<bundle start-level="80">mvn:org.openhab.core/org.openhab.ui.basicui/${project.version}</bundle>
<bundle start-level="80">mvn:org.openhab.core/org.openhab.ui.iconset.classic/${project.version}</bundle>
<config name="org.eclipse.smarthome.basicui">
defaultSitemap = _default
iconType = svg
</config>
<config name="org.eclipse.smarthome.basicui">
defaultSitemap = _default
iconType = svg
</config>
</feature>

<feature name="openhab-ui-classic" description="Classic UI" version="${project.version}">
Expand All @@ -175,9 +111,9 @@
<feature>esh-ui-icon</feature>
<bundle start-level="80">mvn:org.openhab.core/org.openhab.ui.classicui/${project.version}</bundle>
<bundle start-level="80">mvn:org.openhab.core/org.openhab.ui.iconset.classic/${project.version}</bundle>
<config name="org.eclipse.smarthome.classicui">
defaultSitemap = _default
</config>
<config name="org.eclipse.smarthome.classicui">
defaultSitemap = _default
</config>
</feature>

<feature name="openhab-ui-paper" description="Paper UI" version="${project.version}">
Expand Down
1 change: 1 addition & 0 deletions features/verify-karaf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<descriptor>mvn:org.apache.karaf.features/framework/${karaf.version}/xml/features</descriptor>
<descriptor>mvn:org.apache.karaf.features/standard/${karaf.version}/xml/features</descriptor>
<descriptor>mvn:org.eclipse.smarthome/karaf/${esh.version}/xml/features</descriptor>
<descriptor>mvn:org.eclipse.smarthome/karaf-tp/${esh.version}/xml/features</descriptor>
<descriptor>mvn:org.openhab.core/openhab-core/${project.version}/xml/features</descriptor>
</descriptors>
<distribution>org.apache.karaf.features:framework</distribution>
Expand Down

0 comments on commit c6d56c7

Please sign in to comment.