Add explicit automatic module name to Jaybird [JDBC511] #547
Submitted by: @mrotteveel
Jaybird is currently not modularized, but it would be a good idea to add an explicit automatic module name so applications using Jaybird do not need to rely on the automatic module name that is inferred from the jar filename, which is not stable depending on where you sourced Jaybird (eg jaybird or jaybird-full when download from GitHub or http://firebirdsql.org, and jaybird-jdkXX when from maven).
To set the name, add an entry Automatic-Module-Name to the manifest.
I have posted a question to the Firebird-Java mailinglist to get some input, see https://groups.yahoo.com/neo/groups/Firebird-Java/conversations/messages/11377
For this automatic module name, I see two candidates:
The first is short and to the point and includes the current 'name', and could allow for logical names when breaking up Jaybird into multiple modules (eg org.firebirdsql.jdbc for the JDBC driver part, org.firebirdsql.management for the management classes, etc), while still providing a single module that exports all.
The second aligns with the maven coordinates (dropping the -jdkXX suffix), but might be a bit awkward for naming modules in the future.
The text was updated successfully, but these errors were encountered: