Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5379

Support renaming of bundles via Sling Provisioning Model

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      Because the Sling OSGi Installer only allows a single OSGi bundle with a given BSN, it is sometimes necessary to rename a bundle's BSN to enable it to be installed more than once.

      To make this renaming simple and do it on the fly, we can extend the slingstart-maven-plugin to do this renaming automatically, with a configuration like this:

      org.foo.bar/blah/1.2.3 [rename-bsn=com.adobe.foo.bar.blah]

      One note, in case there are multiple model files that all reference the same artifact. For example, with a base model as above.

      Model A inherits from Base model and has:

      org.foo.bar/blah/1.2.3

      without the rename.

      In this case the rename still happens as the attributes are inherited.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              bdelacretaz Bertrand Delacretaz
              Reporter:
              bosschaert David Bosschaert

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment