Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7482

Fix missing artifact and overlapping classes warnings in Drill build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16.0
    • 1.17.0
    • None

    Description

      Fix the following warnings during Drill build:

      Could not find artifact org.glassfish:javax.el:pom:3.0.1-b07-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
      
      Failure to find org.glassfish:javax.el:pom:3.0.1-b08-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced
      
      The POM for org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT is missing, no dependency information available
      
      jdbc-all
      annotations-2.0.1.jar, jsr305-1.3.9.jar define 34 overlapping classes: 
        - javax.annotation.RegEx
        - javax.annotation.concurrent.Immutable
        - javax.annotation.meta.TypeQualifierDefault
        - javax.annotation.meta.TypeQualifier
        - javax.annotation.Syntax
        - javax.annotation.Nonnull
        - javax.annotation.CheckReturnValue
        - javax.annotation.CheckForNull
        - javax.annotation.meta.TypeQualifierNickname
        - javax.annotation.MatchesPattern
        - 24 more...
      slf4j-api-1.7.26.jar, avatica-1.15.0.jar define 34 overlapping classes: 
        - org.slf4j.helpers.SubstituteLogger
        - org.slf4j.helpers.NamedLoggerBase
        - org.slf4j.helpers.NOPMDCAdapter
        - org.slf4j.MarkerFactory
        - org.slf4j.helpers.BasicMarker
        - org.slf4j.spi.LoggerFactoryBinder
        - org.slf4j.MDC$MDCCloseable
        - org.slf4j.spi.LocationAwareLogger
        - org.slf4j.helpers.MessageFormatter
        - org.slf4j.helpers.Util$ClassContextSecurityManager
        - 24 more...
      maven-shade-plugin has detected that some class files are
      present in two or more JARs. When this happens, only one
      single version of the class is copied to the uber jar.
      Usually this is not harmful and you can skip these warnings,
      otherwise try to manually exclude artifacts based on
      mvn dependency:tree -Ddetail=true and the above output.
      See http://maven.apache.org/plugins/maven-shade-plugin/
      
      [WARNING] parquet-hadoop-bundle-1.8.3.jar, hive-exec-2.3.2.jar define 1704 overlapping classes: 
      parquet-hadoop-bundle-1.8.3.jar, hive-exec-2.3.2.jar define 1704 overlapping classes: 
        - org.apache.parquet.hadoop.mapred.DeprecatedParquetOutputFormat
        - org.apache.parquet.it.unimi.dsi.fastutil.longs.LongComparator
        - shaded.parquet.org.codehaus.jackson.map.introspect.POJOPropertyBuilder$Node
        - org.apache.parquet.column.values.dictionary.DictionaryValuesWriter$PlainIntegerDictionaryValuesWriter
        - org.apache.parquet.io.api.Binary$ByteBufferBackedBinary
        - org.apache.parquet.column.values.boundedint.BoundedIntValuesReader
        - org.apache.parquet.it.unimi.dsi.fastutil.doubles.DoubleSortedSet
        - shaded.parquet.org.codehaus.jackson.map.deser.std.StdKeyDeserializer$EnumKD
        - shaded.parquet.org.codehaus.jackson.map.deser.StdDeserializerProvider
        - shaded.parquet.org.codehaus.jackson.JsonLocation
        - 1694 more...
      maven-shade-plugin has detected that some class files are
      present in two or more JARs. When this happens, only one
      single version of the class is copied to the uber jar.
      Usually this is not harmful and you can skip these warnings,
      otherwise try to manually exclude artifacts based on
      mvn dependency:tree -Ddetail=true and the above output.
      See http://maven.apache.org/plugins/maven-shade-plugin/
      

      Attachments

        Issue Links

          Activity

            People

              volodymyr Vova Vysotskyi
              arina Arina Ielchiieva
              Arina Ielchiieva Arina Ielchiieva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: