Is it sensible if we provide an additional property "dependencies.osgi" that provides a String for the dependencies in the OSGi manifest? This dependencies STring would be calculated from the Maven dependencies (if any). If there are no dependencies, then it would be an empty String that is not taken into consideration by the bnd-maven-plugin.
Otherwise the dependencies would have to be manually typed by the developer for each POM.
The plugin configuration would then look like this:
It actually seems like there should be a plugin that auto-generates the whole osgi config. And config params could bind to pom variables. I'm surprised that doesn't exist.
Is it sensible if we provide an additional property "dependencies.osgi" that provides a String for the dependencies in the OSGi manifest? This dependencies STring would be calculated from the Maven dependencies (if any). If there are no dependencies, then it would be an empty String that is not taken into consideration by the bnd-maven-plugin.
Otherwise the dependencies would have to be manually typed by the developer for each POM.
The plugin configuration would then look like this: