How about OSGi support? Something like following in pom.xml: org.apache.felix maven-bundle-plugin true