Expand my Community achievements bar.

Maven install on Publish Instance - AEM 6.1


Level 2

when I try installing a package or a bundle from maven to publish instance, I am seeing a below error


[ERROR] Failed to execute goal org.apache.sling:maven-sling-plugin:2.1.0:install (install-bundle-author) on project xyz.core: Installation on http://localhost:4502/crx/repository/crx.default/apps/install/ failed, cause: Installation failed, cause: Unauthorized -> [Help 1]

1 Reply



Looking at the error, it seems like a permission issue or wrong username/pwd. Also I see port 4502, are you sure you are deploying on publish?