Problem with Tycho and new binding with imported lib

I am developing a new OH2 binding and a lib that is needed by the binding protocol.
In my Eclipse dev env both the lib and the binding can be compiled and debug/run in OH2.

Now I want to have a binary build to test on a standalone OH2 installation.
Following instructions from: have checked all these points:

  • created my binding from skeleton, so my pom.xml should be -> OK
  • mvn install the lib (which is also a OSGi bundle) -> OK I have a jar file for the lib
  • added the /lib folder to
  • added the lib (jar output from previous step) to the /lib folder of the new binding
  • added the lib to Bundle-ClassPath and the imported packages in the MANIFEST.MF of the new binding

However my mvn clean intall of the binding fails because Thyco cannot find the required lib:

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.openhab.binding.mybinding 2.2.0.qualifier
[ERROR]   Missing requirement: org.openhab.binding.mybinding 2.2.0.qualifier requires 'package 0.0.0' but it could not be found

It looks like Thyco cannot find the lib needed by the binding even if the lib was installed in the local mvn repo: as highlighted in the Tycho target platforms:

locally built artifacts in the local Maven repository. Just like in a normal Maven build, a Tycho build uses artifacts that have been built locally and installed into the local Maven repository. They are implicitly added to the target platform.

So why Tycho is not able to find the required lib ?

I have run:
mvn Dtycho.debug.resolver=true -X clean install
but the log is not helpful in finding the reason why Thyco cannot find the lib required by my binding…

Any help from the Open HAB community is much appreciated!