Skip to content

Commit

Permalink
Use gnu.io [3.12,6) version range in package imports (openhab#7589)
Browse files Browse the repository at this point in the history
The first version of nrjavaserial with OSGi manifest entries is 3.12.0.
The interface has not changed and is still the same with nrjavaserial 5.x.
So defining a [3.12,6) version range allows for maximum flexibility.

Related to: openhab/openhab-core#1464

Signed-off-by: Wouter Born <github@maindrain.net>
  • Loading branch information
wborn authored and andrewfg committed Aug 31, 2020
1 parent 44e2e6f commit c822133
Show file tree
Hide file tree
Showing 18 changed files with 69 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.cm11a/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.digiplex/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

<name>openHAB Add-ons :: Bundles :: Digiplex/EVO Binding</name>

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.dscalarm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.elerotransmitterstick/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.jeelink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
2 changes: 1 addition & 1 deletion bundles/org.openhab.binding.knx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<name>openHAB Add-ons :: Bundles :: KNX Binding</name>

<properties>
<bnd.importpackage>javax.microedition.io.*;resolution:="optional",javax.usb.*;resolution:="optional",org.usb4java.*;resolution:="optional"</bnd.importpackage>
<bnd.importpackage>gnu.io;version="[3.12,6)",javax.microedition.io.*;resolution:="optional",javax.usb.*;resolution:="optional",org.usb4java.*;resolution:="optional"</bnd.importpackage>
</properties>

<dependencies>
Expand Down
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.lgtvserial/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

<name>openHAB Add-ons :: Bundles :: LG TV Serial Binding</name>

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.lutron/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.meteostick/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.nibeheatpump/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

<name>openHAB Add-ons :: Bundles :: Nibe Heatpump Binding</name>

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.oceanic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.pentair/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.phc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.regoheatpump/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.rme/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.smartmeter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

<dependencies>
<dependency>
<groupId>io.reactivex.rxjava2</groupId>
Expand Down
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.urtsi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

<name>openHAB Add-ons :: Bundles :: Somfy URTSI II binding</name>

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>
4 changes: 4 additions & 0 deletions bundles/org.openhab.binding.velbus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

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

<properties>
<bnd.importpackage>gnu.io;version="[3.12,6)"</bnd.importpackage>
</properties>

</project>

0 comments on commit c822133

Please sign in to comment.