Hi,

I've just added support to create an archive (jar file) with a
provisioning model and all the contained artifacts. Initially I thought
that we don't need this..but...

I used the slingshot sample project as a driver for this as that project
consists of a bundle and a provisioning model for the repoinit part. And
we need this Sling specific support for repoinit.

If you're configuring the slingstart maven plugin with the additional
attach-modelarchive goal, it creates such an archive as an additional
artifact of the project.

I've also added a new module to the installer family which can pick up
such an archive and install the contained features, including repoinit,
configurations and all artifacts. This module installer is simply
forwarding the configurations and artifacts to the OSGi installer which
then takes care of the installation logic.

This is a first approach which works, but I'm pretty sure it can be
improved here and there.

With this we have everything in place (except for releasing the relevant
modules) to include slingshot in Sling 9.

Regards
Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
[email protected]

Reply via email to