зеркало из https://github.com/mozilla/smarthome.git
added Karaf feature definitions
Also-By: Markus Rathgeb <maggu2810@gmail.com> Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Родитель
8818b9b847
Коммит
faf8dd59ff
|
@ -16,3 +16,4 @@ bundles/core/org.eclipse.smarthome.core.id.test/userdata/
|
|||
bundles/storage/org.eclipse.smarthome.storage.mapdb.test/userdata/mapdb/storage.mapdb
|
||||
bundles/storage/org.eclipse.smarthome.storage.mapdb.test/userdata/mapdb/storage.mapdb.p
|
||||
bundles/storage/org.eclipse.smarthome.storage.mapdb.test/userdata/mapdb/storage.mapdb.t
|
||||
features/karaf/src/main/history
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.karaf.shell</groupId>
|
||||
<artifactId>org.apache.karaf.shell.core</artifactId>
|
||||
<version>4.0.0.M2</version>
|
||||
<version>${karaf.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.eclipse.smarthome</groupId>
|
||||
<artifactId>features</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>karaf</artifactId>
|
||||
<packaging>feature</packaging>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.karaf.tooling</groupId>
|
||||
<artifactId>karaf-maven-plugin</artifactId>
|
||||
<version>${karaf.version}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<startLevel>60</startLevel>
|
||||
<aggregateFeatures>true</aggregateFeatures>
|
||||
<checkDependencyChange>true</checkDependencyChange>
|
||||
<failOnDependencyChange>false</failOnDependencyChange>
|
||||
<logDependencyChanges>true</logDependencyChanges>
|
||||
<overwriteChangedDependencies>true</overwriteChangedDependencies>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,318 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<features name="${project.artifactId}-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.3.0">
|
||||
|
||||
<feature name="esh-base" description="ESH" version="${project.version}">
|
||||
<details>ESH base bundles</details>
|
||||
|
||||
<feature>esh-tp-base</feature>
|
||||
|
||||
<feature dependency="true">esh-tp-commons</feature>
|
||||
|
||||
<feature dependency="true">esh-tp-xtext</feature>
|
||||
<requirement>esh.tp;filter:="(&(feature=xtext)(version>=2.6.2)(!(version>=2.6.3)))"</requirement>
|
||||
|
||||
<bundle>mvn:org.eclipse.smarthome.config/org.eclipse.smarthome.config.core/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.config/org.eclipse.smarthome.config.discovery/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.config/org.eclipse.smarthome.config.dispatch/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.config/org.eclipse.smarthome.config.xml/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.core/org.eclipse.smarthome.core/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.core/org.eclipse.smarthome.core.autoupdate/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.core/org.eclipse.smarthome.core.binding.xml/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.core/org.eclipse.smarthome.core.id/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.core/org.eclipse.smarthome.core.persistence/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.core/org.eclipse.smarthome.core.scheduler/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.core/org.eclipse.smarthome.core.thing/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.core/org.eclipse.smarthome.core.thing.xml/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.core/org.eclipse.smarthome.core.transform/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.console/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.monitor/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.multimedia/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.net/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.rest/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.rest.core/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.rest.sse/${project.version}</bundle>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.core/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<!-- optional ESH bundles -->
|
||||
|
||||
<feature name="esh-automation-api" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.api/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-automation-commands" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-automation-api</feature>
|
||||
<feature dependency="true">esh-automation-core</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.commands/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-automation-core" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-automation-api</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.core/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-automation-module-core" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-automation-api</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.module.core/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-automation-module-script" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-automation-api</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.module.script/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-automation-module-script-defaultscope" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-automation-api</feature>
|
||||
<feature dependency="true">esh-automation-module-script</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.module.script.defaultscope/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-automation-module-timer" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-automation-api</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.module.timer/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-automation-parser-gson" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-automation-api</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.parser.gson/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-automation-providers" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-automation-api</feature>
|
||||
<feature dependency="true">esh-automation-core</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.providers/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-automation-rest" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-automation-api</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.automation/org.eclipse.smarthome.automation.rest/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-binding-hue" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-io-transport-upnp</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.binding/org.eclipse.smarthome.binding.hue/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-binding-lifx" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.binding/org.eclipse.smarthome.binding.lifx/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-binding-ntp" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.binding/org.eclipse.smarthome.binding.ntp/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-binding-sonos" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-io-transport-upnp</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.binding/org.eclipse.smarthome.binding.sonos/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-binding-wemo" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.binding/org.eclipse.smarthome.binding.wemo/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-binding-yahooweather" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.binding/org.eclipse.smarthome.binding.yahooweather/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-io-console-karaf" description="Karaf Console support for SmartHome stuff" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>shell</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.console.karaf/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-io-rest-sitemap" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-ui</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.rest.sitemap/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-io-transport-mdns" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-tp-jmdns</feature>
|
||||
<requirement>esh.tp;filter:="(feature=jmdns)"</requirement>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.transport.mdns/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-io-transport-mqtt" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-tp-paho</feature>
|
||||
<requirement>esh.tp;filter:="(feature=paho)"</requirement>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.transport.mqtt/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-io-transport-upnp" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature dependency="true">esh-tp-jupnp</feature>
|
||||
<requirement>esh.tp;filter:="(feature=jupnp)"</requirement>
|
||||
<bundle>mvn:org.eclipse.smarthome.io/org.eclipse.smarthome.io.transport.upnp/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-item" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.item/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-item-runtime" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-item</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.item.runtime/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-persistence" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-item</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.persistence/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-persistence-runtime" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-persistence</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.persistence.runtime/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-rule" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-item</feature>
|
||||
<feature>esh-model-persistence</feature>
|
||||
<feature>esh-model-script</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.rule/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-rule-runtime" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-rule</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.rule.runtime/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-script" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-persistence</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.script/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-script-runtime" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-script</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.script.runtime/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-sitemap" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.sitemap/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-sitemap-runtime" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-sitemap</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.sitemap.runtime/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-thing" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-item</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.thing/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-model-thing-runtime" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-thing</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.thing.runtime/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-storage-mapdb" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.storage/org.eclipse.smarthome.storage.mapdb/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-transform-exec" description="Exec Transformation" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.transform/org.eclipse.smarthome.transform.exec/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-transform-javascript" description="Javascript Transformation" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.transform/org.eclipse.smarthome.transform.javascript/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-transform-jsonpath" description="JSONPath Transformation" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.transform/org.eclipse.smarthome.transform.jsonpath/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-transform-map" description="Map Transformation" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.transform/org.eclipse.smarthome.transform.map/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-transform-regex" description="RegEx Transformation" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.transform/org.eclipse.smarthome.transform.regex/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-transform-scale" description="Scale Transformation" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.transform/org.eclipse.smarthome.transform.scale/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-transform-xpath" description="XPath Transformation" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.transform/org.eclipse.smarthome.transform.xpath/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-transform-xslt" description="XSLT Transformation" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.transform/org.eclipse.smarthome.transform.xslt/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-ui" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-model-item</feature>
|
||||
<feature>esh-model-sitemap</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.ui/org.eclipse.smarthome.ui/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-ui-basic" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-ui</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.extension.ui/org.eclipse.smarthome.ui.basic/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-ui-classic" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-ui</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.extension.ui/org.eclipse.smarthome.ui.classic/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-ui-paper" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.extension.ui/org.eclipse.smarthome.ui.paper/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-ui-icon" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.ui/org.eclipse.smarthome.ui.icon/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="esh-ui-iconset-classic" version="${project.version}">
|
||||
<feature>esh-base</feature>
|
||||
<feature>esh-ui-icon</feature>
|
||||
<bundle>mvn:org.eclipse.smarthome.extension.ui.iconset/org.eclipse.smarthome.ui.iconset.classic/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
</features>
|
|
@ -27,6 +27,7 @@
|
|||
<module>org.eclipse.smarthome.feature.dependencies.designer</module>
|
||||
<module>org.eclipse.smarthome.feature.designer</module>
|
||||
<module>org.eclipse.smarthome.feature.test</module>
|
||||
<module>karaf</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
|
|
1
pom.xml
1
pom.xml
|
@ -44,6 +44,7 @@
|
|||
<tycho-version>0.23.1</tycho-version>
|
||||
<tycho-groupid>org.eclipse.tycho</tycho-groupid>
|
||||
<xtext-version>2.6.2</xtext-version>
|
||||
<karaf.version>4.0.3</karaf.version>
|
||||
<build.helper.maven.plugin.version>1.8</build.helper.maven.plugin.version>
|
||||
<maven.compiler.version>3.1</maven.compiler.version>
|
||||
<groovy.eclipse.compiler.version>2.8.0-01</groovy.eclipse.compiler.version>
|
||||
|
|
Загрузка…
Ссылка в новой задаче