-
Task
-
Resolution: Fixed
-
L3 - Default
-
7.14.0
-
None
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>