Details
-
Technical task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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