I would like to distribute my maven plugin in Sonatype's Open Source Software Repository Hosting (OSSRH).
My problem is, that the plugin uses Oracle's ojdbc6.jar. I know, that it is not allowed to distribute the driver alone, everybody is needed to download and install the plugin for himself.
What is the best practice, the common approach to publish a maven plugin with ojdbc - or other proprietary - dependency?
Should I just provide the
mvn install:install-file -DgroupId=com.oracle -DartifactId=oracle-jdbc -Dversion=11.2.0.3.0 -Dpackaging=jar -Dfile=ojdbc6.jar -DgeneratePom=true
command in the documentation? (For example for that, see: https://github.com/jclagache/ojdbc-weave/blob/master/README.md#install-oracle-dependencies)
(Maybe I can use an open source jdbc driver for Oracle Database, if there is any, i'm just running selects [i did not find any])