Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7182 Make it possible to update Guava
  3. OAK-10307

oak-shaded-guava leaks original guava as transitive dependency

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.54.0
    • shaded-guava
    • None

    Description

      oak-shaded-guava currently declares a compile dependency on original guava. This means modules using oak-shaded-guava will transitively get original guava and mistakingly use classes from there.

      $ mvn dependency:tree -pl :oak-shaded-guava
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ---------------< org.apache.jackrabbit:oak-shaded-guava >---------------
      [INFO] Building Jackrabbit Guava Wrapper 1.53-SNAPSHOT
      [INFO]   from pom.xml
      [INFO] -------------------------------[ bundle ]-------------------------------
      [INFO]
      [INFO] --- dependency:3.4.0:tree (default-cli) @ oak-shaded-guava ---
      [INFO] org.apache.jackrabbit:oak-shaded-guava:bundle:1.53-SNAPSHOT
      [INFO] +- com.google.guava:guava:jar:32.0.1-jre:compile
      [INFO] |  +- com.google.guava:failureaccess:jar:1.0.1:compile
      [INFO] |  +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
      [INFO] |  +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
      [INFO] |  +- org.checkerframework:checker-qual:jar:3.33.0:compile
      [INFO] |  +- com.google.errorprone:error_prone_annotations:jar:2.18.0:compile
      [INFO] |  \- com.google.j2objc:j2objc-annotations:jar:2.8:compile
      [INFO] +- org.osgi:org.osgi.annotation:jar:6.0.0:provided
      [INFO] \- org.jetbrains:annotations:jar:18.0.0:provided
      

      Attachments

        Issue Links

          Activity

            People

              reschke Julian Reschke
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: