Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-3060

Dependency inconsistency between modules.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • build-release
    • 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.
       
       
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            chaicho Wei Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified