Skip to content

Commit

Permalink
Merge pull request openhab#3 from dvanherbergen/master
Browse files Browse the repository at this point in the history
Update to new ESH feature
  • Loading branch information
kaikreuzer committed Jan 4, 2016
2 parents 6145bbf + d737515 commit ef486cf
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 31 deletions.
39 changes: 27 additions & 12 deletions features/karaf/src/main/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,21 @@
<features name="${project.artifactId}-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">

<feature name="openhab-runtime-base" description="openHAB Runtime Base" version="${project.version}">
<feature>shk-esh-base</feature>
<feature>shk-esh-io-console-karaf</feature>
<bundle start-level="90">mvn:org.openhab.core/org.openhab.core/${project.version}</bundle>
<feature>esh-base</feature>
<feature>esh-io-console-karaf</feature>
<feature>esh-io-rest-sitemap</feature>
<feature>esh-model-item-runtime</feature>
<feature>esh-model-persistence-runtime</feature>
<feature>esh-model-rule-runtime</feature>
<feature>esh-model-script-runtime</feature>
<feature>esh-model-sitemap-runtime</feature>
<feature>esh-model-thing-runtime</feature>
<feature>esh-storage-mapdb</feature>
<feature>esh-ui-iconset-classic</feature>
<feature dependency="true">shell</feature>
<bundle start-level="90">mvn:org.openhab.core/org.openhab.core/${project.version}</bundle>
<bundle prerequisite="true">mvn:org.apache.karaf.shell/org.apache.karaf.shell.core/${dep.karaf.version}</bundle>
<bundle prerequisite="true">mvn:org.apache.karaf.wrapper/org.apache.karaf.wrapper.core/${dep.karaf.version}</bundle>
<bundle>mvn:org.openhab.core/org.openhab.core/${project.version}</bundle>
<bundle>mvn:org.openhab.core/org.openhab.core.karaf/${project.version}</bundle>
</feature>

Expand All @@ -40,15 +48,20 @@

<feature name="openhab-runtime-compat1x" description="Compatibility layer for openHAB 1 addons" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>esh-model-item</feature>
<feature>esh-model-persistence</feature>
<feature>esh-model-script</feature>
<feature>esh-model-sitemap</feature>
<feature>esh-ui</feature>
<bundle>mvn:org.openhab.core/org.openhab.core.compat1x/${project.version}</bundle>
</feature>

<feature name="openhab-transport-mdns" description="mDNS Transport" version="${project.version}">
<feature>shk-esh-io-transport-mdns</feature>
<feature>esh-io-transport-mdns</feature>
</feature>

<feature name="openhab-transport-mqtt" description="MQTT Transport" version="${project.version}">
<feature>shk-esh-io-transport-mqtt</feature>
<feature>esh-io-transport-mqtt</feature>
</feature>

<feature name="openhab-transport-serial" description="Serial Transport" version="${project.version}">
Expand All @@ -57,11 +70,11 @@
</feature>

<feature name="openhab-transport-upnp" description="UPnP Transport" version="${project.version}">
<feature>shk-esh-io-transport-upnp</feature>
<feature>esh-io-transport-upnp</feature>
</feature>

<feature name="openhab-misc-restdocs" description="REST Documentation" version="${project.version}">
<feature>shk-esh-base</feature>
<feature>esh-base</feature>
<feature>shk-jax-rs-provider-swagger</feature>
<feature>openhab-dashboard</feature>
<bundle>mvn:org.openhab.core/org.openhab.io.rest.docs/${project.version}</bundle>
Expand All @@ -74,14 +87,15 @@
<!-- ui -->

<feature name="openhab-dashboard" description="Dashboard" version="${project.version}">
<feature>shk-esh-base</feature>
<feature>esh-base</feature>
<bundle>mvn:org.openhab.core/org.openhab.ui.dashboard/${project.version}</bundle>
</feature>

<feature name="openhab-ui-basic" description="Basic UI" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>openhab-dashboard</feature>
<feature>shk-esh-ui-basic</feature>
<feature>esh-ui-basic</feature>
<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">
Expand All @@ -93,7 +107,8 @@
<feature name="openhab-ui-classic" description="Classic UI" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>openhab-dashboard</feature>
<feature>shk-esh-ui-classic</feature>
<feature>esh-ui-classic</feature>
<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">
Expand All @@ -104,7 +119,7 @@
<feature name="openhab-ui-paper" description="Paper UI" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>openhab-dashboard</feature>
<feature>shk-esh-ui-paper</feature>
<feature>esh-ui-paper</feature>
<bundle start-level="80">mvn:org.openhab.core/org.openhab.ui.paperui/${project.version}</bundle>
</feature>

Expand Down
18 changes: 14 additions & 4 deletions features/verify-karaf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,20 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.maggu2810.playground.shk</groupId>
<artifactId>shk-feature-base</artifactId>
<version>1.0.3</version>
<groupId>org.eclipse.smarthome</groupId>
<artifactId>karaf</artifactId>
<version>${esh.version}</version>
<classifier>features</classifier>
<type>xml</type>
</dependency>
<dependency>
<groupId>de.maggu2810.shk</groupId>
<artifactId>shk-feature-base</artifactId>
<version>${shk.version}</version>
<classifier>features</classifier>
<type>xml</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.openhab.core</groupId>
<artifactId>openhab-core</artifactId>
Expand Down Expand Up @@ -65,7 +73,8 @@
<descriptors>
<descriptor>mvn:org.apache.karaf.features/framework/${dep.karaf.version}/xml/features</descriptor>
<descriptor>mvn:org.apache.karaf.features/standard/${dep.karaf.version}/xml/features</descriptor>
<descriptor>mvn:de.maggu2810.playground.shk/shk-feature-base/1.0.3/xml/features</descriptor>
<descriptor>mvn:org.eclipse.smarthome/karaf/${esh.version}/xml/features</descriptor>
<descriptor>mvn:de.maggu2810.shk/shk-feature-base/${shk.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 All @@ -78,6 +87,7 @@
</features>
<verifyTransitive>false</verifyTransitive>
<ignoreMissingConditions>true</ignoreMissingConditions>
<fail>first</fail>
</configuration>
</execution>
</executions>
Expand Down
21 changes: 6 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>

<esh.version>0.8.0-SNAPSHOT</esh.version>

<shk.version>1.2</shk.version>
<dep.karaf.version>4.0.3</dep.karaf.version>
<karaf.maven.plugin.version>4.0.3</karaf.maven.plugin.version>
<karaf.features.version>4.0.3</karaf.features.version>
Expand Down Expand Up @@ -162,6 +162,11 @@
<name>JCenter Repository</name>
<url>https://jcenter.bintray.com/</url>
</repository>
<repository>
<id>shk-bintray</id>
<name>Bintray Repository for shk</name>
<url>https://dl.bintray.com/maggu2810/maven</url>
</repository>
<repository>
<id>jfrog</id>
<name>JFrog OSS Repository</name>
Expand All @@ -179,20 +184,6 @@
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>tmp-jaxrs-swagger</id>
<url>https://github.com/maggu2810/openhab2-mvn-repo/raw/jaxrs-swagger</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>tmp-shk</id>
<url>https://github.com/maggu2810/openhab2-mvn-repo/raw/shk</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

</project>

0 comments on commit ef486cf

Please sign in to comment.