include 3rd party dependencies within OSGI bundle
What is the best approach to deploy 3rd party dependencies to AEM OSGI / Felix via Maven build of OSGI bundle?
My team has a requirement to build an OSGI Servlet. It will use dependency org.apache.oltu.oauth2.client that does not exist in CQ.
I have a pom to build the servlet now and it references the 3rd party dependency. But when I deploy to AEM OSGI, I see this:
Imported Packages.......
org.apache.oltu.oauth2.client,version=[1.0,2) -- Cannot be resolved
What is the best way / recommend approach to resolve this issue ? I think we need to package 3rd party dependencies within the OSGI bundle for our servlet? If yes, how do we specify this in maven POM ?
Thanks in advance for helpful replies.


