# OSGi Test in Flowable 6.2.1

**URL:** https://forum.flowable.org/t/osgi-test-in-flowable-6-2-1/1400
**Category:** Flowable Engine
**Created:** [January 7, 2018, 10:50am UTC](https://forum.flowable.org/t/osgi-test-in-flowable-6-2-1/1400 "2018-01-07T10:50:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mperestrelo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/mperestrelo/32/451_2.png) [@mperestrelo](https://forum.flowable.org/u/mperestrelo)
#### Post date: [January 7, 2018, 10:50am UTC](https://forum.flowable.org/t/osgi-test-in-flowable-6-2-1/1400/1 "2018-01-07T10:50:01Z")

</div>

After some time spent trying to get the BlueprintBasicTest to work in flowable-osgi in 6.2.1 release. I found that there is a dependency missing on the test case in the create configuration method.

It is necessary to import joda-time:

mavenBundle().groupId(“joda-time”).artifactId(“joda-time”).version(“2.9”)

Steps to reproduce:

- setup: java 8 (jdk 1.8.0\_151)
- ide: intellji
- os: macos
- flowable version: 6.2.1
- maven profiles active: check and checkosgi

Steps:

- in project flowable-osgi
- in test resources
- remove SNAPSHOT from the static FLOWABLE\_VERSION variable and replace it with 6.2.1
- run the OSGI test with maven package
- the following error will be shown:

ERROR: Bundle org.flowable.engine.common [15] Error starting mvn:org.flowable/flowable-engine-common/6.2.1 (org.osgi.framework.BundleException: Unable to resolve org.flowable.engine.common [15](R 15.0): missing requirement [org.flowable.engine.common [15](R 15.0)] osgi.wiring.package; (&(osgi.wiring.package=org.joda.time)(version\>=2.9.0)(!(version\>=3.0.0))) Unresolved requirements: [[org.flowable.engine.common [15](R 15.0)] osgi.wiring.package; (&(osgi.wiring.package=org.joda.time)(version\>=2.9.0)(!(version\>=3.0.0)))])  
org.osgi.framework.BundleException: Unable to resolve org.flowable.engine.common [15](R 15.0): missing requirement [org.flowable.engine.common [15](R 15.0)] osgi.wiring.package; (&(osgi.wiring.package=org.joda.time)(version\>=2.9.0)(!(version\>=3.0.0))) Unresolved requirements: [[org.flowable.engine.common [15](R 15.0)] osgi.wiring.package; (&(osgi.wiring.package=org.joda.time)(version\>=2.9.0)(!(version\>=3.0.0)))]  
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111)  
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)  
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)  
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)  
at java.lang.Thread.run(Thread.java:748)

- add the line:

mavenBundle().groupId(“joda-time”).artifactId(“joda-time”).version(“2.9”),

at the end of the maven bundle lines for class BlueprintBasicTest

- run again and it works (no errors shown)

---

<div class="post-metadata">

### Author: ![PascalSchumacher](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/pascalschumacher/32/336_2.png) [@PascalSchumacher](https://forum.flowable.org/u/PascalSchumacher)
#### Post date: [January 8, 2018, 4:05pm UTC](https://forum.flowable.org/t/osgi-test-in-flowable-6-2-1/1400/2 "2018-01-08T16:05:57Z")

</div>

Thanks for the information!

This was fixed in current master a few days ago: [https://github.com/flowable/flowable-engine/commit/16d8647ce1f214b81a30272a6499eb732d3100d1](https://github.com/flowable/flowable-engine/commit/16d8647ce1f214b81a30272a6499eb732d3100d1)
