Improved developer productivity thanks to Maven and OSGi
summary
Shows how to build OSGi with Maven (no Tycho) by using BND-based plugins and Maven dependencyManagement imports, producing Karaf features automatically from the Maven dependency tree and using wrap:rap and mvn: URLs to pull and retrofit non-OSGi jars at runtime. Demonstrates a reproducible Karaf assembly, runs integration tests launched from Maven with Pax Exam and Felix Connect, supports debugger attach, pushes code to GitHub, and the demo tests mostly pass.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:06Maven and OSGi trends
- 6:46Maven fundamentals
- 15:02Project modularity
- 20:29OSGi with Karaf
- 25:34OSGi testing strategies
- 31:05Unit testing with Felix
- 32:09Q&A
related talks
43mMaven demo dump - just the useful bits
42mGetting more out of Maven
16mMaven - Taming the Beast
40mMaven Marvels: Project Generation at Warp Speed
46mPainless Organisation and Maintenance of Maven Builds
56mModern Enterprise Java from the Ground Up
09mLightning Talk – Building Eclipse Plug-Ins (and OSGi Bundles) with Bazel
39mMaking Maven Marvellous
