Hi Diego,
Sorry, I could not test it earlier.
I just tried to use 3.0.4-SNAPSHOT but it is still not an OSGi bundle.
Here is the screenshot of MANIFEST.MF file from decompiled jar
Regarding using the bnd-maven-plugin, its just a maven build plugin and not needed at runtime so no extra baggage at runtime, its a special tool to generate OSGi metadata correctly and most accurately.
I think it is better to use the bnd-maven-plugin rather than writing the OSGi metadata by hand, rest is your decision.
Thanks,
Rakesh
provided a fix in this PR - https://github.com/mariadb-corporation/mariadb-connector-j/pull/177
Please review.