Build/Deploy System User Package
Is there a way to embed SystemUser package while building the bundle in maven?
Currently, I have created below zip package for system user and it's permission via acs and deploying this package (to other AEM instances) via Package Manager manually but I am looking for a way if we can make it automate via building/deploying the bundle or if there is any other way to make this as part of the automate process instead of doing it manually via Package Manager Console.
This question is coming from the background that in the current scenario, when we build the Content Package using "content-package-maven-plugin", first it builds the project (zip package) in target folder, then install from target folder to m2 repository and to AEM Package Manager. Logs are below -
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ key61-content ---
[INFO] Installing D:\Learning\Projects\key61\content\target\key61-content-1.0.0-SNAPSHOT.zip to C:\Users\RADHAG\.m2\repository\com\adobe\cq\key61-content\1.0.0-SNAPSHOT\key61-content-1.0.0-SNAPSHOT.zip
[INFO] --- content-package-maven-plugin:0.0.20:install (install-content-package) @ key61-content ---
[INFO] Installing key61-content (D:\Learning\Projects\key61\content\target\key61-content-1.0.0-SNAPSHOT.zip) to http://localhost:4504/crx/packmgr/service.jsp
I am looking for the same kind of approach for System User Package build and deployment. Is it possible?
Any help would be grateful.
