Something wrong with woodstock dependency,

Hello,

I’m experiencing some issue to include a third party library in one of my addon.
I’ve trace the issue that seems to come from woodstox dependency.

Status ERROR: org.bndtools.launch code=0 com.fasterxml.woodstox.woodstox-core;version=7.1.0 Not found in [bndtools.m2e.MavenImplicitProjectRepository@628d2d3d, Maven Workspace, bnd-cache [C:/eclipse/openhab-main/git/openhab-distro/launch/app/target/tmp/LAUNCH/app/cnf/cache/7.0.0/bnd-cache r/w=false]]

I’ve seen that we have 2 different version include in openhab, an old 6.6.2 version, and the 7.1.0 version. The app.bndrun include by default the 6.6.2 version:

com.fasterxml.woodstox.woodstox-core;version=‘[6.6.2,6.6.3)’,\

I’ve try to add 7.1.0 to fix the error, but no way.
Can someone give me some hint on this ?

Laurent.

  • Platform information:
    • Hardware: x64
    • OS: Windows
    • Java Runtime Environment: Jdk21
    • openHAB version: 5.1-snapshot

Ok, I’ve finally fixed my issue by forcing woodstox to 6.6.2 in my binding.
Just by adding this line in pom.xml

<dependency>
  <groupId>com.fasterxml.woodstox</groupId>
  <artifactId>woodstox-core</artifactId>
  <version>6.6.2</version>
</dependency>

It seems that we need 6.6.2 version because of cxf3 dependendy.
I don’t know when the 7.1.0 version came at the first place.

Laurent.