Solved
How to rebuild same package programmatically ?
How we can rebuild same package using java any example ?
How we can rebuild same package using java any example ?
Rebuild an existing package in CQ
curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/name_of_package.zip?cmd=build
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.