Skip to content

Commit

Permalink
Merge pull request openhab#144 from digitaldan/omnilink-binding-bnd
Browse files Browse the repository at this point in the history
[Omnilink] binding migration to new bnd build
  • Loading branch information
craigham authored Apr 28, 2019
2 parents 4369189 + a9ae922 commit 5e253b0
Show file tree
Hide file tree
Showing 61 changed files with 65 additions and 76 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
/bundles/org.openhab.binding.network/ @davidgraeff @mettke
/bundles/org.openhab.binding.nibeheatpump/ @paulianttila
/bundles/org.openhab.binding.nibeuplink/ @alexf2015
/bundles/org.openhab.binding.omnilink/ @boc-tothefuture @craigham @digitaldan
/bundles/org.openhab.binding.onewire/ @J-N-K
/bundles/org.openhab.binding.openuv/ @clinique
/bundles/org.openhab.binding.openweathermap/ @cweitkamp
Expand Down
9 changes: 0 additions & 9 deletions addons/binding/org.openhab.binding.omnilink/.classpath

This file was deleted.

26 changes: 0 additions & 26 deletions addons/binding/org.openhab.binding.omnilink/META-INF/MANIFEST.MF

This file was deleted.

10 changes: 0 additions & 10 deletions addons/binding/org.openhab.binding.omnilink/build.properties

This file was deleted.

Binary file not shown.
18 changes: 0 additions & 18 deletions addons/binding/org.openhab.binding.omnilink/pom.xml

This file was deleted.

32 changes: 32 additions & 0 deletions bundles/org.openhab.binding.omnilink/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,13 @@
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ds.core.builder</name>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
Binary file not shown.
24 changes: 24 additions & 0 deletions bundles/org.openhab.binding.omnilink/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?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.openhab.addons.bundles</groupId>
<artifactId>org.openhab.addons.reactor.bundles</artifactId>
<version>2.5.0-SNAPSHOT</version>
</parent>

<artifactId>org.openhab.binding.omnilink</artifactId>

<name>openHAB Add-ons :: Bundles :: Omnilink Binding</name>

<dependencies>
<dependency>
<groupId>com.github.digitaldan</groupId>
<artifactId>jomnilink</artifactId>
<version>1.3.6</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.util.Set;

public enum SystemType {
OMNI(16, 30),
OMNI(16, 30, 38),
LUMINA(36, 37);

private final Set<Integer> modelNumbers;
Expand Down
5 changes: 5 additions & 0 deletions features/karaf/openhab-addons/src/main/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,11 @@
<bundle start-level="80">mvn:org.openhab.binding/org.openhab.binding.oceanic/${project.version}</bundle>
</feature>

<feature name="openhab-binding-omnilink" description="Omnilink Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle start-level="80">mvn:org.openhab.binding/org.openhab.binding.omnilink/${project.version}</bundle>
</feature>

<feature name="openhab-binding-onebusaway" description="OneBusAway Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle start-level="80">mvn:org.openhab.binding/org.openhab.binding.onebusaway/${project.version}</bundle>
Expand Down

0 comments on commit 5e253b0

Please sign in to comment.