The karaf2p2-maven-plugin is designed to auto generate p2 repositories from Karaf features.