I am currently trying to provide bundle creation for some libraries and found a major obstacle.
Some projects use the maven-shade-plugin to embed some dependencies while moving them to a different package. See https://github.com/awaitility/awaitility/blob/master/awaitility/pom.xml#L49-L80 The problem is that the maven-bundle-plugin or bnd-maven-plugin are executed before the shade. So they analyse the state without the embeded dependencies. I was able to work around this by just manually switching off the imports for the embedded packages but this does not seem to be a clean way. Is there a good way to integrate shade and bundle creation so I do not have to do workarounds? I have tried to change the phase of the plugins but was not able to get it work that way. Christian -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de> Open Source Architect http://www.talend.com <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev