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

slingstart-maven-plugin: Allow to start a quickstart JAR based on a provisioning model even for non "slingstart" packagings

    XMLWordPrintableJSON

Details

    Description

      Currently the slingstart-maven-plugin can only start a server based on textual model definitions in case the maven module is of packaging "slingstart" (https://sling.apache.org/documentation/development/slingstart.html#starting-a-server).
      For ITs it is often beneficial to have them in the same module as the tested classes itself (which in most cases have packaging bundle). Therefore it would be nice, if even for other packaging values all model definitions below src/main/provisioning would be considered during the goal start (which must first build the quickstart.jar out of the models and then start it).
      Compare also with the readme in https://github.com/apache/sling/blob/trunk/testing/samples/bundle-with-it/pom.xml#L196. This would be especially helpful for ITs leveraging the TeleporterRule

      Attachments

        1. SLING-6068-v02.patch
          3 kB
          Konrad Windszus
        2. SLING-6068-v01.patch
          0.9 kB
          Konrad Windszus

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: