If you need to mock an OSGi framework in your tests, Pax Sham is your buddy.
Sham definition: an imitation or counterfeit purporting to be genuine
As we are mocking, we are shaming.
You'll need a machine with Java 6+ and Apache Maven 3 installed.
Checkout:
git clone [email protected]:adreghiciu/org.ops4j.pax.sham.git
Run Build:
mvn clean install
Releases go to Maven Central.
No version of Pax Sham was released.
We have a continuus integration build set up here:
Artifacts are being published to:
The OPS4J Team.