oracle / ojdbc-extensions

The Oracle JDBC Driver Extensions include providers for centralized configuration or token providers for authentication with the DB.
Universal Permissive License v1.0
13 stars 5 forks source link

Maven Compiler Plugin 3.11 #48

Closed Michael-A-McMahon closed 11 months ago

Michael-A-McMahon commented 11 months ago

This branch sets the Maven Compiler Plugin to version 3.11.0.

This branch is a follow up to https://github.com/oracle-samples/ojdbc-extensions/pull/46, which configured Maven with a release option for javac. It seems that this configuration is not be supported with older versions of the compiler plugin, such as 3.6. The latest version is 3.11, so I've updated to that.

I also reverted changes to Maven's source and target properties, setting them as "1.8" rather than "8". All examples I see in Maven documentation use "1.8" for these properties. However, examples will also use "8" for the release property, so I think the same JDK version needs to expressed differently, depending on which property is being set.