Filipe Roque created CURATOR-721:
------------------------------------

             Summary: Duplicate class ListenableFuture in classpath
                 Key: CURATOR-721
                 URL: https://issues.apache.org/jira/browse/CURATOR-721
             Project: Apache Curator
          Issue Type: Improvement
    Affects Versions: 5.7.1
            Reporter: Filipe Roque
            Assignee: Enrico Olivelli


Apache Curator is using com.google.guava:guava:32.0.0-jre and 
com.google.guava:listenablefuture:1.0.

Both have the same class com.google.common.util.concurrent.ListenableFuture.

Plugins like org.basepom.maven:duplicate-finder-maven-plugin:2.0.1:check detect 
this:
{code:java}
[INFO] --- duplicate-finder:2.0.1:check (default-cli) @ curator-test ---
[INFO] Checking compile classpath
[INFO] Checking runtime classpath
[INFO] Checking test classpath
[WARNING] Found duplicate and different classes in 
[com.google.guava:guava:32.0.0-jre, com.google.guava:listenablefuture:1.0]:
[WARNING]   com.google.common.util.concurrent.ListenableFuture
[WARNING] Found duplicate and different classes in 
[com.google.guava:guava:32.0.0-jre, com.google.guava:listenablefuture:1.0]:
[WARNING]   com.google.common.util.concurrent.ListenableFuture
[WARNING] Found duplicate and different classes in 
[com.google.guava:guava:32.0.0-jre, com.google.guava:listenablefuture:1.0]:
[WARNING]   com.google.common.util.concurrent.ListenableFuture
{code}
This is a know issue in Guava [https://github.com/google/guava/issues/7385]

Detected in MNG-8333.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to