This is not currently possible. Feel free to file a JIRA issue with the Sling project.
The content-package-maven-plugin does support encrypted passwords, so that may be an option if you can change your build to deploy a content package (which embeds your bundle) rather than just a bundle. Content Packages are the recommended deployment unit for CQ, so this may be a good idea in any case.
Thanks for this info Justin. At this moment we are using two maven scripts - if we want only install bundle we are using maven-sling-plugin it is faster than install entire package in the repo, but of course we have another script which install also entire package with embeded bundle using plugin mentioned by you. Do you have some links which can help me to understand how to use encrypted password in case of this plugin – maybe some example?
Thanks in advance,
I have already read about this encryption functionality in maven, but the problem is how to use encrypted password inside the configuration of content-package-maven-plugin.
This is a part of maven script:
It is possible to point to the settings.xml file and get encrypted password instead of using some already defined property with password?
If you follow the Maven guide, you will eventually create an entry in your settings.xml file like:
Specify the id of the server definition as the serverId configuration property, either in your pom.xml file or via the vault.serverId CLI option and this server definition will be used.
If you specify serverId, the username and password set for the plugin in the pom are ignored.
Thanks a lot for your help. Now after changing a maven script everything is working fine with additional configuration related to ecnrypted password for a repository user used to deploy a package in the repository.