On 13-12-2019 11:08, Jody Garnett wrote:
Following up on last meetings discussion on supporting oracle: Oracle JDBC drivers on Maven Central <https://medium.com/oracledevs/oracle-jdbc-drivers-on-maven-central-64fcf724d8b>

Based on the I would like to remove the manual process of installing ojdbc7 into your local repo, and replace with something like:

     <dependency>
      <groupId>com.oracle.ojdbc</groupId>
      <artifactId>ojdbc8</artifactId>
      <version>19.3.0.0</version>
     </dependency>

Can I ask if anyone is using odjbc8 already?

I don't think this happened yet has it?

Oracle's first try at using Maven central was nearly succesful; advancing insights made them decide to move the drivers to diffent groupId's as described in the post om medium [1]

the TLDR:
- all versions now available (19.3.0.0, 18.3.0.0, 12.2.0.1 and some 11.2.0.4)
- new groupId for production jar's at com.oracle.database.jdbc
- net groupId for debug jars (postfixed with _g) at com.oracle.database.jdbc.debug
- all have sources + javadoc jar's as required

so above snippet should be

    <dependency>
      <groupId>com.oracle.database.jdbc</groupId>
      <artifactId>ojdbc8</artifactId>
      <version>19.3.0.0</version>
    </dependency>

for production use, or

    <dependency>
      <groupId>com.oracle.database.jdbc.debug</groupId>
      <artifactId>ojdbc8_g</artifactId>
      <version>19.3.0.0</version>
    </dependency>

for debugging.

I can prepare a PR if you like.

Not sure where to a a note about the license "Oracle Free Use Terms and Conditions (FUTC)" (I think that would only concern geoserver as that would/could distribute the driver jar with the extension. Some lawyer should decide on that I guess.)

[1] https://medium.com/@kuassimensah/all-in-and-new-groupids-oracle-jdbc-drivers-on-maven-central-a76d545954c6




_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to