Add OSGI metadata when publishing.