Hello,

I would like to build a special kind of OSGi project(s) with maven and
just discovered pax-construct.

This are my requirements:
- some "runtime-bundles" together are providing a "runtime-system"
- some lose "common-bundles" providing additional functions
- some "items" formed of a item-specific combination of "runtime-
  bundles" plus some item-specific "item-bundles"
- some "deployments" as the final systems to run, depending on target
  platform and other parameters are combining the bundles from a
  deployment-
  specific combination of "items" plus a deployment-specific combination
  of "common-bundles" plus some deployment-specific "deployment-bundles"
  (- multiple arrangements of some "application-bundles" have to be
  installed into every running "deployment")

My first plan for the project structure looks like this:

root
  * runtime
      - runtime.bundle1
      - runtime.bundle2
      - runtime.bundle3
      - ...
      - runtime.bundle9

  * common
      - common.bundle1
      - common.bundle2
      - ...
      - common.bundle6

  * items
      - itemA
          + definition of the combination of item-specific
          runtime-bundles (e.g. runtime.bundle1 and runtime.bundle3)

          - runtime.bundle1.itemAFragment (e.g. spring-dm configuration)
          - runtime.bundle3.itemAFragment (e.g. spring-dm configuration)

      - itemB
      - ...
      - itemE

  * deployments
      * deploymentU
          + definition of the combination of deployment-specific items
          (e.g. itemA and itemB)
          + definition of the combination of deployment-specific
          common-bundles (e.g. common.bundle1, common.bundle2 and
          common.bundle3)
          + definition of the combination of external bundles (wrapped
          external jars)

          - deploymentU.bundle1
          - deploymentU.bundle2
          - ...
          - deploymentU.bundle5

      * deploymentV
      * ...
      * deploymentZ

  * applications
      * applicationAplha
          - applicationAplha.bundle1
          - applicationAplha.bundle2
          - ...
          - applicationAplha.bundle6

      * applicationBeta
      * ...
      * applicationDelta



I played with maven, OSGi and pax-construct and recognised, that pax-
construct defines a structure how the projects are arranged. Pax-
construct generates "poms", "provision" and "runner" configurations
under the root-level. I think I need something like them under each
"item" and each "deployment" for the definition of the combinations.

Could someone please tell me, if I'am on the right way and if pax-
construct could give me some benefit in implementing this structure?

I hope I could clarify my problem. If it would be helpful, I can send
 more details.

regards,
Lars

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general
  • [no subject] Lars Fischer
    • Re: Niclas Hedhman
      • Re: Lars Fischer
        • Re: Peter Neubauer
          • Re: Lars Fischer
    • Re: Peter Neubauer

Reply via email to