A first step might be to provide the module meta-datas (OSGi headers, …). For OSGi, those meta-datas can be added to the jar Manifest within the maven build with the
maven-bundle-plugin. The advantage is that the api can be deployed in an OSGi container out of the box. For JBoss Modules the descriptor
reside alongside its content but we can provide it.