Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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 org.xerial.snappy:snappy-java:jar has inconsistent versions. Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, version=1.1.8.4} /spark-gremlin Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, version=1.1.8.2} /hadoop-gremlin --------- Dependency com.fasterxml.jackson.core:jackson-databind:jar has inconsistent versions. Dependency {groupId=com.fasterxml.jackson.core, artifactId=jackson-databind, version=2.15.2} /gremlin-shaded Dependency {groupId=com.fasterxml.jackson.core, artifactId=jackson-databind, version=2.13.5} /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.