Maven global archetype: Differentiate between the user to deploy packages and the user to deploy bundles


Since the bundle deployment is done through the OSGi console, our "deployer" user is unable to send an OSGi bundle to be deployed to /system/console. However, we do need to use this user to deploy content packages, since we do not want to use the admin user.

We're not using the admin-user, since we're also not using the admin user on higher environments to do the deployment, in order to keep our development process as close as possible to the production way of deploying, to be able to spot errors/issues earlier.

It would be nice to be able to make the user configuration two-fold:

  • User and password to use when deploying a bundle (in case it is done through the OSGi console);

  • User and password to use when deploying a content package (or bundle through Sling).

Or maybe it's possible to be able to use Sling for uploading the bundle, instead of doing it through the OSGi console? Though this bug/feature: will need to be fixed then.


Stefan Seifert


Henry Kuijpers



Fix versions