We have seen newer JDBC drivers requiring other dependedencies.
We should update our docs to list these as the suggested dependencies for JDBC drivers deployed in a module. A custom module in a module.xml only sees the classes in its resource-root jars and dependencies, this means classes normally visible in the JDK are not visible by default. Using dependencies as shown below will make the JDK classes visible as well as the javaee apis provided by EAP and would avoid users having issues when configuring their JDBC driver in a module.xml
Any examples such as the mysql and the other JDBC drivers:
Similar for the CLI commands for the example JDBC drivers:
Also if we have examples showing adding custom modules (other than JDBC), these dependencies are a good default recommendation.