Hi,
I am building a bundle with bnd-maven-plugin that's using a dependency that's not packaged as a bundle the way I want.
I'd first like to repackage this dependency (e.g, restraining the range of some of its import statements) without having to fork it and maintain a fork, but rather by using maven to wrap it a bit like what Embed-Dependency allows to do in maven-bundle-plugin.
Ideally, I'd like to repackage that dependency without having to create a separate project, but directly from my own bundle that has some extra stuff (e.g defining declarative components).
I'm not sure how to go at this without resorting to heavy artillery (maven-dependency-plugin & playing with execution phases ...). Is there any straightforward way and how would you guys advise going at it?
Any pointers appreciated!
Thanks,
Simon