I followed the same .
https://sourcedcode.com/blog/aem/registering-slingservletpaths-component-property-type
Thanks for the help @milind_bachani i ll try that get thing which you asked .
this servlet is registered and enabled and active all good checked from below
http://localhost:4502/content/we-retail/AmitHomePage.amit.ttt
http://localhost:4502/content/we-retail/AmitHomePage/jcr:content.amit.ttt
http://localhost:4502/content/we-retail/AmitHomePage/_jcr_content.amit.ttt...
hi @arunpatidar , Thanks for your reply . Got your point .
But my problem is embedding one dependency which i needed introducing other dependencies which causes my bundle to be in installed state .
Suppose I want this dependency to be added so I embed this with maven-bundle-plugin with embed tag...
Hi Folk ,
adding thrid party jar into aem through embed dependency in maven bundle plugin.
The problem is suppose i need opencsv then i went and updated<embed-dependecny> openscv <embed dependency >> inside <maven-bundle-plugin> and build the bundle and uploaded the bundle in system/console
fi...
check the bundle error ..if it is not active then other dependent dependencies are not resolved . you have to add all those dependencis also in class path of osgi bundle . Not sure if this also a good approch as if so many dependencies of the same jar your embed list will be getting increasing and ...