Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12911

Incorrect OSGi metadata

XMLWordPrintable

      We encounter issue when deploy org.camunda.bpm.model in OSGi container. This bundle requires these packages as mandatory:

      org.junit.*
      org.assertj.core.api.*

      Bundle-Vendor: camunda services GmbH
      Import-Package: javax.xml.parsers,javax.xml.transform,javax.xml.transf
       orm.dom,javax.xml.transform.stream,javax.xml.validation,org.assertj.c
       ore.api,org.junit,org.junit.rules,org.w3c.dom,org.xml.sax
      Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
      Tool: Bnd-2.3.0.201405100607
      Implementation-Vendor: camunda services GmbH

      We should define these test packages as optional

      index b7b6d71e38..3f2bb4e117 100644
      --- a/model-api/bpmn-model/pom.xml
      +++ b/model-api/bpmn-model/pom.xml
      @@ -42,7 +42,12 @@
               <artifactId>maven-bundle-plugin</artifactId>
               <configuration>
                 <instructions>
      -            <Export-Package>org.camunda.bpm.model*</Export-Package>
      +            <Export-Package>org.camunda.bpm.model*;-noimport:=true</Export-Package>
      +            <Import-Package>
      +               org.assertj.*;resolution:=optional,
      +               org.junit.*;resolution:=optional,
      +               *
      +            </Import-Package>
                 </instructions>
               </configuration>
               <executions>
      

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              agustino Agustino Alim
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: