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

Beeline module misses transitive dependencies due to shading

    XMLWordPrintableJSON

Details

    Description

      Due to shading, the dependecy-reduced-pom.xml file is installed in the local maven repository (~/.m2/repository/org/apache/hive/hive-beeline/4.0.0-SNAPSHOT/) for beeline.

      The latter indicates that the module doesn't have any transitive dependencies. If we were publishing the shaded jar that would be true but we publish the regular jar.

      At this point, modules which include hive-beeline as a maven dependency are broken and problems such as HIVE-26812 may occur.

      I was under the impression that these also affects 4.0.0-alpha-2 release (since it includes ) HIVE-25750) but strangely the published pom has all the dependencies:
      https://repo1.maven.org/maven2/org/apache/hive/hive-beeline/4.0.0-alpha-2/hive-beeline-4.0.0-alpha-2.pom

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: