Need some help with setup to create new binding using maven/bnd

For local development use the libs dir or edit the bndrun file. The latter is preferred but requires a bit more knowledge.

I tried to add the jsoup file to the bndrun file but it then complained about not being able to resolve the jsop jar, I then tried to copy it to a ~/.bnd/…/…/…/…/cache directory but that did not work either.
Unfortunately I’m stuck in getting an external library to work in my local development environment.

Does external libraries work in other bnd converted local development environments? Has anyone succeeded in resolving an external library on your local bnd Eclipse environment?

Usually:

  1. Add the maven dependency via pom.xml
  2. Run maven with -DwithResolver or in Eclipse let maven refresh (project right click->maven->refresh or something) click the “resolve” button in the bnd window.

I’m really thankful for for help but I’ve tested everything and Eclipse can’t still resolve the jsoup library at runtime (when starting via Run OSGi/Debug OSGi). So frustrating.