Auto-Provisioning OSGi Features: Deployment and Installation
This is part 2/3 describing how to set up a pom to provision a features.xml for a ServiceMix Deployment, deploy and release the file to Nexus, and automate the handling of version numbers.
The post begins with the simple setup for localized installation. It then moves on to how to get Maven to deploy the artifact to a Nexus repository properly, before explaining the tweaks needed to release to a different repository.
For the XML-phobic, this post is fairly XML-heavy as most of the concepts are self-explanatory.
(Follow the link for the full blog post)