you can try updating your settings.xml in .m2 folder. Refer settings.xmlIt already has Adobe Public.
OR try this command
mvn clean install -P autoInstallPackage -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
You can directly upload the asset in AEM DAM. Go to assets http://localhost:4502/assets.html/content/dam
create folder (if you want to create) and click Create button and uplaod your file, name it addcolor.png and click done.
This will upload your file in AEM DAM.
Or you can add this file in your ...
You can create group for "replication" and provide permission to replicate content fragment under specific path of cf models.
Create groups here- http://localhost:4502/security/groups.html
and go to permissions under security of tools http://localhost:4502/security/permissions.html/principal/everyon...
As soon as we upload the asset(image, doc etc) in aem dam we observed that asset uploaded in /content/dam folder gets published.
INFO - Successfully applied package with id xxxxx. , type ADD, paths[" /content/dam/<path>"]
This is AEMAACS 2022.9.8722.20220912T101352Z
Does anyone encounter this issue?...
To check user is admin
UserManager userManager = resourceResolver.adaptTo(UserManager.class);
User user = (User) userManager.getAuthorizable("myuser");
user.isAdmin(); // returns true if myuser is admin
To check user is part of administrative group
Group group = (Group) userManager.getAuthorizable("...