All in and New GroupIds — Oracle JDBC drivers on Maven Central

Kuassi Mensah
Oracle Developers
Published in
2 min readFeb 27, 2020

Updated to add the newly released 19.6.0.0.

All In

Not just the latest release, all supported releases of the Oracle JDBC drivers including 19.6.0.0, 19.3.0.0, 18.3.0.0, 12.2.0.1 and 11.2.0.4 are now available on Maven Central. From now on, Maven Central becomes indeed a distribution center for the Oracle JDBC drivers and companion jars.

New Group Ids

Beyond the JDBC drivers, we want to consolidate all Oracle database artifacts on Maven Central under the same umbrella com.oracle.database. The artifacts have been dispatched under their specific focus i.e., JDBC, XML, security, high-availability (ha), NLS, observability, SODA (coming soon), AQJMS (coming soon) and so on.

Clearly stated, here is a description of the new group ids of the JDBC drivers and companion jars:

  • com.oracle.database.jdbc for the jdbc jars (all versions combined): ojdbc8.jar, ojdbc10.jar, ojdbc6.jar, ojdbc5,jar, ucp.jar, ojdbc10dms.jar, ojdbc8dms.jar, ojdbc6dms.jar, ojdbcd5dms.jar
    Note: ojdbc8dms.jar and ojdbc10dms.jar contain the instrumentation to support the Dynamic Monitoring System (DMS) and limited support for java.util.logging.
  • com.oracle.database.jdbc.debug for the debug jars (all versions combined): ojdbc10_g.jar, ojdbc8_g.jar, ojdbc5_g.jar, ojdbc6_g.jar, ojdbc10dms_g.jar, ojdbc8dms_g.jar, ojdbc6dms_g.jar, ojdbc5dms_g.jar
  • com.oracle.database.security for the security jars: osdt_core.jar, osdt_cert.jar, oraclepki.jar
  • com.oracle.database.ha for ons.jar and simplefan.jar
  • com.oracle.database.nls for orai18n.jar
  • com.oracle.database.xml for xdb.jar, xdb6.jar, and xmlparserv2.jar
    Note: xdb6.jar is a legacy name, xdb.jar is the new name.
  • com.oracle.database.observability for the dms.jar.

We’ve kept in place the 19.3.0.0 artifacts published under the com.oracle.ojdbc groupid; so not breaking existing scripts.

Dependencies and GAVs

In spite of the re-dispatching, the default dependencies between the artifacts as indicated in the previous blog remain the same. Iow, the following GAV will pull ojdbc10.jar, ucp.jar, oraclepki.jar, osdt_core.jar, osdt_cert.jar, ons.jar, and simplefan.jar from the 19.3.0.0 release

The following GAV will pull orai18n.jar from the 19.3.0.0 release

The following GAV will pull ojdbc8_g.jar, ojdbc8dms.jar, ojdbc8dms_g.jar, and dms.jar from the 18.3.0.0 release

Example

Pulling ojdbc8.jar, its dependencies and companion jars from the 18.3.0.0 release.

Watch this space

As we introduce new capabilities into the drivers and companion jars, we will be announcing these through @kmensah

--

--

Kuassi Mensah
Oracle Developers

Director of Product Management for Java access to Oracle DB: Microservices, Serverless Functions, Reactive, Hadoop, Spark, Java EE, JVM-based languages.