Update nrjavaserial in TP to 5.0.2 and define import version range (#1464)

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 using 3.12.0 as compile time dependency and defining a [3.12,6) version range using bnd.bnd files allows for maximum flexibility.

Signed-off-by: Wouter Born <github@maindrain.net>
pull/1468/head
Wouter Born 2020-05-08 11:48:06 +02:00 committed by GitHub
parent aca4513601
commit ac1f4080e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 5 deletions

View File

@ -223,8 +223,6 @@
</dependency> </dependency>
<!-- Serial Communication --> <!-- Serial Communication -->
<!-- <dependency> <groupId>org.eclipse.kura</groupId> <artifactId>org.eclipse.soda.dk.comm</artifactId> <version>1.2.201</version>
<scope>compile</scope> </dependency> -->
<dependency> <dependency>
<groupId>org.vesalainen.comm</groupId> <groupId>org.vesalainen.comm</groupId>
<artifactId>javaxcomm</artifactId> <artifactId>javaxcomm</artifactId>
@ -234,7 +232,7 @@
<dependency> <dependency>
<groupId>com.neuronrobotics</groupId> <groupId>com.neuronrobotics</groupId>
<artifactId>nrjavaserial</artifactId> <artifactId>nrjavaserial</artifactId>
<version>3.20.0</version> <version>3.12.0</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>

View File

@ -462,7 +462,7 @@
<dependency> <dependency>
<groupId>com.neuronrobotics</groupId> <groupId>com.neuronrobotics</groupId>
<artifactId>nrjavaserial</artifactId> <artifactId>nrjavaserial</artifactId>
<version>3.20.0</version> <version>5.0.2</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>

View File

@ -0,0 +1,5 @@
Bundle-SymbolicName: ${project.artifactId}
Import-Package: \
gnu.io;version="[3.12,6)",\
gnu.io.rfc2217;version="[3.12,6)",\
*

View File

@ -0,0 +1,4 @@
Bundle-SymbolicName: ${project.artifactId}
Import-Package: \
gnu.io;version="[3.12,6)",\
*

View File

@ -212,7 +212,7 @@
<feature name="openhab.tp-serial-rxtx" version="${project.version}"> <feature name="openhab.tp-serial-rxtx" version="${project.version}">
<capability>openhab.tp;feature=serial;impl=rxtx</capability> <capability>openhab.tp;feature=serial;impl=rxtx</capability>
<bundle>mvn:com.neuronrobotics/nrjavaserial/3.20.0</bundle> <bundle>mvn:com.neuronrobotics/nrjavaserial/5.0.2</bundle>
</feature> </feature>
<feature name="openhab.tp-xtext" description="Xtext - Language Engineering Made Easy" version="${project.version}"> <feature name="openhab.tp-xtext" description="Xtext - Language Engineering Made Easy" version="${project.version}">