I know that maven-build-plugin internally uses curl and hit a POST request to service.jsp page, like this call
curl -u <uid>:<pwd> -X POST
http://localhost:7402/crx/packmgr/service/.json/etc/packages/mycontent.zip?cmd=create
-d packageName=<name> -d groupName=<name>
to upload and install package in cq. I'm not able to find any way to install my package on Sling this way.
is there any way so i don't have to manually install package in Sling ?