Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27338

JDBC drivers are transitively inherited although declared optional

    XMLWordPrintableJSON

Details

    Description

      The JDBC driver dependencies are declared optional (HIVE-25701) because we don't really need them and it is up to the end-user to decide which DBMS they will use and pick the appropriate driver for their use case.

      Also declaring them as optional should stop their transitive propagation to 3rd-party projects that depend on Hive modules.

      Currently the optional declaration is in the respective dependencyManagement sections of the project:

      However due to MNG-5227, the optional declaration in the dependencyManagement has no effect so JDBC dependencies are transitively propagated to every module that depends on some Hive module with a JDBC driver dependency.

      Till MNG-5227 is fixed we will need to include optional in every explicit declaration of the dependency.

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m