Wei Zhao created TINKERPOP-3060:
-----------------------------------

             Summary: Inconsistent 
                 Key: TINKERPOP-3060
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3060
             Project: TinkerPop
          Issue Type: Improvement
            Reporter: Wei Zhao


# Problem Desciption

Currently some modules of Tinkerpop are using the same dependency. However, 
some of these dependencies' versions are not centrally managed and therefore 
cause discrepancy. 

I found the following dependencies with different versions in different modules.

```
Dependency com.google.guava:guava:jar has inconsistent versions between modules.
    Dependency {groupId=com.google.guava, artifactId=guava, version=31.1-jre, 
type=jar}
        /gremlin-annotations
    Dependency {groupId=com.google.guava, artifactId=guava, version=27.0-jre, 
type=jar}
        /spark-gremlin
        /hadoop-gremlin
---------
Dependency org.xerial.snappy:snappy-java:jar has inconsistent versions between 
modules.
    Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, 
version=1.1.8.4, type=jar}
        /spark-gremlin
    Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, 
version=1.1.8.2, type=jar}
        /hadoop-gremlin
---------
Dependency com.fasterxml.jackson.core:jackson-databind:jar has inconsistent 
versions between modules.
    Dependency {groupId=com.fasterxml.jackson.core, 
artifactId=jackson-databind, version=2.15.2, type=jar}
        /gremlin-shaded
    Dependency {groupId=com.fasterxml.jackson.core, 
artifactId=jackson-databind, version=2.13.5, type=jar}
        /spark-gremlin
        /hadoop-gremlin
---------
```
# Possible Outcome:

This increases the maintenance workload and  may lead to dependency conflict 
for downstream projects. So it's better to align the versions of the 
dependencies if the discrepancy is not intentional.

# Possible Solution

Align the versions of the dependencies to ensure consistency and avoid possible 
conflicts. And if it's possible, manage the versions of the dependencies 
centrally. 




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

Reply via email to