To make it work first you have to deploy all dependencies as bundle in OSGI and of course confirm that all these bundle should export the required packages that you need your bundle to work usine "export-package" property in .bnd or Meta-Inf file.
Now after deploying these dependent bundle, in your bundle file define the "import-package" to all the packages that you need this bundle to use.
I hope above helps you to resolve your issue. Let me know for more information.
Thanks for your answer.
But for export package, I need to change the Meta-Inf file (pom.xml) of the existing bundle which again comes to my previous question, whether it is right to do any change in the existing code.
Please provide your views over this.
If it is a bundle to integrate hybris in cq environment then i believe it will also have export package option defined by default (you can check) and if its not then i dont think its problem if you are modifying the import/export option in bundle which not the code (as you have valid license) change. I also suggest you to check if there is other version of bundle available from Hybris with export option.