Skip to content

Commit ced1a01

Browse files
Upgrade californium to 4.0.0-M2
* Upgrade californium from 2.7.4 to 4.0.0-M2 * Replace special OH built net.i2p.crypto.eddsa by BouncyCastle * Upgrade slf4j from 2.0.12 to 2.0.16 Signed-off-by: Holger Friedrich <[email protected]>
1 parent 0e0732b commit ced1a01

File tree

4 files changed

+26
-27
lines changed

4 files changed

+26
-27
lines changed

bom/compile/pom.xml

+4-10
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<description>The dependencies that are used to compile the core bundles</description>
1818

1919
<properties>
20-
<californium.version>2.7.4</californium.version>
20+
<californium.version>4.0.0-M2</californium.version>
2121
<jetty.version>9.4.57.v20241219</jetty.version>
2222
<pax.web.version>8.0.30</pax.web.version>
2323
<swagger.version>2.2.28</swagger.version>
@@ -103,17 +103,11 @@
103103
<groupId>org.eclipse.californium</groupId>
104104
<artifactId>element-connector</artifactId>
105105
<version>${californium.version}</version>
106-
<exclusions>
107-
<exclusion>
108-
<groupId>net.i2p.crypto</groupId>
109-
<artifactId>eddsa</artifactId>
110-
</exclusion>
111-
</exclusions>
112106
</dependency>
113107
<dependency>
114-
<groupId>org.eclipse.orbit.bundles</groupId>
115-
<artifactId>net.i2p.crypto.eddsa</artifactId>
116-
<version>0.3.0.v20220506-1020</version>
108+
<groupId>org.eclipse.californium</groupId>
109+
<artifactId>californium-osgi</artifactId>
110+
<version>${californium.version}</version>
117111
</dependency>
118112

119113
<!-- Gson -->

bom/runtime/pom.xml

+14-10
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<name>openHAB Core :: BOM :: Runtime</name>
1717

1818
<properties>
19-
<californium.version>2.7.4</californium.version>
19+
<californium.version>4.0.0-M2</californium.version>
2020
<!-- cxf can be updated independently of karaf, only used in karaf tests -->
2121
<cxf.version>3.6.5</cxf.version>
2222
<jackson.version>2.18.2</jackson.version>
@@ -435,17 +435,21 @@
435435
<groupId>org.eclipse.californium</groupId>
436436
<artifactId>element-connector</artifactId>
437437
<version>${californium.version}</version>
438-
<exclusions>
439-
<exclusion>
440-
<groupId>net.i2p.crypto</groupId>
441-
<artifactId>eddsa</artifactId>
442-
</exclusion>
443-
</exclusions>
444438
</dependency>
445439
<dependency>
446-
<groupId>org.eclipse.orbit.bundles</groupId>
447-
<artifactId>net.i2p.crypto.eddsa</artifactId>
448-
<version>0.3.0.v20220506-1020</version>
440+
<groupId>org.eclipse.californium</groupId>
441+
<artifactId>californium-osgi</artifactId>
442+
<version>${californium.version}</version>
443+
</dependency>
444+
<dependency>
445+
<groupId>org.slf4j</groupId>
446+
<artifactId>jul-to-slf4j</artifactId>
447+
<version>${slf4j.version}</version>
448+
</dependency>
449+
<dependency>
450+
<groupId>org.bouncycastle</groupId>
451+
<artifactId>bcprov-jdk18on</artifactId>
452+
<version>1.78.1</version>
449453
</dependency>
450454

451455
<!-- Gson -->

features/karaf/openhab-tp/src/main/feature/feature.xml

+7-6
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@
4141
</feature>
4242

4343
<feature name="openhab.tp-coap" description="Californium CoAP library" version="${project.version}">
44-
<capability>openhab.tp;feature=coap;version=2.7.4</capability>
45-
<bundle>mvn:org.eclipse.californium/californium-osgi/2.7.4</bundle>
46-
<bundle>mvn:org.eclipse.californium/californium-core/2.7.4</bundle>
47-
<bundle>mvn:org.eclipse.californium/element-connector/2.7.4</bundle>
48-
<bundle>mvn:org.eclipse.californium/scandium/2.7.4</bundle>
49-
<bundle>mvn:org.eclipse.orbit.bundles/net.i2p.crypto.eddsa/0.3.0.v20220506-1020</bundle>
44+
<capability>openhab.tp;feature=coap;version=4.0.0-M2</capability>
45+
<bundle>mvn:org.eclipse.californium/californium-osgi/4.0.0-M2</bundle>
46+
<bundle>mvn:org.eclipse.californium/californium-core/4.0.0-M2</bundle>
47+
<bundle>mvn:org.eclipse.californium/element-connector/4.0.0-M2</bundle>
48+
<bundle>mvn:org.eclipse.californium/scandium/4.0.0-M2</bundle>
49+
<bundle dependency="true">mvn:org.slf4j/jul-to-slf4j/2.0.16</bundle>
50+
<bundle dependency="true">mvn:org.bouncycastle/bcprov-jdk18on/1.78.1</bundle>
5051
</feature>
5152

5253
<feature name="openhab.tp-commons-net" description="The Apache Commons Net library" version="${project.version}">

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<karaf.compile.version>4.4.7</karaf.compile.version>
7373
<karaf.tooling.version>4.4.7</karaf.tooling.version>
7474
<sat.version>0.17.0</sat.version>
75-
<slf4j.version>2.0.12</slf4j.version>
75+
<slf4j.version>2.0.16</slf4j.version>
7676
<xtext.version>2.37.0</xtext.version>
7777
<spotless.version>2.43.0</spotless.version>
7878
<!-- Eclipse Java formatter version 4.26+ does not check test files -->

0 commit comments

Comments
 (0)