Ever wanted to try OSGi and found the setting up the build too much of a task? If your answer is yes, then Stuart McCulloch has just the solution for you. McCulloch has released a set of Maven archetypes and plug-in to automate much of the manual work required in creating an OSGi project. Christened Pax Construct, the tools and processes aim to make constructing and managing OSGi projects much easier.
All you need is Maven2 and a Java5 runtime, and the OSGi manifest attributes are automatically calculated by Peter Krien's bnd tool, connected to Maven by the maven-bundle-plugin from the Apache Felix project. Release 0.1.4 provides a set of Windows batch files and Unix/Linux/Cygwin shell scripts to make things even easier for OSGi developers. 0.1.5 promises many more examples, use cases and detailed documentation.
On a related note, a "merge" between the maven local repository and the OSGi bundle repository (OBR) is being worked upon, and is expected to be soon avilable.